OOo 3.0.1 fails to configure because of a missing python module: checking for a Python interpreter with version >= 2.0... python checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking whether your python installation has xml.dom.minidom... no configure: error: xml.dom.minidom module not found in your python installation. RC2 was installed w/o problems. Reproducible: Always Steps to Reproduce: Relevant USE flags: # paludis -ip openoffice Building target list... Building dependency list... These packages will be installed: * app-office/openoffice [U 3.0.1_rc2 -> 3.0.1] <target> -binfilter cups dbus -debug -eds -gnome gstreamer gtk -java -kde ldap -mono nsplugin -odk opengl pam -templates LINGUAS: -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu+ -he -hi_IN -hr -hu -it -ja -ka+ -kk+ -km -ko -ku -lt -lv -mk -ml_IN -mn+ -mr_IN -nb -ne -nl -nn -nr -ns -or_IN-pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta+ -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu build_options: -optional_tests split strip
@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