Ticket #311 (closed defect: fixed)
Opened 5 years ago
Last modified 5 years ago
Optional package v2.6.5 lacks readline.so
| Reported by: | mmadia | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | Haiku R1 Alpha2 |
| Component: | dev-lang/python | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The optional package from Haiku r35928 lacks readline.
to test:
~/Desktop> python Python 2.6.5 (r265:79063, Mar 20 2010, 22:58:06) [GCC 2.95.3-haiku-090629] on haiku1 Type "help", "copyright", "credits" or "license" for more information. >>>import readline Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named readline >>>
copying v2.6.4's common/lib/python2.6/lib-dynload/readline.so into 2.6.5's directory seems to work -- at least no exceptions are raised upon importing readline.
Change History
comment:1 Changed 5 years ago by scottmc
- Status changed from new to assigned
comment:2 Changed 5 years ago by disreali
Scott, I think this is the old ticket regarding readline for which you were searching: http://dev.haiku-os.org/ticket/2514
comment:3 Changed 5 years ago by scottmc
- Milestone set to Haiku R1 Alpha2
comment:4 Changed 5 years ago by scottmc
- Resolution set to fixed
- Status changed from assigned to closed
Fixed with the Apr 25 build of python:
~> python Python 2.6.5 (r265:79063, Apr 25 2010, 07:32:48) [GCC 2.95.3-haiku-100420] on haiku1 Type "help", "copyright", "credits" or "license" for more information. >>> import readline >>>
Need to build readline prior to building python for it to pick it up.
Note: See
TracTickets for help on using
tickets.

I'll try rebuilding it with readline installed. This might then require creating a readline OptionalPackage? and making is a dependency for Python, but I don't think that's a problem.