Is it possible that the version of python that you're running is somehow still picking up bits of the old python you have installed on your system, eg in /usr/lib/python2.4, rather than /usr/local/lib/python2.4? Also did you try rpm -i --relocate /usr=/usr/local. Worth a try at the very least. Cheers JP matt@xxxxxxxxx wrote: > Hello all, > I've modified the centos RPM .spec file to create an alternate install of > python as version 2.4.4 in /usr/local/bin/*. This works great, however the > RPM ends up installing what seems is the system binary of python into > /usr/local/bin (verified by version# and compile date). > > Spec file for reference: http://indigo.nu/~indigo/python.spec > > This is strange because the during the build process it seem to build this > strange version inside of /usr/src/redhat/BUILD/Python-2.4.4/python > (running this build during the rpmbuild process shows it as:) > > [code] > > [root@localhost Python-2.4.4]# pwd > /usr/src/redhat/BUILD/Python-2.4.4 > [root@localhost Python-2.4.4]# ./python > Python 2.4.3 (#1, Mar 14 2007, 19:01:42) > [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > > [/code] > > If I *just* built this code, why is the build date March 14.... and more > importantly where did it get Python2.4.3 as a version? This is the same as > standard system python. Where is it getting this from???? > > Im going insane...slowly Thanks for all your help! > > > > > > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia http://pye.dyndns.org/ _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list