David,

thanks for that. Oops. Bit embarassing really. 

Worked okay finally after that. Found very useful advice 
on the pecularities of ming-msys here, particularly about fixing the link
error between the xerces lib and
the object files. The instructions are for building a static library:

http://codesynthesis.com/projects/xsd/extras/build-windows.xhtml
http://codesynthesis.com/projects/xsd/extras/build-windows.xhtml 

many thanks again
ian



blipstation wrote:
> 
> dear all,
> 
> I am trying to compile xerces for xp through MSYS. Although  I can print
> the environment variable XERCESROOT, when I try to run to my
> ./runConfigure the following happens:
> 
> IAN [EMAIL PROTECTED] /c
> $ cd $XERCESROOT
> 
> IAN [EMAIL PROTECTED] /c/xerces-c-src_2_7_0
> 
> $ cd ./src/xercesc 
> 
> IAN [EMAIL PROTECTED] /c/xerces-c-src_2_7_0/src/xercesc
> 
> $ ./runConfigure -p mingw-msys -c gcc -x g++
> ERROR : You have not set your XERCESCROOT environment variable
> Though this environment variable has nothing to do with creating
> makefiles, this is just a general warning to prevent you from
> pitfalls in future. To use this script other than for -h output please
> set an environment variable called XERCESCROOT to indicate where you
> installed the XERCES-C files, and run this command again to proceed.
> See the documentation for an example if you are still confused.
> 
> XERCESROOT is set to c:/xerces-c-src_2_7_0
> 
> is that right or should it point to 
> 
> c:/xerces-c-src_2_7_0/lib
> 
> (presumably I need this so as to link to the library within the C++ IDE
> I'm using -Eclipse)
> or
> 
> c:/xerces-c-src_2_7_0/src/xercesc 
> (which after all is where the source does live)
> ?
> 
> As you can probably guess I am a bit of newbie so any help would be
> appreciated.
> 
> ian
> 
> 

-- 
View this message in context: 
http://www.nabble.com/XERCESROOT-environment-variable-on-MSYS-not-recognised-tf2709179.html#a7570167
Sent from the Xerces - C - Users mailing list archive at Nabble.com.

Reply via email to