Opened 19 years ago

Closed 19 years ago

#3658 closed defect (fixed)

yafc does not find/install readline

Reported by: kyle-opendarwinbugzilla@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I tried installing yafc and discovered that it does not link to libreadline. Here is the output of otool -L:

/opt/local/bin/yafc:

/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version

5.0.0, current version 5.0.0)

/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)

Oddly enough, the yafc Portfile does contain:

depends_lib lib:libreadline:readline

But the readline package is not installed on my computer, and port did not think it necessary to install it. What gives?

Change History (4)

comment:1 Changed 19 years ago by mww@…

Resolution: worksforme
Status: newclosed

looks like a problem in the dependency engine; (and btw. a command line ftp-client w/o readline support sucks)

--- $ otool -L work/destroot/opt/local/bin/yafc work/destroot/opt/local/bin/yafc:

/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version

5.0.0, current version 5.0.0)

/opt/local/lib/libreadline.5.0.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)

comment:2 Changed 19 years ago by olegb@…

I think the problem is that tiger has a libreadline that satisfies the port's dependency, but somehow yafc doesn't link against the system readline... the port could be made to depend on dp readline, this would solve the problem.

comment:3 Changed 19 years ago by mww@…

Resolution: worksforme
Status: closedreopened

good idea - will enforce usage of dp's readline

comment:4 Changed 19 years ago by mww@…

Resolution: fixed
Status: reopenedclosed

done! :)

Note: See TracTickets for help on using tickets.