[EMAIL PROTECTED] wrote:
Hi,

I am trying to build Xerces from the source and am getting these errors
when I try to run runConfigure:

$ ./runConfigure -p cygwin -c gcc -x g++
./runConfigure: line 22: $'\r': command not found
./runConfigure: line 43: $'\r': command not found
./runConfigure: line 44: syntax error near unexpected token `$'\r''
'/runConfigure: line 44: `usage()

The \r is your clue that something is wrong. You need to make sure the line end format is consistent. It looks like you installed Cygwin using Unix-style linefeeds (LF), and your files have DOS-style line end pairs (CR/LF).

You need the tar.gz version of the source, which has Unix-style linefeeds, and not the .zip version.

Dave

Reply via email to