pax available?

Reini Urban rurban@x-ray.at
Tue Nov 23 18:08:00 GMT 2004


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/



More information about the Cygwin mailing list