Hi Nick,
As mentioned, the dependency issue has already been fixed.
The specific reason for the failure though was 'ln'. As mentioned by
Berin Lautenbach
(http://marc.theaimsgroup.com/?l=xalan-dev&m=107528687330706&w=2) 'ln' for
Solaris has slightly different semantics. I have committed his
suggestion that we explicitly delete symlinks before creating them.
-Matt.
Nick Bastin
<[EMAIL PROTECTED]
com> To
[email protected]
03/30/2004 cc
04:13 PM
Subject
Building 1.7.0 on solaris 8 with ICU
Please respond (install problem)
to
xalan-c-users
Xalan successfully builds ('make') on Solaris 8 with ICU, but when I
'make install' it fails with:
make -C XalanMsgLib
make[3]: Entering directory
`/usr/mil3/prod/opnet/tmp/i18n/xml-xalan/c/src/xalanc/Utils/
XalanMsgLib'
CC -O -DNDEBUG -I/tmp/icu/include -KPIC -mt -xs -ptr../../../../obj
-features=rtti -DSOLARIS -D_REENTRANT -I/stlport
-DXALAN_INMEM_MSG_LOADER -c
-I/usr/mil3/prod/opnet/tmp/i18n/xml-xalan/c/src
-I/usr/mil3/prod/opnet/tmp/i18n/xml-xalan/c/include
-I../../../../nls/include -I/tmp/xercesc//src/
-I/tmp/xercesc//include/xercesc -I/tmp/xercesc//include/ -o
../../../../obj/XalanMsgLib.o
/usr/mil3/prod/opnet/tmp/i18n/xml-xalan/c/src/xalanc/Utils/XalanMsgLib/
XalanMsgLib.cpp
CC -DSOLARIS -G -ptr -h libxalanMsg.so.17 -mt -lm -L/tmp/icu
-L/tmp/icu/lib -L/tmp/icu/data -lpthread -L/usr/local/SUNWspro/lib
-L/usr/ccs/lib -lc -lgen -L/tmp/xercesc//lib -lxerces-c
../../../../obj/XalanMsgLib.o -o ../../../../lib/libxalanMsg.so.17.0
CC: Warning: Warning: no directory is given for -ptr, using default
ln -fs libxalanMsg.so.17.0 ../../../../lib/libxalanMsg.so
ln: cannot create ../../../../lib/libxalanMsg.so: File exists
make[3]: *** [../../../../lib/libxalanMsg.so.17.0] Error 2
Has anybody else seen this problem? I would imagine there's some sort
of workaround, but I haven't thoroughly investigated it at this point.
I'm curious as to why make install is compiling more code, and also why
it's using flags in CC which have long been deprecated (-ptr).
--
Nick