Am Tue, 10 Oct 2006 12:59:46 +0200 schrieb Thomas Porschberg : > Am Mon, 9 Oct 2006 13:55:30 +0200 > schrieb Thomas Porschberg : > > > Am Fri, 06 Oct 2006 09:24:04 -0700 > > schrieb David Bertoni : > > > > > Thomas Porschberg wrote: > > > > Am Thu, 05 Oct 2006 09:23:36 -0700 > > > > schrieb David Bertoni : > > > ... > > > >> I updated my entire Cygwin installation before I attempted to > > > >> reproduce your problem. > > > >> > > > >> Did you, by any chance, install Cygwin with CR/LF as the > > > >> terminator, rather than just LF? > > > > No. > > > >> I've seen such an error message from make when > > > >> it expects LF, but finds CR/LF. > > > > This was my guess too. Therefore I did a d2u for all Makefiles. > > > > > > > >> I think there must be something wrong with either your Cygwin > > > >> installation, or the copy of the Xalan source archive that > > > >> you're using. > > > > I downloaded the sources of Xalan-C_1_10_0 again but no success. > > > > Googling for my error message: "multiple target patterns" > > > > lead me to > > > > http://sourceware.org/ml/cygwin/2006-09/msg00546.html > > > > Which version of make do you use ? > > > > make -version gives me 3.81 > > > > The Cygwin installer program shows me 3.81-1. > > > > > > > > > > That's the same version I have. > > > > > > > My path looks like: > > > > $ echo $PATH > > > > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/oracle/bin:/cygdrive/c/WINNT/sy > > > > stem32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Programme/R > > > > ational/ClearQuest:/cygdrive/c/Programme/Rational/common:/cygdrive/c/Xalan-C_1_1 > > > > 0_0-win32-msvc_60/bin:/cygdrive/c/xerces-c-windows_2000-msvc_60/bin:/cygdrive/c/ > > > > ActiveState/ActivePerl/Perl/bin:/opt/oracle/bin:/cygdrive/c/mingw/qt-3/lib:/usr/ > > > > sbin > > > > > > > > It seems to have something to do with DOS-paths. Can you send my > > > > the output of your `env` ? > > > > > > > > > > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program > > > Files/ThinkPad/Utilities:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program > > > > > > Files/IBM/Infoprint Select:/cygdrive/c/Program Files/Diskeeper > > > Corporation/Diskeeper/:/cygdrive/c/Program > > > Files/Subversion/bin:/cygdrive/c/bin:/cygdrive/c/Program > > > Files/Network Associates/PGPNT:/cygdrive/c/Program Files/Support > > > Tools:/cygdrive/c/Program Files/Microsoft Visual Studio .NET > > > 2003/Vc7/bin:/cygdrive/c/Program Files/Microsoft Visual > > > Studio .NET 2003/Common7/IDE:/cygdrive/c/Program Files/Support > > > Tools/:/cygdrive/c/Program Files/ATI > > > Technologies/ATI.ACE/:/cygdrive/c/Program Files/Common > > > Files/Lenovo:/cygdrive/c/Program Files/Lenovo/Client Security > > > Solution:/cygdrive/c/Program > > > Files/QuickTime/QTSystem/:/cygdrive/c/Program > > > Files/ThinkPad/ConnectUtilities:/cygdrive/c/Program Files/CVSNT/ > > > > > > > Still one especialness: > > > > > > > > When I call ./runConfigure -p cygwin -c gcc -x g++ > > > > > > > > the configure process stops after the line > > > > > > > > Debug is OFF > > > > > > > > and the "Host Info for Rational Software" dialog windows (from > > > > some Rational Rose software I have installed) opens. > > > > > > > > After I clicked "OK" in the window the configure run proceeds. > > > > > > Well, that was a very important detail for you to have left out of > > > your original post. > > > > > > Rational has a program called "hostname.exe" and Cygwin has one of > > > the same name. It looks like your Cygwin installation doesn't > > > contain hostname.exe, so the Rational one is found instead. Did > > > you install coreutils from the Base category when you installed > > > Cygwin? > > > > > > It may be that the Rational program is interfering with the > > > configure script, and your Makefiles are not getting properly > > > generated. > > > > I removed the PATH to the Rational tools from my PATH environment > > variable. Now the window does not pop up. > > However the error is still the same: "multiple target patterns". > > > > Thomas > > > Some news. One problem seems the "shell" command inside the Makefiles, > e.g. $(shell cygpath....) > I have no program called shell in my cygwin environment. When I type > `shell` in my terminal I get: > > sh: shell: command not found > > I removed the "shell" entries in the Makefiles and now compilation > starts and ends in > ../../../bin/MsgCreator -TYPE -LOCALE en_US > > Usage: > MsgCreator [options] <XML file> > > This program reads XML message file, .... > > ... > > make[1]: *** [../../../nls/include/LocalMsgData.hpp] Error 1 > > Seems that the XML-file is not defined. > > Hopefully that fives some new hints. > > Thomas > I could now compile Xalan. The problem was the empty XLIFF_FILE_NAME. I hard coded the Windows form of the file, "C:/cygwin/usr/....", to Utils/Makefile
and changed the line $(XSL_NLS_DIR)/include/LocalMsgData.hpp : $(XSL_BIN_DIR)/MsgCreator $(XLIFF_FILE_NAME) to $(XSL_NLS_DIR)/include/LocalMsgData.hpp : $(XSL_BIN_DIR)/MsgCreator 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 I copied the executables (MsgCreator.exe Xalan.exe testXPath.exe testXSLT.exe) from $XALANCROOT/bin to /usr/local/bin and the libs from $XALANCROOT/lib to /usr/local/lib. Thomas --