Axel,

I un-tarred the tarball into /usr/src/xerces-c-src_2_6_0

Then I did the following:

cd /usr/src/xerces-c-src_2_6_0/src/xercesc

export XERCESROOT=/usr/src/xerces-c-src_2_6_0

./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread

gmake

After this the make proceeded until this point:

--------------------------------------------------

gmake -C parsers
gmake[1]: Entering directory `/usr/src/xerces-c-src_2_6_0/src/xercesc/parsers'
mkdir -p /include/xercesc/parsers
cp -fp AbstractDOMParser.hpp DOMBuilderImpl.hpp XercesDOMParser.hpp 
SAXParser.hpp \ SAX2XMLReaderImpl.hpp  /include/xercesc/parsers
g++ -fPIC -DLINUX -D_REENTRANT -c -I/include -I/src -w -O -DPROJ_XMLPARSER  
-DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM 
-DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER 
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET   
  
-o /obj/LINUX/AbstractDOMParser.o AbstractDOMParser.cpp
AbstractDOMParser.cpp:45:44: xercesc/dom/impl/DOMAttrImpl.hpp: No such file or 
directory
AbstractDOMParser.cpp:46:48: xercesc/dom/impl/DOMTypeInfoImpl.hpp: No such 
file or directory
AbstractDOMParser.cpp:49:44: xercesc/dom/impl/DOMTextImpl.hpp: No such file or 
directory
AbstractDOMParser.cpp:50:48: xercesc/dom/impl/DOMDocumentImpl.hpp: No such 
file or directory
AbstractDOMParser.cpp:51:52: xercesc/dom/impl/DOMDocumentTypeImpl.hpp: No such 
file or directory
AbstractDOMParser.cpp:53:49: xercesc/dom/impl/DOMElementNSImpl.hpp: No such 
file or directory
AbstractDOMParser.cpp:54:46: xercesc/dom/impl/DOMEntityImpl.hpp: No such file 
or directory
AbstractDOMParser.cpp:55:55: xercesc/dom/impl/DOMEntityReferenceImpl.hpp: No 
such file or directory
AbstractDOMParser.cpp:56:48: xercesc/dom/impl/DOMNotationImpl.hpp: No such 
file or directory
AbstractDOMParser.cpp:59:61: 
xercesc/dom/impl/DOMProcessingInstructionImpl.hpp: No such file or directory
AbstractDOMParser.cpp:60:45: xercesc/dom/impl/DOMNodeIDMap.hpp: No such file 
or directory

------------------------------------------

So now I saw the include files are not being found, and I manually copied them
to /include/xercesc/dom/impl and re-issue gmake command.

Then the build continued until it switched into the xercesc-c-src_2_6_0/obj/
directory and there was an error because no object files were found.  I looked
at the make output and saw that they all went to /obj instead.

If I did something wrong, please let me know.

Ed






On Wednesday 22 June 2005 02:13 pm, you wrote:
>     [
> http://issues.apache.org/jira/browse/XERCESC-1448?page=comments#action_1231
>4245 ]
>
> Axel Weiss commented on XERCESC-1448:
> -------------------------------------
>
> Did you properly set the XERCESCROOT environment variable, before you run
> runConfigure and make? Usually, the build is done locally, below
> $XERCESCROOT only. After compiling, 'make install' copies headers and
> libraries to the install points.
>
> Please read the build instructions
> (http://xml.apache.org/xerces-c/build.html).
>
>                               Axel
>
> > Missing files in /include/xercesc & objects in wrong directory
> > --------------------------------------------------------------
> >
> >          Key: XERCESC-1448
> >          URL: http://issues.apache.org/jira/browse/XERCESC-1448
> >      Project: Xerces-C++
> >         Type: Bug
> >   Components: Build
> >     Versions: 2.6.0
> >  Environment: Slackware Linux 10.0 on AMD Athlon 2200+ with 256 MB RAM
> >     Reporter: Ed Crenshaw
> >     Priority: Minor
> >
> >
> > 1. I had to manually copy the *.hpp files from
> > xerces-c-src_2_6_0/src/xercesc/dom/impl to /include/xercesc/dom/impl to
> > get the compile to work
> > 2. The objects files were all placed in /obj/LINUX (in the root) instead
> > of xerces-c-src_2_6_0/obj. So I had to copy the Makefile from
> > xerces-c-src_2_6_0/obj to /obj, and copy the *.o files from /obj/LINUX to
> > /obj to get the library build to work.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to