Summary: | app-office/openoffice-3.0.1: build failure because of missing python module dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dirk Heinrichs <dirk.heinrichs> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dirk Heinrichs
2009-01-31 13:22:23 UTC
@Dirk I guess that your python is not built with USE="xml". @Andreas It is time to use EAPI=2 and depend on '>=dev-lang/python-2.3.4[threads,xml]'. :) (In reply to comment #1) > @Dirk > I guess that your python is not built with USE="xml". # paludis -q python * dev-lang/python gentoo: 2.4.4-r5 2.4.4-r6 2.4.4-r14 2.4.4-r15(~) {:2.4} 2.5.2-r7 2.5.2-r8(~) 2.5.4-r2(~) {:2.5} (2.6-r5)R(~) (2.6.1)R(~) {:2.6} installed: 2.5.4-r2* {:2.5} Description: Python is an interpreted, interactive, object-oriented programming language. Homepage: http://www.python.org/ License: PSF-2.2 Installed time: Sat Jan 24 08:10:40 2009 Use flags: (berkdb) (-build) (doc) (examples) (gdbm) (-ipv6) (ncurses) (readline) (sqlite) (ssl) (threads) (tk) (-ucs2) (-wininst) (xml) From repositories: gentoo Installed using: paludis-0.34.0 It has the xml use flag. However, it has been updated just one day after OOo 3.0.1 RC2 was installed succesfully. So maybe the previous python version will work. I'll try... Additional info: # paludis --contents dev-lang/python|grep mini /usr/include/python2.5/graminit.h /usr/lib/python2.5/test/test_minidom.py /usr/lib/python2.5/test/test_minidom.pyc /usr/lib/python2.5/test/test_minidom.pyo /usr/lib/python2.5/xml/dom/minicompat.py /usr/lib/python2.5/xml/dom/minidom.py /usr/lib/python2.5/xml/dom/minicompat.pyc /usr/lib/python2.5/xml/dom/minidom.pyc /usr/lib/python2.5/xml/dom/minicompat.pyo /usr/lib/python2.5/xml/dom/minidom.pyo So it's not in site-packages. Downgrading python makes things even worse: checking for a Python interpreter with version >= 2.0... ./configure: line 6721: 11609 Aborted (core dumped) ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5 ./configure: line 6721: 11611 Aborted (core dumped) ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5 ./configure: line 6721: 11613 Aborted (core dumped) ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5 none configure: error: no suitable Python interpreter found !!! ERROR in app-office/openoffice-3.0.1: !!! In src_compile at line 6738 !!! Configuration failed! So I'll try upgrading python again and see what happens if I reinstall 3.0.1 RC2... Seems all relevant files for OOo 3.0.1 RC2 have already been removed from the tree which makes it impossible for me to reinstall this version. So I can't verify wether the problem was introduced with 3.0.1. Hmm, this works as expected (with pyxml unmerged): (minidom check in configure) # python -c "import xml.dom.minidom; print('success')" success So maybe some python path environment variable is wrong. Hmm, don't know what happend, but OOo 3.0.1 is currently building now, which means the configure problem is gone. Local problem, closing |