>
> I just installed an RPM package, then repackaged it and tried to
> install the update with -Fvh. The update complained that the
> package required pike in /usr/local/bin/pike, as a dependancy,
> and it would NOT install because of it.
>
> So, the existing -3 release installed worked ok, but my updated
> package -4 would not install because of the pike dependancy.
> Pike is installed in /usr/bin/pike.
>
> I found out the problem was a missed 'configure' option in my RPM
> spec file, so I added "--with-pike=/usr/bin/pike" to the .spec
> which I was told would fix the problem. I rebuilt the package,
> and it succeeded. When I ran rpm -Fvh to update the package, it
> failed with:
>
> 1 root@asdf:/usr/src/redhat/SPECS# rpm -Fvh
> /usr/src/redhat/RPMS/i386/caudium-20000817-4.i386.rpm
> /usr/src/redhat/RPMS/i386/caudium-modules-20000817-4.i386.rpm
> error: failed dependencies:
> /usr/local/bin/pike is needed by caudium-20000817-4
>
>
> I then immediately tried:
>
> 1 root@asdf:/usr/src/redhat/SPECS# rpm -e caudium caudium-modules
> cannot remove /usr/lib/caudium/lib/7.0.71 - directory not empty
>
> Then I tried installing again, and it failed with the
> /usr/local/bin/pike thing again.
>
>
> Checking the actual build, "configure" ends off saying:
>
> Pike binary used: /usr/pike/7.0.71/bin/pike
> Pike version: 7.0.71
> Pike include dir: -I/usr/pike/7.0.71/include/pike
>
> The above pike binary is the correct one, and there is a symlink
> in /usr/bin/pike pointing to this binary. However, the package
> refuses to install claiming the /usr/local/bin/pike dependancy.
First you can install with --nodeps but this is a hack. Fundamental
problem is that somewhere there is a script with
#!/usr/local/bin/pike. It is probably hardcoded so this is not fixed
by the building process. In that case you will have to create a patch
for the script.
--
Jean Francois Martinez
Project Independence: Linux for the Masses
http://www.independence.seul.org
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list