Dear NLOPT,

Does anybody have experience installing the python3.x wrapper to nlopt as I'm 
unable to do so


System:
OS = Ubuntu 12.4
python version 3.2

bash commands:
    ./configure --enable-shared PYTHON=python3.2 

    make
    sudo make install

Halfway the shell return I see the following:
    checking for python script directory... 
${prefix}/lib/python3.2/site-packages
    checking for python extension module directory... 
${exec_prefix}/lib/python3.2/site-packages
    checking for Python include directory... unknown
    checking Python.h usability... no
    checking Python.h presence... no
    checking for Python.h... no
    configure: WARNING: disabling Python wrappers

not sure what Python include directory... unknown means

but Python.h is present in /usr/local/include/python3.2m, 

I even have copied the Python.h file to /usr/local/lib/python3.2 directory but 
no difference in outcome.

the (lib)nlopt.so .la . a .3 .h .hpp .pc files are all present in /usr/local/ 
(lib/, man/, include/) directory

I used the same bash commands to install the python2.7 wrapper which seems to 
work fine, but I like to have nlopt for python3.2. 
For those who wanders, I did tried to use the python2.7 wrapper on python3.2 
but this fails utterly.


Please advice or share your experience.

Many thanks,
Ben Thelen
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to