Am Thu, 05 Oct 2006 09:23:36 -0700 schrieb David Bertoni : > Thomas Porschberg wrote: > > Am Wed, 04 Oct 2006 09:18:53 -0700 > > schrieb David Bertoni : > > > >> Thomas Porschberg wrote: > >>> Am Mon, 02 Oct 2006 11:21:12 -0700 > >>> schrieb David Bertoni : > >>> > >>>>>>> Hi, > >>>>>>> thank you for the advice. I compiled now > >>>>>>> xerces-c-src_2_7_0.tar.gz with cygwin make and I deinstalled > >>>>>>> xerces-2.5 from cygwin. Next step was to install Xalan. > >>>>>>> I set XERCESCROOT=/usr/src/xerces-c-src_2_7_0 > >>>>>>> and > >>>>>>> XALANCROOT=C:\cygwin\usr\src\xml-xalan\c > >>>>>>> and for Xalan compilation I had to use the Mingw-Make. > >>>> Why are you using a Unix-style path for XERCESCROOT, but a > >>>> DOS-style path for XALANCROOT? That doesn't make any sense. > >>>> > >>>> Also, please use the regular Cygwin make, not the Mingw make. My > >>>> previous post was clear that I don't think using the Mingw make > >>>> utility is a good idea. > >>> The reason I tried the Mingw-Make was, that Cygwin-Make does not > >>> work. I get an Error: > >>> make[2]: Entering directory > >>> `/usr/src/xml-xalan/c/src/xalanc/Utils' Makefile:71: *** multiple > >>> target patterns. Stop. > >>> > >>> This was the reason to start with Mingw-Make. > >>> And for Mingw-Make I have to specify the XALANCROOT in Windows > >>> form. > >>> > >> Then I think the better course of action is to figure out why the > >> Cygwin make utility is not working, rather than substituting the > >> mingw one. > >> > >> Line 71 of the my Makefile looks like this: > >> > >> $(XSL_NLS_DIR)/include/LocalMsgData.hpp : > >> $(XSL_BIN_DIR)/MsgCreator $(XLIFF_FILE_NAME) > >> > >> what does your look like? > > > > It is the same line. > > Did you try to run the build process with brand-new cygwin packages > > (especially latest bash)? > > ATM there seems to be a change in end-of-line handling in bash under > > cygwin and I could imagine that the problem is related to that > > topic. > > > > I put a simple 'echo "here"' in line 38 of the xalanc/Utils/Makefile > > and get a strange > > "*** missing separator. Stop." error > > in this line as result ?! > > I converted all Makefiles with d2u just to make sure that this is > > not the source of trouble. > > > > My version of bash is: > > $ bash --version > GNU bash, version 3.1.17(8)-release (i686-pc-cygwin) > Copyright (C) 2005 Free Software Foundation, Inc. > > 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. 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` ? 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. Thank you for your support so far. Thomas --