Re: Need help with rpmbuild

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

 



On 03/30/2011 06:31 AM, Steve Blackwell wrote:
> On Thu, 24 Mar 2011 07:58:02 -0400
> Todd Zullinger<tmz@xxxxxxxxx>  wrote:
>
>> On Mar 24, 2011 7:20 AM, "Steve Blackwell"<zephod@xxxxxxxxxx>  wrote:
>>> Ah, Thanks. That helped. Now I need to lookup the syntax of the
>>> install macro.
>>
>> The install I'm referring to here is a normal command, not a macro.
>> Use man install.
>>
>
> I have got my rpm to build successfully but now I have a dependency
> problem.
>
> 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 -
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux