Can someone confirm that the slang2 port works? I get this error upgrading slang2 from 2.0.4_0 to 2.1.0_0 on os x 10.4.10 and 10.4.9 ppc. ---> Building slang2 with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_slang2/work/slang-2.1.0" && make all " returned error 2 Command output: cd src; make static make[1]: Nothing to be done for `static'. cd slsh; make all gcc -O2 slsh.o readline.o -o slsh_exe -L/opt/local/lib -L/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_slang2/work/slang-2.1.0/src/objs -L/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_slang2/work/slang-2.1.0/src/elfobjs -lslang -ldl -lm /usr/bin/ld: warning -L: directory name (/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_slang2/work/slang-2.1.0/src/elfobjs) does not exist /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _SLrline_init _SLrline_open2 collect2: ld returned 1 exit status make[1]: *** [slsh_exe] Error 1 make: *** [static] Error 2 Thanks, Gufo
On Jun 21, 2007, at 12:45, Sbranzo wrote:
Can someone confirm that the slang2 port works? I get this error upgrading slang2 from 2.0.4_0 to 2.1.0_0 on os x 10.4.10 and 10.4.9 ppc.
---> Building slang2 with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_slang2/work/slang-2.1.0" && make all " returned error 2 Command output: cd src; make static make[1]: Nothing to be done for `static'. cd slsh; make all gcc -O2 slsh.o readline.o -o slsh_exe -L/opt/local/lib -L/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_slang2/work/slang-2.1.0/src/objs -L/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_slang2/work/slang-2.1.0/src/elfobjs -lslang -ldl -lm /usr/bin/ld: warning -L: directory name (/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_lang_slang2/work/slang-2.1.0/src/elfobjs) does not exist /usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _SLrline_init _SLrline_open2 collect2: ld returned 1 exit status make[1]: *** [slsh_exe] Error 1 make: *** [static] Error 2
_SLrline_* seem to be readline functionality. Do you have a non- MacPorts readline installation in /usr/local/lib perhaps?
On 21/06/07 14:15, Ryan Schmidt wrote:
/usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _SLrline_init _SLrline_open2 collect2: ld returned 1 exit status make[1]: *** [slsh_exe] Error 1 make: *** [static] Error 2
_SLrline_* seem to be readline functionality. Do you have a non-MacPorts readline installation in /usr/local/lib perhaps?
No, all programs are installed through macports. [sbranzo] gufo ~ $ l /usr/local/ total 0 drwxr-xr-x 4 root wheel 136 2007-01-12 14:31 bin drwxr-xr-x 5 root wheel 170 2007-06-10 20:36 man drwxr-xr-x 3 root wheel 102 2006-12-05 17:46 share Thanks, Gufo
On Jun 21, 2007, at 17:06, Sbranzo wrote:
/usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: _SLrline_init _SLrline_open2 collect2: ld returned 1 exit status make[1]: *** [slsh_exe] Error 1 make: *** [static] Error 2
_SLrline_* seem to be readline functionality. Do you have a non- MacPorts readline installation in /usr/local/lib perhaps?
No, all programs are installed through macports.
[sbranzo] gufo ~ $ l /usr/local/ total 0 drwxr-xr-x 4 root wheel 136 2007-01-12 14:31 bin drwxr-xr-x 5 root wheel 170 2007-06-10 20:36 man drwxr-xr-x 3 root wheel 102 2006-12-05 17:46 share
Ok. I just tried installing the slang port (1.4.9_0) and it worked for me, on Intel Core 2 Duo. The slang2 port (2.1.0_0) worked, too. This leads me to continue to suspect a rogue readline library somewhere on your system. First, is your MacPorts readline up to date? I have readline 5.2.001_0 installed. Next, do you have any readline installed anywhere else? Did you maybe used to use Fink and still have /sw/lib around? Maybe you've set the DYLD_LIBRARY_PATH environment variable? If you can't find it, try installing with the debug and verbose flags, then search the output for "readline"; maybe that will point out where slang is finding this incompatible readline library. $ sudo port -dv install slang Is your OS up to date? Is your Xcode up to date?
On 23/06/07 09:36, Ryan Schmidt wrote:
Ok. I just tried installing the slang port (1.4.9_0) and it worked for me, on Intel Core 2 Duo. The slang2 port (2.1.0_0) worked, too.
Ok
This leads me to continue to suspect a rogue readline library somewhere on your system. First, is your MacPorts readline up to date? I have readline 5.2.001_0 installed.
$ port installed readline The following ports are currently installed: readline @5.2.001_0 (active)
Next, do you have any readline installed anywhere else? Did you maybe used to use Fink and still have /sw/lib around? Maybe you've set the DYLD_LIBRARY_PATH environment variable? If you can't find it, try installing with the debug and verbose flags, then search the output for "readline"; maybe that will point out where slang is finding this incompatible readline library.
I don't have fink installed nor DYLD_LIBRARY_PATH set. I tryed to uninstall slang2 (2.0.4_0) and reinstall slang 2.1.0_0 and it worked.
Is your OS up to date? Is your Xcode up to date? Yes, Yes :-)
It was just a matter of uninstalling the previous version. Thanks a lot for your help, Gufo
participants (2)
-
Ryan Schmidt
-
Sbranzo