Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <41A37C83.5030803@x-ray.at>
Date: Tue, 23 Nov 2004 19:08:03 +0100
From: Reini Urban <rurban@x-ray.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@cygwin.com
Subject: Re: pax available?
References: <002001c4ce54$81931010$55dcd40a@advancemags.com> <Pine.GSO.4.61.0411191613400.16712@slinky.cs.nyu.edu> <000801c4d0b5$a6c6f050$55dcd40a@advancemags.com> <6.1.0.6.0.20041122120932.043445c0@pop.prospeed.net> <Xns95A97EA2D9FC1skiloversofthomenet@80.91.229.5> <6.1.0.6.0.20041122122951.0431ca30@pop.prospeed.net> <Xns95AA5D76D1EEskiloversofthomenet@80.91.229.5>
In-Reply-To: <Xns95AA5D76D1EEskiloversofthomenet@80.91.229.5>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Chuck schrieb:
> Larry Hall <lh-no-personal-replies-please@cygwin.com> wrote in
> news:6.1.0.6.0.20041122122951.0431ca30@pop.prospeed.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/

