View previous topic :: View next topic |
Author |
Message |
Semyon n00b
Joined: 27 Mar 2005 Posts: 14
|
Posted: Tue Jun 24, 2008 7:38 am Post subject: [SOLVED] python compilation error |
|
|
Hello!
I'm trying to install Gentoo on my Eee PC and everything is going ok except some packages:
compiling python-2.4.4-r13 I obtain
Code: |
i686-pc-linux-gnu-ranlib libpython2.4.a
i686-pc-linux-gnu-gcc -pthread -Xlinker -export-dynamic -o python \
Modules/python.o \
-L. -lpython2.4 -lpthread -ldl -lutil -lm
case $MAKEFLAGS in \
*-s*) LD_LIBRARY_PATH=/tmp/portage/dev-lang/python-2.4.4-r13/work/Python-2.4.4: CC='i686-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O2 -march=pentium-m -pipe -fomit-frame-pointer' ./python -E ./setup.py -q build;; \
*) LD_LIBRARY_PATH=/tmp/portage/dev-lang/python-2.4.4-r13/work/Python-2.4.4: CC='i686-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O2 -march=pentium-m -pipe -fomit-frame-pointer' ./python -E ./setup.py build;; \
esac
/bin/sh: line 1: 31703 Illegal instruction LD_LIBRARY_PATH=/tmp/portage/dev-lang/python-2.4.4-r13/work/Python-2.4.4: CC='i686-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O2 -march=pentium-m -pipe -fomit-frame-pointer' ./python -E ./setup.py build
make: *** [sharedmods] Error 132
*
* ERROR: dev-lang/python-2.4.4-r13 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3369: Called die
* The specific snippet of code:
* emake || die "Parallel make failed"
* The die message:
* Parallel make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/tmp/portage/dev-lang/python-2.4.4-r13/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/dev-lang/python-2.4.4-r13/temp/environment'.
*
|
It seems a bash error. System is compiled on my desktop computer.
Thanks.
Last edited by Semyon on Fri Jun 27, 2008 7:57 pm; edited 1 time in total |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Tue Jun 24, 2008 7:51 am Post subject: |
|
|
last time i had trouble with python, compiling python with threads did the trick _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
Semyon n00b
Joined: 27 Mar 2005 Posts: 14
|
Posted: Tue Jun 24, 2008 7:23 pm Post subject: |
|
|
I've found that this is not only python error. terminus-font did the same
Code: |
perl ./ucstoany.pl ter-u12n.bdf ISO8859 1 uni/x11gr.uni uni/ascii-h.uni uni/win-1252.uni | bdftopcf -o ter-112n.pcf
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_EN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl ./ucstoany.pl ter-u12n.bdf ISO8859 2 uni/x11gr.uni uni/ascii-h.uni uni/empty.uni uni/8859-2.uni | bdftopcf -o ter-212n.pcf
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_EN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/bin/sh: line 1: 596 Broken pipe perl ./ucstoany.pl ter-u12n.bdf ISO8859 1 uni/x11gr.uni uni/ascii-h.uni uni/win-1252.uni
599 Illegal instruction | bdftopcf -o ter-112n.pcf
make: *** [ter-112n.pcf] Error 132
make: *** Waiting for unfinished jobs....
/bin/sh: line 1: 598 Broken pipe perl ./ucstoany.pl ter-u12n.bdf ISO8859 2 uni/x11gr.uni uni/ascii-h.uni uni/empty.uni uni/8859-2.uni
600 Illegal instruction | bdftopcf -o ter-212n.pcf
make: *** [ter-212n.pcf] Error 132
*
* ERROR: media-fonts/terminus-font-4.26 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 91: Called die
* The specific snippet of code:
* emake pcf || die;
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/tmp/portage/media-fonts/terminus-font-4.26/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/media-fonts/terminus-font-4.26/temp/environment'.
*
|
|
|
Back to top |
|
|
Semyon n00b
Joined: 27 Mar 2005 Posts: 14
|
Posted: Fri Jun 27, 2008 7:56 pm Post subject: |
|
|
After some experiments I have understood that the problem was the following:
I tried to compile system for EeePC with Pentium-M processor on my desktop computer with
Pentium III with -march=pentium-m. And some binaries used in compilation cannot been executed on PIII.
So I replaced -march=i686 and succeded. |
|
Back to top |
|
|
tomm3h n00b
Joined: 06 Mar 2008 Posts: 1
|
Posted: Tue Jul 01, 2008 8:33 am Post subject: |
|
|
I received the same error compiling python-2.4.4-r13, this morning. Here's my uname -a, if it's of any use:
Linux hostname 2.6.23-gentoo-r3 #2 Thu Jan 10 20:56:06 GMT 2008 i686 Intel(R) Xeon(R) CPU 5140 @ 2.33GHz GenuineIntel GNU/Linux
Compiling with USE="-threads" did the trick to fix it. As it's only a single-CPU virtual machine, I didn't see this as a problem. |
|
Back to top |
|
|
|