DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29612>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29612 Build fails if no ICUROOT set Summary: Build fails if no ICUROOT set Product: XalanC Version: 1.8 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Context: The OS has gcc/3.3 as the default. However I'm using gcc/3.4 to build Xalan with LD_LIBRARY_PATH, etc. set appropriately. Problem: executing MsgCreator under make gives an error about /lib/libgcc_s.so being version 3.3. Diagnosis: there is this line in the LINUX section of Makefile.incl: export LD_LIBRARY_PATH := $(XERCESCROOT)/lib:$(ICUROOT)/lib:$(LD_LIBRARY_PATH) ICUROOT is not set, so the exported LD_LIBRARY_PATH gets a /lib component ahead of the desired components. The wrong version of libgcc_s.so is found in /lib. Workaround: 'make ICUROOT=/dev/null' injects a /dev/null/lib path component instead and the correct version of libgcc_s.so is found. Suggested fix: rewrite the export LD_... and the ifdef just before it. ifdef XALAN_USE_ICU ... LD_ICU = $(ICUROOT)/lib: endif ... export LD_LIBRARY_PATH := $(XERCESCROOT)/lib:$(LD_ICU)$(LD_LIBRARY_PATH) Alternatively add an else clause and use two export LD_... statements. A similar fix is needed for other platforms; export LIB_PATH, etc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
