[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openbsd] py-libxslt



Ребята, помогите,пожалуйста, собрать py-lxml, 
подскажите методы, я в этом к сожелению
не силен :((
нашел отдельно python libxslt, забрасываю в /usr/local/lib/python2.5/site-packages/
$ ls /usr/local/lib/python2.5/site-packages/libxslt*
/usr/local/lib/python2.5/site-packages/libxslt.py
/usr/local/lib/python2.5/site-packages/libxslt.pyc
/usr/local/lib/python2.5/site-packages/libxslt.pyo
/usr/local/lib/python2.5/site-packages/libxsltmod.la
/usr/local/lib/python2.5/site-packages/libxsltmod.so

в логах 

[Mon Sep  1 18:24:32 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
Traceback (most recent call last):
  File "/var/www/htdocs/test.py", line 4, in <module>
      import libxslt
        File "/usr/local/lib/python2.5/site-packages/libxslt.py", line 52, in <module>
            import libxsltmod
            ImportError: File not found

openbsd_4.3 stable

[root@conote] /usr/ports/textproc/py-lxml # make
===>  Building for py-lxml-2.0.3
Building lxml version 2.0.3.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c' needs to be available.
Using build configuration of libxslt 1.1.22
Building against libxml2/libxslt in the following directory: /usr/local/lib
running build
running build_py
running build_ext
building 'lxml.etree' extension
cc -DNDEBUG -O2 -pipe -DTHREAD_STACK_SIZE=0x20000 -fPIC -O2 -pipe -fPIC -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/python2.5 -c src/lxml/lxml.etree.c -o
/usr/ports/textproc/py-lxml/w-py-lxml-2.0.3/lxml-2.0.3/temp.openbsd-4.3-i386-2.5/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function `initetree':
src/lxml/lxml.etree.c:110431: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/textproc/py-lxml (line 70 of /usr/ports/lang/python/python.port.mk).
*** Error code 1

Stop in /usr/ports/textproc/py-lxml (line 2139 of /usr/ports/infrastructure/mk/bsd.port.mk).




-- 
Yours faithfully, 
Vitaliy Kulchevych


-- 
To unsubscribe send a mail to openbsd+unsubscribe@uaoug.org.ua
For retrieval all messages in the archive go to http://www.uaoug.org.ua/archive/