build errors when building 4.1.6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

build errors when building 4.1.6

Peter Kovacs-3
Hi all,

  when building python I get a segementation fault error.

Does anyone has a solution for this:

/usr/bin/ld: Modules/posixmodule.o: in function `posix_tmpnam':
/home/legine/workspace/ApacheOpenOffice/svn/main/python/unxlngx6.pro/misc/build/Python-2.7.6/./Modules/posixmodule.c:7545:
warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/bin/ld: Modules/posixmodule.o: in function `posix_tempnam':
/home/legine/workspace/ApacheOpenOffice/svn/main/python/unxlngx6.pro/misc/build/Python-2.7.6/./Modules/posixmodule.c:7492:
warning: the use of `tempnam' is dangerous, better use `mkstemp'
gcc -pthread  -Xlinker -export-dynamic -o python \
                 Modules/python.o \
                 -L. -lpython2.7 -lpthread -ldl  -lutil   -lm
LD_LIBRARY_PATH=/home/legine/workspace/ApacheOpenOffice/svn/main/python/unxlngx6.pro/misc/build/Python-2.7.6:/home/legine/workspace/ApacheOpenOffice/svn/main/solver/416/unxlngx6.pro/lib
./python -E -S -m sysconfig --generate-posix-vars
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
make: *** [Makefile:468: pybuilddir.txt] Segmentation fault (core dumped)
dmake:  Error code 2, while making
'./unxlngx6.pro/misc/build/so_built_so_python'


All the best

Thanks

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]