#17030 closed defect (invalid)
libsvm update fails
Reported by: | dershow | Owned by: | febeling@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | libsvm |
Description
I had libsvm 2.86_0 installed. I tried updated to 2.87 and got the following errors:
---> Fetching libsvm ---> Attempting to fetch libsvm-2.87.tar.gz from http://www.csie.ntu.edu.tw/~cjlin/libsvm/ ---> Verifying checksum(s) for libsvm ---> Extracting libsvm ---> Applying patches to libsvm ---> Configuring libsvm ---> Building libsvm with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_libsvm/work/libsvm-2.87" && make all PREFIX=/opt/local VERSION=2.87.0 " returned error 2 Command output: Wall -Wconversion -O3 -fPIC -c svm.cpp Wall: illegal option -- W usage: wall [-g group] [file] make: [svm.o] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-train.c svm.o -o svm-train -lm Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-train] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-predict.c svm.o -o svm-predict -lm Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-predict] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-scale.c -o svm-scale Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-scale] Error 1 (ignored) ar rc libsvm.a svm.o ar: svm.o: No such file or directory make: *** [libsvm.a] Error 1 Error: Unable to upgrade port: 1
Suggestions appreciated.
Thanks,
--Adam
Change History (9)
comment:1 Changed 16 years ago by dershow
Cc: | dersh@… added |
---|
comment:2 Changed 16 years ago by mf2k (Frank Schima)
Cc: | febeling@… dersh@… removed |
---|---|
Owner: | changed from macports-tickets@… to febeling@… |
It builds fine here. Can you provide some of your setup details? OS? Xcode version?
comment:4 Changed 16 years ago by dershow
I tried deactivating the 2.86. Then a clean and a build, and it worked this time.
So this worked fine:
sudo port deactivate libsvm sudo port clean --all libsvm sudo port install libsvm
So something from the prior version was getting in the way of the upgrade. Did you do a clean build or an upgrade?
comment:5 Changed 16 years ago by mf2k (Frank Schima)
I did a clean build because I did not have it installed before.
comment:6 Changed 16 years ago by blb@…
It looks like it could have been the Tcl env bug since this looks like an env var could have been empty:
Command output: Wall -Wconversion -O3 -fPIC -c svm.cpp
Considering a clean/build then got it to work, that's the usual workaround for this issue.
comment:7 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
I'm gonna close this one. Please re-open it if you think this is a bug with the port.
comment:8 Changed 16 years ago by febeling@…
I did a test of the upgrade from 2.86 to 2.87, and it worked as well. I agree that this ticket should be closed.
Cc Me!