delorie.com/archives/browse.cgi | search |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |