Hello;

i finally had a work at home day that could be appropriately utilized by
getting xerces-c to build *and* run the samples on my FreeBSD 4.5-RELEASE
box.

perhaps there are people out there who got this to work without a
problem, but i never saw them chime in when i was helping the *other*
freebsd person who was having trouble, so i suspect otherwise.

So, i'll write this in a form sutiable for adding to the build
instructions:

Building xerces-c version 1.7 on FreeBSD 4.5-RELEASE

KEY PREREQUISITES:

1. current gnu libiconv  and gnu make successfully installed

 note that the convention for freebsd is to symlink gnu make to be gmake

2. hand repair bug 7162 "IconvFreeBSDTransService.cpp needs an #include
statement fixed to use xercesc"

change line 284 in
xerces-c-src1_7_0/src/xercesc/util/Transcoders/IconvFBSD/IconvFreeBSDTransService.cpp

from #  include <util/Mutexes.hpp>

to   #  include <xercesc/util/Mutexes.hpp>


Building xerces-c

sh runConfigure -pfreebsd -d  -tIconvFBSD

if this completes successfully, which it should;

gmake

if this completes successfully, which it should;

su to root and 

gmake install


Building and running the samples:

pass the LDFLAG variable on the command line so that the samples will link
in libiconv successfully:

gmake LDFLAGS="-L/usr/local/lib/ -liconv"


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

Reply via email to