David Rosal wrote:
Hi again.

I have removed all the OO source directory and reinstalled Python-2.4.2.

Then when I configure OO it does not find any Python interpreter:

8<---------------------------
$ ./configure --prefix=/opt/openoffice-2.0.0 --enable-libart --enable-libsn --disable-fontooo --without-fonts --with-system-stdlibs --with-system-freetype --with-system-expat --with-system-libxml --with-system-zlib --with-build-version=BLFS --with-package-format=native --disable-binfilter --with-system-mozilla --with-firefox --with-system-jpeg --with-system-curl --with-ant-home=/opt/ant --with-dict=ENUS --with-system-python --disable-epm --disable-odk --disable-qadevooo --disable-mathmldtd --disable-pasf --without-nas

(...)
checking which python to use... external
checking for a Python interpreter with version >= 2.2... none
configure: error: no suitable Python interpreter found
---------------------------->8

But Python is installed:

$ python -V
Python 2.4.2

Here's what config.log says:

8<-------------------------------------
configure:9597: checking which python to use configure:9601: result: external configure:9635: checking for a Python interpreter with version >= 2.2 configure:9650: python -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.2', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) 'import site' failed; use -v for traceback Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named string



It's a new error by me. I don't know enough about Python to tell if this is what it's looking for or not....hopefully.

[EMAIL PROTECTED] ~]# ls -l /usr/lib/python2.4/string.*
-rw-r--r--  1 root root 16743 Nov 25 01:34 /usr/lib/python2.4/string.py
-rw-r--r--  1 root root 16870 Nov 25 01:35 /usr/lib/python2.4/string.pyc
-rw-r--r--  1 root root 16870 Nov 25 01:35 /usr/lib/python2.4/string.pyo
[EMAIL PROTECTED] ~]#

I also haven't figured out where the default python seach path is defined.

You can run 'pydoc -g' and then open a web browser and point it to http://localhost:7464/ and see the search paths as it shows all availible modules. For instance, I have 6 sections now. Built-in Modules, /usr/lib/python2.4, /usr/lib/python2.4/plat-linux2, /usr/lib/python2.4/lib-tk, /usr/lib/python2.4/lib-dynload, and /usr/lib/python2.4/site-packages. Maybe that'll help get it sorted for you.

-- DJ Lucas

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to