RE: Trying to build custom Python 2.4.4 RPM

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



> > error: Failed dependencies:
> >         /usr/local/bin/python is needed by python24-2.4.4-0.i386
> 
> There's probably some documentation or example script which references
> /usr/local/bin/python in the shebang. This might get pulled in as a
> dependency during the automatic requirement processing.
> 
> You might have to remove this reference. There was a problem like that
> with perl-Config-General in rpmforge, where some documentation
> triggered a dependency on perl(Carp::Heavy).
> 
> Cheers,
> 
> Ralph

I found it!  The file /pythonroot/lib/python2.4/cgi.py starts with "#!
/usr/local/bin/python" and goes on to say in the comments that it's not a
mistake.  I found that in the stock CentOS Python 2.3, the file is also
there, but was patched to point at the installed Python. So, I just did a
substitution in my install section of the spec file and the RPM will now
install.

Thanks everyone for your replies!

Del

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux