On 6/10/05, Paul Nasrat <pnasrat@xxxxxxxxxx> wrote: > On Fri, 2005-06-10 at 18:14 +0200, Ilo Lorusso wrote: > > Hi, > > > > When i try and install the rpm flow-tools-0.68-1.i386.rpm i the > > following error: > > error: Failed dependencies: > > /usr/local/bin/python is needed by flow-tools-0.68-1.i386 > > > > Now i have python installed but in a different > > location /usr/bin/python and i dont want to force the installation as > > I get errors when i try and install somthing else using apt-get. > > They are autogenerated - check all python scripts in your package for > #!/usr/local/bin/python and patch in %setup > > Paul > > Which by the way is exactly where that script expects to find python. Many (but definatetly not all, and certainly not most) apps allow you to specify a different path to interpretors used by their scripts such that you could rebuild from spec file, with this tweak to the spec (i.e. specify where the interpreter is). That said, I don't know if the particular app provides a way to do this. If not you can patch the make file. Cheers...james > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list >