Incorrect environment variables building for linux
--------------------------------------------------
Key: XERCESC-1695
URL: https://issues.apache.org/jira/browse/XERCESC-1695
Project: Xerces-C++
Issue Type: Bug
Components: Build
Affects Versions: 2.7.0
Environment: Debian GNU/Linux Stable
Linux Kernel 2.6.21
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
GNU Make 3.81
Built for an IBM T40 with a Pentium M
Reporter: Adam Connelly
When I run the suggested build process, not everything appears to work. For
example here's what I have to do to get the libraries to install correctly
(where the tarball has been extracted to $MY_ROOT):
export XERCESCROOT=$MY_ROOT/xerces-c-src_2_7_0
cd $XERCESCROOT/src/xercesc
./runConfigure -plinux -cgcc -xg++
Now I have to edit the Makefile that has been created, and after the
VALIDATORS_DIR variable is set, I have to add another variable
"XML_OBJ=../../obj"
Now if I run make, it will build everything fine.
Once everything is built, I run make install. make install works until it has
to run the makefile in the obj dir. When the obj makefile is run, it tries to
copy the libraries that have been built from /lib instead of $XERCESCROOT/lib
which causes the build to fail. I resorted to copying the files and creating
the links manually at this point because I'm not familiar enough with makefiles
and shell scripting to solve this error.
Hope that helps, and I hope it's not just me being stupid!
ac
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]