build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking ---------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1396 URL: http://issues.apache.org/jira/browse/XERCESC-1396 Project: Xerces-C++ Type: Bug Components: Build Versions: 2.6.0 Environment: suse-linux 9.2, but affects other platforms, too Reporter: Axel Weiß Attachments: xml-xerces-fixed.patch 1. 'make distclean' leaves created files and directories Running 'make distclean' after building xerces-c leaves a non-clean source tree, as can be seen from the following scenario: [EMAIL PROTECTED]:~> cp -R xml-xerces xml-xerces-test [EMAIL PROTECTED]:~> cd xml-xerces-test/c [EMAIL PROTECTED]:~/xml-xerces-test/c> export XERCESCROOT=`pwd` [EMAIL PROTECTED]:~/xml-xerces-test/c> cd src/xercesc [EMAIL PROTECTED]:~/xml-xerces-test/c/src/xercesc> ./runConfigure -p linux -c gcc -x g++ ( 8< ) [EMAIL PROTECTED]:~/xml-xerces-test/c/src/xercesc> make ( 8< ) [EMAIL PROTECTED]:~/xml-xerces-test/c/src/xercesc> make distclean ( 8< ) [EMAIL PROTECTED]:~/xml-xerces-test/c/src/xercesc> cd [EMAIL PROTECTED]:~> diff -r xml-xerces xml-xerces-test Nur in xml-xerces-test/c: include. Nur in xml-xerces-test/c: lib. Nur in xml-xerces-test/c/obj: libxerces-c.so.26.map. Nur in xml-xerces-test/c/obj: libxerces-depdom.so.26.map. 2. invalid printing of library-name before linking Starting the linking step, the toplevel Makefile produces the following output: Building /home/axel/xml-xerces-test/c/lib/.so.26.0 This is invalid, as the actual library to be made is /home/axel/xml-xerces-test/c/lib/libxerces-c.so.26.0. I'll attach a patch that fixes both issues. Axel -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]