Need help with rpmbuild

Steve Blackwell zephod at cfl.rr.com
Thu Mar 31 11:10:26 UTC 2011


On Wed, 30 Mar 2011 09:25:41 +0300
Panu Matilainen <pmatilai at laiskiainen.org> wrote:

> > My app depends on python so I have a
> > Requires: python
> > line in the .spec file. Python is installed on my target system but
> > the python binary in located in /usr/bin as indicated by
> > $ rpm -qil python
> > When I try to install my rpm, it complains that it can't
> > find /usr/local/bin/python.
> >
> > Any idea why my rpm is looking for python in all the wrong places?
> 
> One or more python scripts in your package contain this shebang:
> #!/usr/local/bin/python
> 
> Rpm is right to complain: If you tried to execute that file, it would 
> fail because no such python interpreter exists on a normal Fedora 
> installation. You need to locate + patch those files to refer to the 
> system python path instead.
> 
> 	- Panu -

That was it, thanks. Only 2 instances so not too much work.

Steve
-- 
Changing lives one card at a time

http://www.send1cardnow.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110331/98fe98ba/attachment.bin 


More information about the users mailing list