I needed to use Xerces with a g++ 2.95.2 19991024 (release)
project on SunOS 5.7.

  Since there is no binary distribution, I downloaded and
built from source. I would like to report my success and
the changes I needed to make.

  Basically I followed the "build" instructions off
the web page.

  I wanted to put xerces in ~/stuff/xerces instead of
somewhere global, so I did a "make tarball" and then
extracted that. (I also wanted to be able to internally
distribute the resulting binary distribution.)

  The only things I needed to do to have what appears
to be a fully functional Xerces:

% cd ~/stuff/xerces-c-SOLARIS-g++-1_4/include/util
% cp -r ~/src/xerces-c-src1_4_0/include/util/Platforms .
% cp -r ~/src/xerces-c-src1_4_0/include/util/Compilers .
% cd ~/stuff/xerces-c-SOLARIS-g++-1_4/include
% cp -r ~/src/xerces-c-src1_4_0/include/validators .

  For some reason those directories didn't get handled
by the Makefile.

  Anyway, it seems to be fairly painless to get it going. Do
the developers intend to make a binary distribution available
for SOLARIS-g++?


  I do have trouble debugging my application. gdb dies saying
it cannot open the .so:

% gdb pathtest
(gdb) run
Starting program: a.out
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
ld.so.1: a.out: fatal: libxerces-c1_4.so: open failed: No such file or directory
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)

  My LD_LIBRARY_PATH is set and a.out runs fine as long
as I don't try to run it from gdb. Luckily, I always write
bug free code, so I don't really need to run gdb on it. ;)
Any suggestions?

  Thanks, and nice work on an excellent project.
  Dee Jay

+-----------------------------+------------------+-----------------------+
| Founding Partner            | Software Engineer| Dee Jay Randall, B.Sc.|
| Circular Reasoning          | Accrue Software  | M.Sc. Student, CS     |
| [EMAIL PROTECTED]| www.accrue.com   | ICQ # 43551676        |
+-----------------------------+------------------+-----------------------+
What is the average rank of every song ever written? 42  -- www.launch.com

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

Reply via email to