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? I've seen such an error message from make when it expects LF, but finds CR/LF.

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'm sure other people are using Cygwin to build Xalan-C (I do it all of the time), so we would have heard much sooner if something were broken.

Dave

Reply via email to