Thomas Porschberg wrote: > > Am Tue, 10 Oct 2006 12:59:46 +0200 > schrieb Thomas Porschberg : > > But the "make install" fails: > > $ make install > make -C src/xalanc install > make[1]: Entering directory `/usr/src/xml-xalan/c/src/xalanc' > Preparing the directory structure for a build ... > mkdir -p ../../obj > mkdir -p ../../lib > mkdir -p ../../bin > make -C Utils prepare > make[2]: Entering directory `/usr/src/xml-xalan/c/src/xalanc/Utils' > mkdir -p ../../../nls > mkdir -p ../../../nls/include > make[2]: Leaving directory `/usr/src/xml-xalan/c/src/xalanc/Utils' > make -C Utils locale > make[2]: Entering directory `/usr/src/xml-xalan/c/src/xalanc/Utils' > make[2]: Nothing to be done for `locale'. > make[2]: Leaving directory `/usr/src/xml-xalan/c/src/xalanc/Utils' > make -C Utils install > make[2]: Entering directory `/usr/src/xml-xalan/c/src/xalanc/Utils' > /usr/bin/install -c -m > 644 ../../../nls/include/LocalMsgIndex.hpp /usr/src/xml-x > alan/c/src/xalanc/PlatformSupport make -C XalanMsgLib install > make[3]: Entering directory > `/usr/src/xml-xalan/c/src/xalanc/Utils/XalanMsgLib' mkdir > -p //usr/local/lib mkdir: cannot create directory `//usr': No such host > or network path make[3]: *** [install] Error 1 > make[3]: Leaving directory > `/usr/src/xml-xalan/c/src/xalanc/Utils/XalanMsgLib' make[2]: *** > [install] Error 2 make[2]: Leaving directory > `/usr/src/xml-xalan/c/src/xalanc/Utils' make[1]: *** [install] Error 2 > make[1]: Leaving directory `/usr/src/xml-xalan/c/src/xalanc' > make: *** [install] Error 2 >
The install problem can be fixed by removing the extra directory path separator character. The perl script should be run from $XALANCROOT #!/usr/bin/perl use strict; my @files = `grep -l -R "(DESTDIR)/" *`; foreach (@files) { chop $_; print "Processing $_\n"; `cp $_ $_.orig`; `sed -e "s/(DESTDIR)\\\//(DESTDIR)/" $_.orig >$_`; `rm $_.orig`; } -- View this message in context: http://www.nabble.com/building-xalan-on-cygwin-tp6565677p14958891.html Sent from the Xalan - C - Users mailing list archive at Nabble.com.