--prefix tag is ignored when installing a rpm

Drew Holland drew.holland@infoprint.com
Wed Jun 24 18:02:00 GMT 2009


Hello, I'm trying to use the --prefix command to relocate an RPM on install. 
When building the spec file then running the command:

rpm -Uvh --prefix /opt/drew rpm-name.rpm

In a Unix environment it works fine and installs to /opt/drew.  However when
running the same command in Cygwin it ignores --prefix entirely and just
installs to the default directory.  

I do have to include the --nodeps tag in Cygwin because without it I run
into the error "Failed Dependencies: /bin/sh is needed by <rpm-name>"

I'm pretty sure I installed all the RPM packages when I installed Cygwin,
but I don't know how to check if that is so.

I've also tried the --relocate tag but that is also ignored.

If anyone has any ideas I'd greatly appreciate it.

Thank you,
Drew
-- 
View this message in context: http://www.nabble.com/--prefix-tag-is-ignored-when-installing-a-rpm-tp24187945p24187945.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list