[Pythonmac-SIG] Re: Readline on the Mac
Rob Managan
managan@llnl.gov
Wed, 5 Mar 2003 09:33:04 -0800
I finally answered my own question!
I am able to use the framework version of readline with standard Unix
apps when I put these sym links in
ln -s /System/Library/PrivateFrameworks/readline.framework/Headers readline
ln -s /System/Library/PrivateFrameworks/readline.framework/readline
/usr/local/lib/libreadline.a
This gives the #include <readline/readline.h> syntax that is needed.
The second line lets my old makefile find the library.
>
>I know I tried this with one of my unix programs that uses readline
>and I could not straighten out how to point to the headers and stuff
>consistently. For Unix it wanted the headers in a readline directory
>and I could not figure out to coerce that from the framework setup
>which was different.
>
--
*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-
Rob Managan <mailto://managan@llnl.gov>
LLNL ph: 925-423-0903
P.O. Box 808, L-095 FAX: 925-422-3389
Livermore, CA 94551-0808