[lxml-dev] CPU you selected does not support x86-64 instruction set
HI, I was trying to install lxml on FreeBSD 6.2 Xeon server with "easy_install lxml", but I got weird error "CPU you selected does not support x86-64 instruction set". I searched on the web with no luck. Does anybody know this error?
Hi, js wrote:
I was trying to install lxml on FreeBSD 6.2 Xeon server with "easy_install lxml", but I got weird error "CPU you selected does not support x86-64 instruction set". I searched on the web with no luck.
Does anybody know this error?
You didn't give the complete error output, but check your CFLAGS (and the command line you see when the compiler starts up). Maybe there's something wrong with the compiler options that distutils use. Stefan
I don't have access to the box right now, that why I couldn't give you the complete error output. Who uses Xeon server at home :) I'll check what causes this, but wanted to know if someone's already having this issue. On Feb 15, 2008 11:29 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
js wrote:
I was trying to install lxml on FreeBSD 6.2 Xeon server with "easy_install lxml", but I got weird error "CPU you selected does not support x86-64 instruction set". I searched on the web with no luck.
Does anybody know this error?
You didn't give the complete error output, but check your CFLAGS (and the command line you see when the compiler starts up). Maybe there's something wrong with the compiler options that distutils use.
Stefan
Oops, seems not fixed. Python 2.5.1 (r251:54863, Feb 2 2008, 17:46:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree, html zsh: bus error python2.5
On Feb 16, 2008 2:35 PM, js <ebgssth@gmail.com> wrote:
I don't have access to the box right now, that why I couldn't give you the complete error output. Who uses Xeon server at home :)
I'll check what causes this, but wanted to know if someone's already having this issue.
On Feb 15, 2008 11:29 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
js wrote:
I was trying to install lxml on FreeBSD 6.2 Xeon server with "easy_install lxml", but I got weird error "CPU you selected does not support x86-64 instruction set". I searched on the web with no luck.
Does anybody know this error?
You didn't give the complete error output, but check your CFLAGS (and the command line you see when the compiler starts up). Maybe there's something wrong with the compiler options that distutils use.
Stefan
Hi, js wrote:
Oops, seems not fixed.
Python 2.5.1 (r251:54863, Feb 2 2008, 17:46:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree, html zsh: bus error python2.5
Works for me: Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree,html
Please, fix your system. Stefan
Sorry, previous mail should be sent to another thread. Please ignore... On Feb 16, 2008 4:27 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
js wrote:
Oops, seems not fixed.
Python 2.5.1 (r251:54863, Feb 2 2008, 17:46:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree, html zsh: bus error python2.5
Works for me:
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree,html
Please, fix your system.
Stefan
And as for Xeon's problem, I'll investigate it a bit more within a few days. I think I'll be able to bring some more info on this next time. Thanks. On Feb 16, 2008 4:27 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
js wrote:
Oops, seems not fixed.
Python 2.5.1 (r251:54863, Feb 2 2008, 17:46:03) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree, html zsh: bus error python2.5
Works for me:
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import webbrowser from lxml import etree,html
Please, fix your system.
Stefan
Hi, Quick update. Here's how compiler executed. cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro -D__wchar_t=wchar_t -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/python2.5 -c src/lxml/lxml.etree.c -o build/temp.freebsd-6.2-amd64-2.5/src/lxml/lxml.etree.o -w As I said earlier, this end up in the following error. CPU you selected does not support x86-64 instruction set I tried dropping "-march=pentiumpro" and re-run setup.py build again. This time, above error is not occured, but another warning came up. /usr/local/include/python2.5/pyport.h:734:2: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?). BTW, I use gcc 3.4.6. I'm not sure how should I resolve this... Do you find anything from above report? lxml users, Is there anybody running lxml on 64bit system? Thanks.
participants (2)
-
js
-
Stefan Behnel