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-folder-tp22246133p22283423.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.