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.

Where do these dependancies come from?  I installed the package
fine up until now without such problems...  I haven't changed the
source code at all, so I don't see what is wrong.  Uninstalling
the previous version seems to have an effect..  odd..



1 root@asdf:/usr/src/redhat/BUILD/caudium-20000817# dir /usr/bin/pike
lrwxrwxrwx    1 root     root           25 Aug 17 09:07 /usr/bin/pike 
-> /usr/pike/7.0.71/bin/pike*


Any ideas?

-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

       Try out Red Hat Linux today:  http://www.redhat.com
           ftp://ftp.redhat.com/pub/redhat/redhat-6.2/




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to