I had this occur on Solaris 8 x86 as well when attempting an informal test to see if we could/should upgrade. I think the quick fix was to remove the symbolic links (IIRC there are a couple) in "../../../../lib" and run make install again. I believe the problem is that make install doesn't remove links before trying to recreate them and ln would not overwrite the existing link (created during a previous make install or during the actual build or both??).
- Scott -----Original Message----- From: Nick Bastin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 4:14 PM To: [email protected] Subject: Building 1.7.0 on solaris 8 with ICU (install problem) 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
