From: "Samantha Savvakis" <[EMAIL PROTECTED]>

> OpenServerDefs.hpp
> /u/apps/xerces-c-src1_7_0/include/xercesc/util/Platforms/OpenServer
>
++ -DOPENSERVER -belf -c -g -O2  -I/u/apps/xerces-c-src1_7_0/include  
-o
> /u/apps/xerces-c-src1_7_0/obj/OPENSERVER/OpenServerPlatformUtils.o
> OpenServerPlatformUtils.cpp
> OpenServerPlatformUtils.cpp:112:
> xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp: No such file
or
> directory

Xerces-C++ is not fully autoconf compliant and uses a pretty "hacky"
approach to determining which compiler you are using. For the
OpenServer port you must specify "-xg++" to runConfigure if you are
using gcc. ("-xc++" will not work.)

I also noted this in your output:
> c++ -DOPENSERVER -belf -c -g -O2
I don't see any "-fPIC" or "-KPIC"... Did you specify the correct
platform with the -p option to runConfigure?

I just downloaded the 2002-05-10 nightly build and it compiles out of
the box on OpenServer 5.0.5. Thread support requires external
libraries on OpenServer, so your best bet to get something up and
running is to build a single-threaded xerces lib with:
1. runConfigure -popenserver -cgcc -xg++ -rnone
2. gmake

Regards,
 Martin


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

Reply via email to