Hi Alberto,
I double checked the newline characters, but as far as I can see at
this moment I do not have Unix-style newline characters. Maybe my
mingw/msys installation is screwed up somewhere, I 'll try to check
that as well.
Sjaak
2006/3/27, Alberto Massari <[EMAIL PROTECTED]>:
> Hi Sjaak,
> something strange is going on here: the config.status file that is
> generated on my system contains this line:
>
> CONFIG_FILES=${CONFIG_FILES-"Makefile util/Makefile
> util/Transcoders/Cygwin/Makefile util/Transcoders/ICU/Makefile
> util/Transcoders/Iconv/Makefile util/Transcoders/Iconv390/Makefile
> util/Transcoders/Uniconv390/Makefile
> util/Transcoders/Iconv400/Makefile
> util/Transcoders/IconvFBSD/Makefile
> util/Transcoders/IconvGNU/Makefile
> util/Transcoders/MacOSUnicodeConverter/Makefile
> util/Platforms/Makefile util/Platforms/Solaris/Makefile
> util/Platforms/AIX/Makefile util/Platforms/BeOS/Makefile
> util/Platforms/QNX/Makefile util/Platforms/Interix/Makefile
> util/Platforms/Linux/Makefile util/Platforms/FreeBSD/Makefile
> util/Platforms/NetBSD/Makefile util/Platforms/HPUX/Makefile
> util/Platforms/OS390/Makefile util/Platforms/OS400/Makefile
> util/Platforms/IRIX/Makefile util/Platforms/PTX/Makefile
> util/Platforms/OpenServer/Makefile util/Platforms/UnixWare/Makefile
> util/Platforms/Tru64/Makefile util/Platforms/MacOS/Makefile
> util/Platforms/Win32/Makefile util/Platforms/Cygwin/Makefile
> util/Compilers/Makefile util/MsgLoaders/InMemory/Makefile
> util/MsgLoaders/ICU/Makefile util/MsgLoaders/ICU/resources/Makefile
> util/MsgLoaders/MsgCatalog/Makefile util/MsgLoaders/MsgFile/Makefile
> util/NetAccessors/Socket/Makefile util/NetAccessors/libWWW/Makefile
> util/NetAccessors/MacOSURLAccessCF/Makefile util/regx/Makefile
> validators/Makefile validators/common/Makefile
> validators/datatype/Makefile validators/DTD/Makefile
> validators/schema/Makefile validators/schema/identity/Makefile
> framework/Makefile framework/psvi/Makefile dom/Makefile
> dom/impl/Makefile dom/deprecated/Makefile parsers/Makefile
> internal/Makefile sax/Makefile sax2/Makefile ../../obj/Makefile"}
>
> that is generated by these lines in the "configure" script:
>
> CONFIG_FILES=\${CONFIG_FILES-"Makefile \
> util/Makefile \
> util/Transcoders/Cygwin/Makefile \
> util/Transcoders/ICU/Makefile \
> util/Transcoders/Iconv/Makefile \
> util/Transcoders/Iconv390/Makefile \
> util/Transcoders/Uniconv390/Makefile \
> util/Transcoders/Iconv400/Makefile \
> util/Transcoders/IconvFBSD/Makefile \
> util/Transcoders/IconvGNU/Makefile \
> util/Transcoders/MacOSUnicodeConverter/Makefile \
> [..]
>
> Now, by chance, are you working on files using Unix-style newline
> characters? Otherwise, I don't see how the '\' at the end of the
> lines could end up in the generated script.
>
> Alberto
>
> At 02:50 PM 3/27/2006 +0200, S Verdoold wrote:
> >Hi Alberto,
> >some info about my MSys:
> >MSys: 1.0.10
> >bash: 2.05b.0
> >sed: 3.02
> >
> >Line 384 is basically the first line of a loop so I just post the
> >content of the loop:
> >******** start of loop *********
> >for ac_config_target in $ac_config_targets
> >do
> > case "$ac_config_target" in
> > # Handling of arguments.
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/Cygwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/Cygwin/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/ICU/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/ICU/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/Iconv/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/Iconv/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/Iconv390/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/Iconv390/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/Uniconv390/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/Uniconv390/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/Iconv400/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/Iconv400/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/IconvFBSD/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/IconvFBSD/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/IconvGNU/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/IconvGNU/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Transcoders/MacOSUnicodeConverter/Makefile" )
> >CONFIG_FILES="$CONFIG_FILES
> >util/Transcoders/MacOSUnicodeConverter/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Solaris/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/AIX/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/AIX/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/BeOS/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/BeOS/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/QNX/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/QNX/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Linux/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/FreeBSD/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/FreeBSD/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/NetBSD/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/NetBSD/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/HPUX/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/HPUX/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/OS390/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/OS390/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/OS400/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/OS400/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/IRIX/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/IRIX/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/PTX/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/PTX/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/OpenServer/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/OpenServer/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/UnixWare/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/UnixWare/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Tru64/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Tru64/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/MacOS/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/MacOS/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Win32/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Platforms/Cygwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Platforms/Cygwin/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/Compilers/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/Compilers/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/MsgLoaders/InMemory/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/MsgLoaders/InMemory/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/MsgLoaders/ICU/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/MsgLoaders/ICU/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/MsgLoaders/ICU/resources/Makefile" )
> >CONFIG_FILES="$CONFIG_FILES util/MsgLoaders/ICU/resources/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/MsgLoaders/MsgCatalog/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/MsgLoaders/MsgCatalog/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/MsgLoaders/MsgFile/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/MsgLoaders/MsgFile/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/NetAccessors/Socket/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/NetAccessors/Socket/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/NetAccessors/libWWW/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >util/NetAccessors/libWWW/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/NetAccessors/MacOSURLAccessCF/Makefile" )
> >CONFIG_FILES="$CONFIG_FILES
> >util/NetAccessors/MacOSURLAccessCF/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "util/regx/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/regx/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/Makefile" ) CONFIG_FILES="$CONFIG_FILES validators/Makefile"
> > ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >validators/common/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/datatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >validators/datatype/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/DTD/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >validators/DTD/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/schema/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >validators/schema/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "validators/schema/identity/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >validators/schema/identity/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "framework/Makefile" ) CONFIG_FILES="$CONFIG_FILES framework/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "framework/psvi/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >framework/psvi/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES dom/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "dom/impl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dom/impl/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "dom/deprecated/Makefile" ) CONFIG_FILES="$CONFIG_FILES
> >dom/deprecated/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "parsers/Makefile" ) CONFIG_FILES="$CONFIG_FILES parsers/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "internal/Makefile" ) CONFIG_FILES="$CONFIG_FILES internal/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES sax/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "sax2/Makefile" ) CONFIG_FILES="$CONFIG_FILES sax2/Makefile" ;;
> > "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;
> > "../../obj/Makefile" ) CONFIG_FILES="$CONFIG_FILES ../../obj/Makefile" ;;
> > *) { { echo "$as_me:$LINENO: error: invalid argument:
> > $ac_config_target" >&5
> >echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
> > { (exit 1); exit 1; }; };;
> > esac
> >done
> >********** end of loop **********
> >
> >Hopefully this make things a bit more clear (I am sorry for the length
> >of posting)
> >Thanks a lot already!
> >
> >Sjaak
> >
> >
> >2006/3/27, Alberto Massari <[EMAIL PROTECTED]>:
> > > Hi Sjaak,
> > > I am able to compile using MinGW+MSys on Windows XP; given the type
> > > of error, I would guess the fault could be in an older version of
> > > some of the Unix tools (sed or bash, I would guess).
> > > Can you post the lines around line 384 of config.status that has been
> > > generated, along with the version of MSys and sed you are using?
> > >
> > > Thanks,
> > > Alberto
> > >
> > > At 11:44 AM 3/27/2006 +0200, S Verdoold wrote:
> > > >I am trying to compile xercesx 2.7 under mingw+msys on a win2000 machine.
> > > >Following the build instructions I use
> > > >"runConfigure -p mingw-msys"
> > > >to configure.
> > > >However, this results in the following message:
> > > >
> > > >configure: creating ./config.status
> > > >./config.status: line 384: syntax error near unexpected token `\"'
> > > >./config.status: line 384: ` "\" ) CONFIG_FILES="$CONFIG_FILES \" ;;'
> > > >
> > > >Exactly the same error I get when I run configure directly and the
> > > >same things happen if i try to compile xercesc 2.6.
> > > >I think the problem is not with runConfigure but I am not sure.
> > > >Did someone succeed in building 2.7 with mingw+msys?
> > > >
> > > >Any hint is highly appreciated!
> > > >
> > > >Sjaak
> > >
> > >
>
>