Hi there,

I'm trying to install swilena, however I'm facing many problems...

After ./configure --enable-swilena... everything seems to be ok.. No dependencies problem (Configure result attached)

But during Make... I've got many errors like this one:

----

if  -Wall -c++ -python -I../../../milena  -MD -MF ".deps/config-wrap.Tcc" -o config-wrap.cc ../../../swilena/config.i; then \
          mv -f ".deps/config-wrap.Tcc" ".deps/config-wrap.Pcc";\
        else \
          rm -f ".deps/config-wrap.Tcc"; exit 1;\
        fi

---

That error I've mentioned before is related to SWIG field. For some reason, the SWIG and many other fields were blank.
After reading the Makefile (/opt/olena-1.0/build/swilena/python/Makefile), I've noticed that It failed to fill some configuration commands... most of them related to python..
I have to fill those blanks by myself:

SWIG = swig
pyexecdir = /opt/olena-1.0/build/swilena/python/
pythondir = /usr/local/lib/python2.6/
PYTHON = /usr/lib/python2.6/
PYTHONINC = /usr/include/python2.6

After that, I thought the installation was about to finish successfully, but I got this error 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/'
../../../build-aux/py-compile: 119: /usr/lib/python2.6/: Permission denied                                                                  
make[3]: ** [install-nodist_pythonPYTHON] Erro 126                                                                                          
make[3]: Saindo do diretório `/opt/olena-1.0/build/swilena/python'                                                                          
make[2]: ** [install-am] Erro 2                                                                                                             
make[2]: Saindo do diretório `/opt/olena-1.0/build/swilena/python'                                                                          
make[1]: ** [install-recursive] Erro 1                                                                                                      
make[1]: Saindo do diretório `/opt/olena-1.0/build/swilena'                                                                                 
make: ** [install-recursive] Erro 1

Yes. I'm root :-) I don't know what is the cause of this permission denied

Still, I changed to /opt/olena-1.0/swilena/python and tried to run what swig has created...

but...

samuel@beaver:/opt/olena-1.0/swilena/python$ python swilena.py
Traceback (most recent call last):
  File "swilena.py", line 24, in <module>
    import config
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 449, in find_head_package
    raise ImportError, "No module named " + qname
ImportError: No module named config

I checked the generated files and there is no config.py available..

I guess there is something missing in the Makefile... not sure...

Anyone can help me out?

merci,

--
Samuel Félix
Computer Science M.Sc. Candidate at Federal University of Minas Gerais
Computer Science B.Sc. at Federal University of Pará