gnue
[Top][All Lists]
Advanced

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

Re: errors during gnuecommon installation (python problem?)


From: Derek Neighbors
Subject: Re: errors during gnuecommon installation (python problem?)
Date: Mon, 18 Mar 2002 09:14:06 -0700

J,

> Im trying to install the gnue tools (starting with
> gnue-common). After DAYS of looking installation
> procedures (may be lack of documentation? where they
> are? may be there are something for newbies? =) I

There should be a README file that explains in the root
of the package.  Also, at http://www.gnuenterprise.org/docs/ 
there is a step by step for red hat 7.2 from cvs.

> discover some of the files I need (wxphyton for
> example) later, the mandrake 8.0 refuses to install
> the wxpython, so I discover I need python 2. After
> losing the battle I get redhat 7.2 and run the
> ./setup.py install and obtain this:
> 
> Setup requires that python's distutils be installed. 
> You can get a copy of it from ... (etc)

This is because we require python2. :)

> so I install python 2. AND GET THE SAME ERROR. Looking
> into setup.py I see /usr/bin/env python to start
> python, so I change to /usr/bin/python2. And get this:
> 
> Traceback (most recent call last):  File "./setup.py",
> line 98, in ?    package_dir = {"gnue": 'gnue',
> "gnue.common" : "src"},  File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/core.py",
> line 138, in setup  File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/dist.py",
> line 893, in run_commands  File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/dist.py",
> line 912, in run_command  File
> "/usr/lib/python2.2/cmd.py", line 112, in
> ensure_finalized      File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/command/install.py",
> line 268, in finalize_options  File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/sysconfig.py",
> line 408, in get_config_vars  File
> "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/sysconfig.py",
> line 313, in
> _init_posixdistutils.errors.DistutilsPlatformError:
> invalid Python installation: unable to open
> /usr/lib/python2.2/config/Makefile (No such file or
> directory)

You are going down correct path.  Its saying that it cant find something,
I would try doing python2.2 setup.py install and let me know what you get.

We actually I would downgrade to python 2.1 or 2.0 (should be on your RedHat
CD)  There is a nasty unicode bug in python 2.2 which makes it highly unusable.
With python2.x installed run the setups with python2.x setup.py this way it 
forces it to use that version of python.

I noticed you were in IRC sorry no one was there to help.  I think that will
be best way to resolve this is through IRC.

> After aaaaall of this I resign!
> so:
> Is there a distribution-oriented rpm/tar.gz?
> Is there an installation procedures/HOWTO?
> Where is the error? Is mine?. Is from RedHat?
> What I see of the system description is highly
> interesting so I want to try it! but HOW?
> Thanks in advance!

Just a matter of getting right dependencies installed.  

-Derek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]