You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Matt Hoyt (JIRA)" <xa...@xml.apache.org> on 2004/12/16 20:36:57 UTC
[jira] Resolved: (XALANC-422) Build fails if no ICUROOT set
[ http://nagoya.apache.org/jira/browse/XALANC-422?page=history ]
Matt Hoyt resolved XALANC-422:
------------------------------
Assign To: (was: Xalan Developers Mailing List)
Resolution: Fixed
Fix Version: CurrentCVS
Fixed commited 2004/9/13
> Build fails if no ICUROOT set
> -----------------------------
>
> Key: XALANC-422
> URL: http://nagoya.apache.org/jira/browse/XALANC-422
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: 1.8
> Environment: Operating System: Linux
> Platform: PC
> Reporter: Pete Forman
> Fix For: CurrentCVS
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org