
Samuel Félix <sfelixjr@gmail.com> writes:
Hello sir,
Hello,
first of all, thx for your help...
Well, I tried to do what you told me to... but It didn't work... I still get those blanks... I have tested this --enable-swig argument using both versions (olena-1.0 and the latest one from git).. but nothing has changed :(
My mistake! The good option is `--with-swig', not `--enable-swig'. Sorry for the bad advice. :( I think this should solve the problem with blank variables in Makefiles.
thx for the advice about /usr/bin/python, my mistake :)
I fixed that and apparently It finished without problems... look at those lines after make install
test -z "/usr/local/lib/python2.6/" || /bin/mkdir -p "/usr/local/lib/python2.6/ " /usr/bin/install -c -m 644 config.py point2d.py dpoint2d.py box2d.py box2d_piter.py int_u8.py int_u32.py neighb2d.py window2d.py image2d_int.py image2d_int_u8.py dynamic_image2d.py '/usr/local/lib/python2.6/' Byte-compiling python modules... config.pypoint2d.pydpoint2d.pybox2d.pybox2d_piter.pyint_u8.pyint_u32.pyneighb2d.pywindow2d.pyimage2d_int.pyimage2d_int_u8.pydynamic_image2d.py Byte-compiling python modules (optimized versions) ... config.pypoint2d.pydpoint2d.pybox2d.pybox2d_piter.pyint_u8.pyint_u32.pyneighb2d.pywindow2d.pyimage2d_int.pyimage2d_int_u8.pydynamic_image2d.py test -z "/usr/local/lib/python2.6/" || /bin/mkdir -p "/usr/local/lib/python2.6/ " /usr/bin/install -c -m 644 ../../../swilena/python/ltihooks.py ../../../ swilena/python/swilena.py ../../../swilena/python/data.py ../../../swilena/ python/sps.py '/usr/local/lib/python2.6/' Byte-compiling python modules... ltihooks.pyswilena.pydata.pysps.py Byte-compiling python modules (optimized versions) ...
The sps was installed but when I tried to run, I got:
samuel@beaver:/opt/olena-1.0/build/swilena/python$ sps exec: 27: -i: not found samuel@beaver:/opt/olena-1.0/build/swilena/python$
And when tried to import swilena inside of python environment, I got:
samuel@beaver:/opt/olena-1.0/build/swilena/python$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import swilena Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named swilena
I think that might be related to some blank field...
Yes, probably.
(e.g I filled the SWIG field, but the SWIG_LIB was blank, I'm not sure what should be put over there)
On my system (Debian GNU/Linux unstable), it points to ``/usr/share/swig1.3''.
Do you have a well formed Makefile which you could send me? So, I can compare which blank fields may be messing with me...
I think passing the right option (`--with-swig') and rebuilding from scratch should produce a working installation this time. Tell me if works. Best regards, Roland -- Roland Levillain - LRDE/EPITA - A3SI/ESIEE/IGM/UMLV-Paris Est EPITA Research and Development Laboratory (LRDE) 14-16, rue Voltaire - FR-94276 Le Kremlin-Bicêtre Cedex - France Phone: +33 1 53 14 59 45 - Fax: +33 1 53 14 59 22 - www.lrde.epita.fr