I don't know if this is already known but for any Mac OS X 10.3 users, I
wanted to mention that Readline 5.0 now compiles out of the tarball,
using the normal "configure,make,make install" commands. I just verified
this for myself by building Readline 5.0 and SQLite 3.0.8 on my PowerMac
G4. I have also posted this on the Wiki.
So, Fink is no longer needed just for Readline if you have the Developer
Tools installed. :)
That has always been the case -- Fink has never been needed. I have always compiled readline from the master source at:
http://ftp.gnu.org/pub/gnu/readline/
Occasionally, I have had to use the 4.x version as opposed to the 5.x. Only rarely, though.
I would suggest configuring readline to produce a static library:
./configure --disable-shared --enable-static sudo make install
This will cause the SQLite (and anything else that links against readline) to statically embed the readline library, thus creating one less dependency when moving the binaries between machines. Since libreadline is relatively small and only things you compile will use it, the additional wasted space is minimal.
Unfortunately, readline is GPL and, thus, Apple cannot ship the library with the user system. This also means that Apple's Python does not include readline support. Since the lack of readline support in the python interpreter drives me batty, I have made a precompiled, statically linked, .so in my .mac account:
http://homepage.mac.com/bbum/BumFiles/FileSharing27.html
Just grab the .so files and shove 'em in /Library/Python/2.3/. (There is also a precompiled Python Berkeley DB module-- but it requires the BDB dylib to be installed).
b.bum