Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-06-2012, 09:25 AM   #1
LQ Newbie
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Unhappy Problems Compiling Python


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:

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

Failed to build these modules:
The readline module actually seems to build ok, but it throws this warning:
*** WARNING: renaming "readline" since importing it failed: /home/meyer/research/software/heasoft-6.12/x86_64-unknown-linux-gnu-libc2.12/lib/ 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:

configure: WARNING: unrecognized options: --enable-symbols, --with-tcl, --with-tk
Old 09-08-2012, 04:58 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,707

Rep: Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295
To get some answers, you will have to provide much more information.

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



compiling, python, readline

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compiling python shariefbe Linux - Software 3 03-09-2010 04:18 AM
compiling python-gtkextra samwise17 Programming 0 10-29-2008 07:16 PM
compiling python program ? mahbouba Linux - Newbie 2 10-28-2008 10:25 PM
Cross Compiling Python for StrongARM hiteshmaisheri Linux - Laptop and Netbook 2 04-15-2004 06:40 AM
compiling Python scripts lex1dr Linux - Software 1 06-16-2003 04:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration