Re: Tiger and libreadline
Re: Tiger and libreadline
- Subject: Re: Tiger and libreadline
- From: Martin Costabel <email@hidden>
- Date: Sun, 01 May 2005 10:56:45 +0200
Bill Northcott wrote:
Many GNU packages rely on libreadline.
It seems that in Darwin there is a BSD libedit, which is symlinked as
libreadline and has a corresponding readline.h. This breaks Octave and
probably other builds.
Yes, this is annoying, but it fits into the pattern of Apple first
putting a broken version of a new open source package into OSX (there
are quite a few historical examples for this). A correct version can
probably be expected for the OSX release "Sabre-tooth cat" :-)
If the GNU readline is installed in /usr/local, is there a preferred
way to ensure that configure scripts pick it up?
Fink has a patch line
perl -pi -e 's|LIBREADLINE=\"-lreadline|LIBREADLINE=\"-L%p/lib
-lreadline|g' mkoctfile
in its octave package description for Tiger. Replace %p by /usr/local in
your case. Actually by default /usr/local/lib should be searched before
/usr/lib and /usr/local/include before /usr/include, so this shouldn't
even be necessary in your case.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden