[MacPorts] #19202: py25-shogun install fails

MacPorts noreply at macports.org
Thu Apr 9 08:29:57 PDT 2009


#19202: py25-shogun install fails
------------------------------+---------------------------------------------
 Reporter:  zac@…             |       Owner:  jameskyle@…       
     Type:  defect            |      Status:  new               
 Priority:  Normal            |   Milestone:  Port Bugs         
Component:  ports             |     Version:  1.7.1             
 Keywords:  shogun            |        Port:  py25-shogun       
------------------------------+---------------------------------------------

Comment(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.

-- 
Ticket URL: <http://trac.macports.org/ticket/19202#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list