xerces-c-src1_7_0.tar.gz and does not compile with any newer versions as DOM interface used has been deprecated by the Xerces devolopment team).
~/lib.
~/lib with tar zxvf xerces-c-src1_7_0.tar.gz
cd ~/lib/xerces-c-src1_7_0.
pwd should show the full path to the current directory.
XERCESCROOT environment variable permanently to your start up script.
bash do this:
.bashrc : export XERCESCROOT=<Path from previous step>
tcsh do this:
.cshrc : setenv XERCESCROOT <Path from previous step>
source ~/.bashrc or source ~/.cshrc
cd into the src/xercesc subdirectory of the $XERCESCROOT directory
Makefile.incl to build a version of Xerces-C lib that is compatible with OMNeT++. To do this, find the section marked LINUX specific options, and
-D_REENTRANT.
OPTIONAL Add -UNDEBUG to build with assertion checking for debug builds
UNECESSARY for 1.7 Add the -D__USE_UNIX98 to prevent compiler/linker errors.
sh ./runConfigure -r none -plinux -cgcc -xg++ -minmem -nfileonly -tnative
We need to fix a problem before running the make: Edit util/Makefile to not build the NetAccessors by removing netaccessors from the all target on line 482. Also prepend a hash symbol (#) at line 488 which should look like${MAKE} -C NetAccessors/$(NETACCESSORMODULE) $@ make
cd $XERCESCROOT/lib
libxerces-c1_7_0.so exists.
ln -s libxerces-c1_7_0.so libxerces-c.so
cd $XERCESCROOT/include
ln -s xercesc/* .
| Topic InstallingXerces-C . { Edit | Attach | Ref-By | Printable | Diffs | r1.3 | > | r1.2 | > | r1.1 | More } |
|
Revision r1.3 - 11 May 2005 - 12:01 GMT - AhmetSekercioglu Parents: WebHome > IPv6Suite > Main |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |