delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/24/12:38:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,SARE_SUB_LEAD_CHAR2,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <24187945.post@talk.nabble.com>
Date: Wed, 24 Jun 2009 09:38:37 -0700 (PDT)
From: Drew Holland <drew DOT holland AT infoprint DOT com>
To: cygwin AT cygwin DOT com
Subject: --prefix tag is ignored when installing a rpm
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019