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



Reply via email to