LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems Compiling Python (http://www.linuxquestions.org/questions/linux-software-2/problems-compiling-python-4175425964/)

emmiesix 09-06-2012 09:25 AM

Problems Compiling Python
 
Help!

I am installing some scientific analysis tools from source. It is going rather badly in general, but I have identified the first failure as during the build of a custom python.


Here is a snip showing the errors:

Quote:

Python build finished, but the necessary bits to build these modules were not found:
bsddb185 bz2 dl
imageop linuxaudiodev ossaudiodev
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
readline
The readline module actually seems to build ok, but it throws this warning:
Quote:

*** WARNING: renaming "readline" since importing it failed: /home/meyer/research/software/heasoft-6.12/x86_64-unknown-linux-gnu-libc2.12/lib/libreadline.so.6: undefined symbol: PC
which I guess is why it says that it failed?

Note that when the master script calls the configure in the python directory, it also shows some warnings:

Quote:

configure: WARNING: unrecognized options: --enable-symbols, --with-tcl, --with-tk

knudfl 09-08-2012 04:58 AM

To get some answers, you will have to provide much more information. :)
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

Which OS is used ? Name, version, architecture , please.
Why is a "custom python" required ? Which version ?
Which "heasoft-6.12" applications do you want to build ?


About python modules ..
Some are never built : Unavailable and outdated modules.
There used to be a patch to disable those ..
python2.6-disable-old-modules.patch

.


All times are GMT -5. The time now is 04:48 PM.