At 16.44 20/02/2007 +0200, William Parker wrote:
ok this now works but i am having a problem with gmake even though every path i use is unix-like now. i have seen it in a thread, so i have set: export XERCESCROOT=c/xercesc, (my xerces root directory is c/xercesc) but when i run make(gmake) i get the following
You need to use the absolute path, like /cygdrive/c/xercesc Alberto
(C++) Base64.o In file included from C/xercesc/include/xercesc/util/Base64.hpp:24, from Base64.cpp:24: C/xercesc/include/xercesc/util/XercesDefs.hpp:222:59: xercesc/util/Platforms/Cygwin/CygwinDefs.hpp: No such file or directory In file included from C/xercesc/include/xercesc/util/BaseRefVectorOf.hpp:21, from C/xercesc/include/xercesc/util/XMLString.hpp:249, from Base64.cpp:25: C/xercesc/include/xercesc/util/PlatformUtils.hpp:217: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:218: error: ISO C++ forbids declaration of `theFile' with no type C/xercesc/include/xercesc/util/PlatformUtils.hpp:230: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:231: error: ISO C++ forbids declaration of `theFile' with no type C/xercesc/include/xercesc/util/PlatformUtils.hpp:243: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:244: error: ISO C++ forbids declaration of `theFile' with no type C/xercesc/include/xercesc/util/PlatformUtils.hpp:256: error: `FileHandle' does not name a type C/xercesc/include/xercesc/util/PlatformUtils.hpp:269: error: `FileHandle' does not name a type C/xercesc/include/xercesc/util/PlatformUtils.hpp:282: error: `FileHandle' does not name a type C/xercesc/include/xercesc/util/PlatformUtils.hpp:295: error: `FileHandle' does not name a type C/xercesc/include/xercesc/util/PlatformUtils.hpp:308: error: `FileHandle' does not name a type C/xercesc/include/xercesc/util/PlatformUtils.hpp:328: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:332: error: ISO C++ forbids declaration of `theFile' with no type C/xercesc/include/xercesc/util/PlatformUtils.hpp:350: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:354: error: ISO C++ forbids declaration of `theFile' with no type C/xercesc/include/xercesc/util/PlatformUtils.hpp:365: error: `FileHandle' has not been declared C/xercesc/include/xercesc/util/PlatformUtils.hpp:366: error: ISO C++ forbids declaration of `theFile' with no type In file included from Base64.cpp:27: /usr/include/xercesc/internal/XMLReader.hpp: In member function `bool xercesc_2_7::XMLReader::isXMLLetter(XMLCh)': /usr/include/xercesc/internal/XMLReader.hpp:631: error: `gLetterCharMask' undeclared (first use this function) /usr/include/xercesc/internal/XMLReader.hpp:631: error: (Each undeclared identifier is reported only once for each function it appears in.) gmake[1]: *** [Base64.o] Error 1 gmake: *** [Util] Error 2 i have downloaded the .tar.gz, but was this a 64-bit source? or is the error related to something else ? thanks On 2/19/07, Will Sappington <[EMAIL PROTECTED]> wrote:> -----Original Message----- > From: David Bertoni [mailto:[EMAIL PROTECTED] > Sent: Monday, February 19, 2007 3:23 PM > To: [email protected] > Subject: Re: building xerces with cygwin > > William Parker wrote: >> hi >> i have downloaded the xerces 2.7.0 source zip. >> i have tried to build with cygwin , but i could not run runconfig >> nor build the config file with autoconf. >> >> ./runconfig would generate building errors : >> unexpected at line 21 token 'usage' >> unexpected at line 44 token ' ' >> my cygwin version is the latest. >> appreciate the help > >You should try downloading the tar.gz version, since the issue may be with >the Windows CR/LF pairs in the .zip version. > >Dave Agreed, this is probably the issue. There are differences between the tar.gz and zip distributions. I tried building for VC++ from the tar.gz (after successfully building for Cygwin) and VC++ couldn't read the .dsw/dsp project files because they all had Unix newlines (LF only), not DOS CR/LF. -will
