I am trying to compile python2.7 in SLED SP2 but it always failed with messages:
Python build finished, but the necessary bits to build these modules were not found: _bsddb _tkinter bsddb185 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: _curses_panel
Since my another software highly depend how well the python it compiled, it always failed with messages:
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lpython2.7
collect2: ld returned 1 exit status
scons: *** [objs/Linux/x86_64/gcc-4.6/Release/lib/libDesmond.so] Error 1
So I am just wondering how should I compile my python 2.7 correctly?
thank you very much