<div>thanks.</div>
<div>I may not have make it clear, when I checked the package using </div>
<div>&quot;rpm -Vp <font size="3" face="Calibri">Python-2.7-2.x86_64.rpm&quot;</font></div>
<div><font size="3" face="Calibri">I did not see any references to /home/sysadm/rpmbuild/Python2.7/Python2.7-root/usr/local/bin/python2.7<br></font></div>
<div>but then when I tried to install the rpm as root</div>
<div>rpm -ivh <font face="Calibri">Python-2.7-2.x86_64.rpm</font><br></div>
<div>it failed with the </div>
<div> </div>
<div>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">error: Failed dependencies:</font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">       /home/sysadm/rpmbuild/Python2.7/Python2.7-root/usr/local/bin/python2.7<br></span></font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">I still not seeing where I may have set the dependency. I google and couldn&#39;t find any similar errors. I must have done something obviously stupid :-(.</span></font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes">Thanks</span></font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes"></span></font></font> </p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style="mso-spacerun: yes"></span></font></font>On Fri, Mar 4, 2011 at 4:25 PM, Jos Vos <span dir="ltr">&lt;<a href="mailto:jos@xos.nl">jos@xos.nl</a>&gt;</span> wrote:<br>
</p></div>
<div class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Fri, Mar 04, 2011 at 03:58:42PM -0500, travel NJ wrote:<br><br>&gt; I have built an RPM with the following definition, then it created an rpm<br>&gt; called Python-2.7-2.x86_64.rpm.<br>&gt; It failed when I tried to install it, with the following<br>
&gt;<br>&gt;<br>&gt; error: Failed dependencies:<br>&gt;<br>&gt;         /home/sysadm/rpmbuild/Python2.7/Python2.7-root/usr/local/bin/python2.7<br>&gt; is needed by Python-2.7-2.x86_64<br>&gt; I looked into <a href="http://tldp.org/HOWTO/RPM-HOWTO/build.html" target="_blank">http://tldp.org/HOWTO/RPM-HOWTO/build.html</a>, seems that release<br>
&gt; is for the release number of the same version, hence I am not sure why it<br>&gt; causes the problem<br><br></div>Look in your package for Python script(s) containing in the first line<br>
<div class="im">/home/sysadm/rpmbuild/Python2.7/Python2.7-root/usr/local/bin/python2.7<br><br></div>This is wrong (because it contains the buildroot).<br><br>This will be used as an automatic dependency and you should take care<br>
of letting your package put the correct path there (probably<br>/usr/local/bin/python2.7 in your case).<br><font color="#888888"><br>--<br>--    Jos Vos &lt;<a href="mailto:jos@xos.nl">jos@xos.nl</a>&gt;<br>--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364<br>
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204<br>_______________________________________________<br>Rpm-list mailing list<br><a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br><a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</font></blockquote></div><br>