|
![]() ![]() ![]() |
Some specific flags are required in order to compile and link smoothly on HP-UX. In addition, the default make on HP-UX is not GNU make, so it's necessary to install GNU make. Using this buildall.sh command will work on HP-UX:
sh buildall.sh -m <path_to_gnu_make> -x aCC -c cc --with-berkeleydb-conf="CXXFLAGS=-AA" --with-xerces-conf="-l -lstd_v2 -l -lCsup_v2 -l -lm"
It is safest if you set your CXXFLAGS environment variable to include "-AA" before building. This ensures that the flag is properly passed to the Xerces-C environment. E.g. (shell):
$ CXXFLAGS="-AA" $ export CXXFLAGS $ sh buildall.sh ... (see above)
The error you may see if the -AA flag is not properly set during compilation is the following:
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data) from /home/db/dbxml-2.2.7/install/lib/libxerces-c.sl.27
The -lCsup_v2 in the command may not be necessary. It is probably required if you are using a scripting API that dynamically loads the BDB XML libraries, such as Tcl.
![]() ![]() ![]() |
Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.