delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/13/12:46:35

X-Spam-Check-By: sourceware.org
Message-ID: <3882.192.168.0.50.1184345168.squirrel@mail.morrison.mine.nu>
In-Reply-To: <4697A557.7070200@cwilson.fastmail.fm>
References: <3511 DOT 192 DOT 168 DOT 0 DOT 50 DOT 1184340542 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <4697A557 DOT 7070200 AT cwilson DOT fastmail DOT fm>
Date: Fri, 13 Jul 2007 17:46:08 +0100 (BST)
Subject: Re: Units and Cygport
From: "John Morrison" <john AT morrison DOT mine DOT nu>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.10a
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, July 13, 2007 5:16 pm, Charles Wilson wrote:
> John Morrison wrote:
>
>> I assume that at this point I need to edit the .cygport script and
>> change
>> how the src_install() function works, but I'm at a loss and I can't find
>> sufficient information at a dumb enough level for me to work it out.
>>
>> Can anyone help?  Sorry about the long post.
>
> I suspect that the units package does not support ${DESTDIR}
> installation.  Try:
>
> USE_DESTDIR=0
> src_install() {
>          cd ${B}
>          cyginstall
>
>          make_etc_defaults /etc/cygport.conf
> }

No go...

$ cygport  units-1.86-1 install
>>> Installing units-1.86-1
/home/John/units-1.86-1/src/units-1.86/mkinstalldirs
/home/John/units-1.86-1/inst/usr/share/man/man1
/home/John/units-1.86-1/src/units-1.86/mkinstalldirs
/home/John/units-1.86-1/inst/usr/share/info
mkdir /home/John/units-1.86-1/inst/usr
mkdir /home/John/units-1.86-1/inst/usr
mkdir /home/John/units-1.86-1/inst/usr/share
mkdir: cannot create directory `/home/John/units-1.86-1/inst/usr': File
exists
mkdir /home/John/units-1.86-1/inst/usr/share
mkdir: cannot create directory `/home/John/units-1.86-1/inst/usr/share':
File exists
mkdir /home/John/units-1.86-1/inst/usr/share/info
mkdir /home/John/units-1.86-1/inst/usr/share/man
make: *** [/home/John/units-1.86-1/inst/usr/share/info/units.info] Error 1
make: *** Waiting for unfinished jobs....
mkdir /home/John/units-1.86-1/inst/usr/share/man/man1
make: *** [install-man] Error 1
*** ERROR: make install No-DESTDIR failed

Thanks... any other ideas?

J.


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

- Raw text -


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