delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/23/13:08:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41A37C83.5030803@x-ray.at>
Date: Tue, 23 Nov 2004 19:08:03 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: pax available?
References: <002001c4ce54$81931010$55dcd40a AT advancemags DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0411191613400 DOT 16712 AT slinky DOT cs DOT nyu DOT edu> <000801c4d0b5$a6c6f050$55dcd40a AT advancemags DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041122120932 DOT 043445c0 AT pop DOT prospeed DOT net> <Xns95A97EA2D9FC1skiloversofthomenet AT 80 DOT 91 DOT 229 DOT 5> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041122122951 DOT 0431ca30 AT pop DOT prospeed DOT net> <Xns95AA5D76D1EEskiloversofthomenet AT 80 DOT 91 DOT 229 DOT 5>
In-Reply-To: <Xns95AA5D76D1EEskiloversofthomenet@80.91.229.5>
X-IsSubscribed: yes

Chuck schrieb:
> Larry Hall <lh-no-personal-replies-please AT cygwin DOT com> wrote in
> news:6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041122122951 DOT 0431ca30 AT pop DOT prospeed DOT net: 

> Got it to work! The problem was actually in compiling lib/makepath.c. I
> manually compiled it adding the -DHAVE_ERRNO_H definition argument as
> below. 
> 
> cd /usr/src/paxutils-2.4h/lib
> 
> gcc -DHAVE_ERRNO_H -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -g -O2 -c
> makepath.c 
> 
> 
> Next I relinked the entire package and got a valid pax.exe which I
> subsequently moved to /usr/local/bin and that was it. 
> 
> cd /usr/src/paxutils-2.4h
> make
> mv src/pax.exe /usr/local/bin/
> 
> I don't understand the Makefile's well enough to automate this but if
> anyone else wants to give it a shot, have at it. --
> Chuck

do we want this as cygwin package or not? IMHO it's buggy and not worth 
the effort.
anyway for the records:

./configure --enable-pax --prefix=/usr --mandir=/usr/share/man
# hack
echo "#define HAVE_ERRNO_H 1" >> config.h
make
make install DESTDIR="$PWD/.inst"
install -s -m755 .inst/usr/bin/pax.exe /usr/bin/
gzip -c .inst/usr/share/man/man1/pax.1 > /usr/share/man/man1/pax.1.gz


-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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