error during installation of macport

Ryan Schmidt ryandesign at macports.org
Wed Mar 12 14:07:17 PDT 2008


On Mar 11, 2008, at 22:14, Thomas De Contes wrote:

> Le 10 mars 08 à 01:17, Adam Mercer a écrit :
>
>> Looks like a readline issue, do you happen to have a local readline
>> installed in /usr/local or somewhere else?
>
> you're right :-)
>
> $ locate readline
> /usr/include/readline
> /usr/include/readline/history.h
> /usr/include/readline/readline.h
> /usr/lib/libreadline.dylib

Those are a normal part of the OS and should be fine. Adam was  
talking about different and possibly old or incompatible versions of  
readline that some people end up with in /usr/local.

>> Try adding
>> --enable-readline to the configure call.
>
> thank you, it works :-)

Strange.

> but, it's not noticed in http://www.macports.org/install.php#source

But it says: To customize your installation you should read the  
output of "./configure --help | more"

> what could install readline ? a mac os x update ?
>
>
> approximately 6 months ago, i installed macports on the same computer
> without problem
>
> will i need "--enable-readline" for any computer, or only for a few
> cases ?

6 months ago, there was no --enable-readline switch in MacPorts, and  
it always enabled readline. The default was changed to not enable  
readline support, and only do it at a user's request. See r31139,  
r31140, r31161. Ironically, this was supposed to *eliminate* readline- 
related problems, not cause them. So something must've gone wrong.  
Without --enable-readline, MacPorts should not be looking for any  
kind of readline files.




More information about the macports-users mailing list