#19202 closed defect (fixed)
py25-shogun install fails
Reported by: | zac@… | Owned by: | jameskyle@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | shogun | Cc: | |
Port: | py25-shogun |
Description
Building of py25-shogun works perfectly on a fresh install of MacPorts 1.7.1, however the install phase fails.
I have attached a build log. As a side note, doing:
"touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-shogun/work/destroot/opt/local/src/configure"
results in the installation completing successfully.
Importing the module in python works and shows the proper diagnostic information for Shogun, however trying to use the module fails. I have also included an example of failed dialog.
Attachments (3)
Change History (10)
Changed 16 years ago by zac@…
Attachment: | shogun-install.txt added |
---|
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | py25-shogun removed |
---|---|
Owner: | changed from macports-tickets@… to jameskyle@… |
comment:2 follow-up: 3 Changed 16 years ago by krunk7@…
Looks like your calling the sg module incorrectly (or directly as the case may be).
The correct method to set log level is:
>>> from sg import sg shogun (sg.so/i386/v0.6.7_r3445_2008-11-14_09:47_3445) Copyright (C) 1999-2008 Fraunhofer Institute FIRST and Max-Planck-Society Written (W) 2000-2008 Soeren Sonnenburg, Gunnar Raetsch et al. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ( configure options: "configure options --prefix=/opt/local --disable-svm-light --interface=python --python=/opt/local/bin/python2.5 --libs=/opt/local/lib --includes=/opt/local/include --cxx=/opt/local/bin/g++-mp-4.3 --cc=/opt/local/bin/gcc-mp-4.3 --install-path=/opt/local --enable-readline --destdir=/opt/local/var/macports/build/_Users_jkyle_Projects_macports_ports_python_py25-shogun/work/destroot" compile flags: "-fno-strict-aliasing -fPIC -O2 -g -Wall -Wno-unused-parameter -Wformat -Wformat-security -Wimplicit -Wparentheses -Wshadow -O9 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -march=i486 -mtune=i686 -pthread" link flags: " -lpython2.5 -ldl -bundle -Wl,-flat_namespace -L/opt/local/lib -undefined error -lm -pthread -latlas -llapack -lcblas -llapack -lcblas -lglpk -lm -L/opt/local/lib/ -llpsolve55" ) ( seeding random number generator with 1572162048 (seed size 256)) determined range for x in log(1+exp(-x)) is:37 ) >>> sg('loglevel', 'ALL') [INFO] Loglevel set to ALL. >>>
Please let me know if this does not work for you.
comment:3 follow-up: 4 Changed 16 years ago by zac@…
Replying to krunk7@…:
Looks like your calling the sg module incorrectly (or directly as the case may be).
The correct method to set log level is:
>>> from sg import sg shogun (sg.so/i386/v0.6.7_r3445_2008-11-14_09:47_3445) Copyright (C) 1999-2008 Fraunhofer Institute FIRST and Max-Planck-Society Written (W) 2000-2008 Soeren Sonnenburg, Gunnar Raetsch et al. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ( configure options: "configure options --prefix=/opt/local --disable-svm-light --interface=python --python=/opt/local/bin/python2.5 --libs=/opt/local/lib --includes=/opt/local/include --cxx=/opt/local/bin/g++-mp-4.3 --cc=/opt/local/bin/gcc-mp-4.3 --install-path=/opt/local --enable-readline --destdir=/opt/local/var/macports/build/_Users_jkyle_Projects_macports_ports_python_py25-shogun/work/destroot" compile flags: "-fno-strict-aliasing -fPIC -O2 -g -Wall -Wno-unused-parameter -Wformat -Wformat-security -Wimplicit -Wparentheses -Wshadow -O9 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -march=i486 -mtune=i686 -pthread" link flags: " -lpython2.5 -ldl -bundle -Wl,-flat_namespace -L/opt/local/lib -undefined error -lm -pthread -latlas -llapack -lcblas -llapack -lcblas -lglpk -lm -L/opt/local/lib/ -llpsolve55" ) ( seeding random number generator with 1572162048 (seed size 256)) determined range for x in log(1+exp(-x)) is:37 ) >>> sg('loglevel', 'ALL') [INFO] Loglevel set to ALL. >>>Please let me know if this does not work for you.
That does in fact work, however it doesn't change the fact that the install doesn't work properly.
comment:4 Changed 16 years ago by krunk7@…
Looks like the previous patch that was applied put the reinplace at the wrong port stage. I've uploaded a patch that corrects this.
comment:5 Changed 16 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r49429.
comment:6 Changed 16 years ago by raimue (Rainer Müller)
Oh, just to avoid confusion, krunk == jameskyle.
shogun install