[Distutils] bdist_rpm and bdist on x86-64
M.-A. Lemburg
mal at egenix.com
Fri Apr 15 19:44:28 CEST 2005
Jeremy Sanders wrote:
> setup.py bdist and bdist_rpm appear to fail on my x86-64 machine running
> Fedora Core 2.
>
> ...
> running build_scripts
> creating build/scripts-2.3
> copying and adjusting scripts/veusz -> build/scripts-2.3
> copying and adjusting scripts/veusz_listen -> build/scripts-2.3
> changing mode of build/scripts-2.3/veusz from 664 to 775
> changing mode of build/scripts-2.3/veusz_listen from 664 to 775
> installing to build/bdist.linux-x86_64/dumb
> running install
> error: invalid Python installation: unable to open
> /usr/lib/python2.3/config/Makefile (No such file or directory)
>
> It appears that distutils is looking in
> /usr/lib/python2.3/config
> rather than
> /usr/lib64/python2.3/config
>
> I haven't been able to easily locate where it's going wrong. Any ideas??
Check the Makefile you Python version has installed in
lib/pythonX.X/config/Makefile
distutils reads the specs from that file.
> I'm using the distutils from Python-2.4.1 on Python-2.3.3 (64 bit).
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Apr 15 2005)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the Distutils-SIG
mailing list