Hi, I want to install the swi-prolog package, but I get the error below. I use OS X 10.4.8. My macports instakllation is up to date. Can someone please help me out? Thanks, Dimitri $ sudo port install swi-prolog Portfile changed since last build; discarding previous state. ---> Fetching swi-prolog ---> Attempting to fetch pl-5.6.27.tar.gz from http:// gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ ---> Verifying checksum(s) for swi-prolog ---> Extracting swi-prolog ---> Configuring swi-prolog ---> Building swi-prolog with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _Volumes_Users_opt_local_var_db_dports_sources_rsync.rsync.darwinports.o rg_dpupdate_dports_lang_swi-prolog/work/pl-5.6.27" && LIBRARY_PATH=/ opt/local/lib CPATH=/opt/local/include JUNIT=/opt/local/share/java/ junit.jar make all" returned error 2 Command output: **************** Making SWI-Prolog 5.6.27 for powerpc-darwin8.8.0 To be installed in /opt/local/bin/swipl Home (libraries) in /opt/local/lib/swipl-5.6.27 **************** dyld: Library not loaded: /opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found make[1]: *** [parms.h] Error 133 make: *** [lite] Error 2 Error: Status 1 encountered during processing. $
See http://svn.macosforge.org/projects/macports/wiki/ ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferringtol bintl.3.dylib (A port failed to build, upgrade, or run with a message referring to lbintl.3.dylib) On 7 Feb 2007, at 06:23, Dimitri Hendriks wrote:
Hi,
I want to install the swi-prolog package, but I get the error below. I use OS X 10.4.8. My macports instakllation is up to date.
Can someone please help me out?
Thanks, Dimitri
$ sudo port install swi-prolog
Portfile changed since last build; discarding previous state. ---> Fetching swi-prolog ---> Attempting to fetch pl-5.6.27.tar.gz from http:// gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ ---> Verifying checksum(s) for swi-prolog ---> Extracting swi-prolog ---> Configuring swi-prolog ---> Building swi-prolog with target all Error: Target com.apple.build returned: shell command "cd "/opt/ local/var/db/dports/build/ _Volumes_Users_opt_local_var_db_dports_sources_rsync.rsync.darwinports .org_dpupdate_dports_lang_swi-prolog/work/pl-5.6.27" && LIBRARY_PATH=/opt/local/lib CPATH=/opt/local/include JUNIT=/opt/ local/share/java/junit.jar make all" returned error 2 Command output: **************** Making SWI-Prolog 5.6.27 for powerpc-darwin8.8.0 To be installed in /opt/local/bin/swipl Home (libraries) in /opt/local/lib/swipl-5.6.27 **************** dyld: Library not loaded: /opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found make[1]: *** [parms.h] Error 133 make: *** [lite] Error 2
Error: Status 1 encountered during processing. $ _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
Thanks for the reference. Unfortunately it does not fix my problem. When I run: depsearch.sh libintl no ports are listed, from which, given the explanation, I infer that none of my ports depend on gettext, and so there are none to fix. Futher, I uninstalled all inactive ports with: sudo port -duf uninstall However, upon: sudo port install swi-prolog I get the same error message as before. Other suggestions? Dimitri On 7 Feb 2007, at 12:36, Randall Wood wrote:
See http://svn.macosforge.org/projects/macports/wiki/ ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferringt olbintl.3.dylib (A port failed to build, upgrade, or run with a message referring to lbintl.3.dylib)
On 7 Feb 2007, at 06:23, Dimitri Hendriks wrote:
Hi,
I want to install the swi-prolog package, but I get the error below. I use OS X 10.4.8. My macports instakllation is up to date.
Can someone please help me out?
Thanks, Dimitri
$ sudo port install swi-prolog
Portfile changed since last build; discarding previous state. ---> Fetching swi-prolog ---> Attempting to fetch pl-5.6.27.tar.gz from http:// gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ ---> Verifying checksum(s) for swi-prolog ---> Extracting swi-prolog ---> Configuring swi-prolog ---> Building swi-prolog with target all Error: Target com.apple.build returned: shell command "cd "/opt/ local/var/db/dports/build/ _Volumes_Users_opt_local_var_db_dports_sources_rsync.rsync.darwinport s.org_dpupdate_dports_lang_swi-prolog/work/pl-5.6.27" && LIBRARY_PATH=/opt/local/lib CPATH=/opt/local/include JUNIT=/opt/ local/share/java/junit.jar make all" returned error 2 Command output: **************** Making SWI-Prolog 5.6.27 for powerpc-darwin8.8.0 To be installed in /opt/local/bin/swipl Home (libraries) in /opt/local/lib/swipl-5.6.27 **************** dyld: Library not loaded: /opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found make[1]: *** [parms.h] Error 133 make: *** [lite] Error 2
Error: Status 1 encountered during processing. $ _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com
"The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
On Feb 7, 2007, at 6:23 AM, Dimitri Hendriks wrote:
dyld: Library not loaded: /opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk
sudo port -f uninstall gawk sudo port clean --all gawk sudo port install gawk and then try again. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Feb 7, 2007, at 06:32, Dimitri Hendriks wrote:
dyld: Library not loaded: /opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found
See http://svn.macosforge.org/projects/macports/wiki/ ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferring tolbintl.3.dylib (A port failed to build, upgrade, or run with a message referring to lbintl.3.dylib)
Thanks for the reference. Unfortunately it does not fix my problem. When I run:
depsearch.sh libintl
no ports are listed, from which, given the explanation, I infer that none of my ports depend on gettext, and so there are none to fix.
Futher, I uninstalled all inactive ports with:
sudo port -duf uninstall
However, upon:
sudo port install swi-prolog
I get the same error message as before.
gawk depends on gettext. That's clear from the error message: /opt/ local/bin/gawk is trying to load /opt/local/lib/libintl.3.dylib (the gettext 0.14.x library) and can't find it (because gettext 0.15 and 0.16.x install libintl.8.dylib, not libintl.3.dylib). Reinstall gawk, as Daniel said, so that it links against the new libintl.8.dylib library. A possible reason that depsearch.sh didn't show this to you is that between 2005-08-29 and 2006-05-30, gawk made use of gettext, but did not declare this dependency. If you installed gawk during that time, and haven't synced your port tree since then, your port tree doesn't know that gawk depends on gettext, although it does. I believe a "sudo port sync" should bring your tree up to date and fix that.
Thanks for your help and explanation. It works! One remark about the depsearch.sh: I had to enclose the find pattern between quotes in order to avoid expansion of * by my shell (zsh): find /opt/local/lib -name '*.dylib' However, depsearch.sh still didn't show me anything.
A possible reason that depsearch.sh didn't show this to you is that between 2005-08-29 and 2006-05-30, gawk made use of gettext, but did not declare this dependency. If you installed gawk during that time, and haven't synced your port tree since then, your port tree doesn't know that gawk depends on gettext, although it does. I believe a "sudo port sync" should bring your tree up to date and fix that.
My port tree was in sync ... Thanks again, Dimitri
On Feb 8, 2007, at 02:42, Dimitri Hendriks wrote:
Thanks for your help and explanation. It works!
One remark about the depsearch.sh: I had to enclose the find pattern between quotes in order to avoid expansion of * by my shell (zsh):
find /opt/local/lib -name '*.dylib'
However, depsearch.sh still didn't show me anything.
A possible reason that depsearch.sh didn't show this to you is that between 2005-08-29 and 2006-05-30, gawk made use of gettext, but did not declare this dependency. If you installed gawk during that time, and haven't synced your port tree since then, your port tree doesn't know that gawk depends on gettext, although it does. I believe a "sudo port sync" should bring your tree up to date and fix that.
My port tree was in sync ...
The script was designed to run with bash; I don't know if anyone tested it with zsh. Does running it with bash make it work properly?
The script was designed to run with bash; I don't know if anyone tested it with zsh. Does running it with bash make it work properly?
I'm not sure. No error messages. But it doesn't list any ports. But if I do grep libintl /opt/local/lib/*.dylib there are many matches.
participants (4)
-
Daniel J. Luke
-
Dimitri Hendriks
-
Randall Wood
-
Ryan Schmidt