[Distutils] bdist_rpm and bdist on x86-64

Jeremy Sanders jeremy at jeremysanders.net
Fri Apr 15 19:10:49 CEST 2005


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??

I'm using the distutils from Python-2.4.1 on Python-2.3.3 (64 bit).

Thanks

Jeremy

-- 
Jeremy Sanders <jeremy at jeremysanders.net>
http://www.jeremysanders.net/                Cambridge, UK
Public Key Server PGP Key ID: E1AAE053


More information about the Distutils-SIG mailing list