Hello gIrIsh, I believe the problem is that the 'XERCESCROOT' environment variable is not exported. This variable needs to be exported from the current shell to be seen by other invoked processes. Run the following:
$ export XERCESCROOT In the console prior to calling 'make', and then the 'make' utility will be able to see the XERCESCROOT environment variable reference. Regards, Nicholas -----Original Message----- From: girishw [mailto:mail.gir...@yahoo.com] Sent: Monday, March 02, 2009 1:39 AM To: c-users@xerces.apache.org Subject: Re: Compile error while trying to 'make' /obj folder Alberto, You are correct. Although, the $XERCESCROOT was set, the 'make' was not able to read it somehow. I still don't understand 'why'. So, I added XERCESCROOT=/usr/local/src/xerces-c-src_2_7_0 at the beginning of the Makefile.incl and it solved the problem. Thanx. gIrIsh *********************************************************** girishw wrote: > > Hi Alberto, > > Yes. I have set the XERCESCROOT env variable. > > gir...@tempbox:/$ echo $XERCESCROOT > /usr/local/src/xerces-c-src_2_7_0 > gir...@tempbox:/$ > > Rebooted the system. Still getting the same error. > > gIrIsh > > ************************************************************************ *************** > > > > Alberto Massari wrote: >> >> The "make -C /obj -k " line makes me think you haven't set the >> XERCESCROOT env variable (note the C between XERCES and ROOT) >> >> Alberto >> >> girishw wrote: >>> Hi, >>> >>> I am trying to install xerces 2.7.0 on Ubuntu 8.10 server (Intrepid >>> Ibex). I >>> have followed all the build instructions as per the document. First, the >>> compilation was interrupted when the files were missing in >>> /include/xerces/dom/impl/ folder. I manually copied all the files from >>> the >>> source and ran 'make' again. Now, it is throwing below error: >>> >>> *** error start *** >>> (CP) /include/xercesc/validators/schema/identity >>> (CP) /include/xercesc/validators/common >>> (CP) /include/xercesc/validators/datatype >>> (CP) /include/xercesc/validators/DTD >>> (CP) /include/xercesc/validators/schema >>> (CP) /include/xercesc/validators/schema/identity >>> (CP) /include/xercesc/validators/schema/identity >>> toplevel Building /lib/libxerces-c.so.27.0 >>> make -C /obj -k >>> make[1]: Entering directory `/obj' >>> make[1]: *** No targets specified and no makefile found. Stop. >>> make[1]: Leaving directory `/obj' >>> make: *** [/lib/libxerces-c.so.27.0] Error 2 >>> gir...@tempbox:/obj$ >>> *** error end *** >>> >>> gir...@tempbox:/obj$ ls -l >>> total 20 >>> drwxr-xr-x 3 root root 20480 2009-02-27 17:59 LINUX >>> gir...@tempbox:/obj$ >>> >>> Can somebody help? >>> >>> Note - I must use xerces-c-2.7.0 due to some strict dependency. The >>> newer >>> version won't work. Hence, installing readily available ubuntu package >>> "libxerces-c2-dev" is not an option. Unfortunately, the older package >>> "libxerces27-dev" is deprecated in Intrepid. >>> >>> gIrIsh >>> >>> >> >> >> > > -- View this message in context: http://www.nabble.com/Compile-error-while-trying-to-%27make%27--obj-fold er-tp22246133p22283423.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.