Hi Nick,

I think the dependency problems with building the message loaders is now
fixed, so you won't see this problem in the next release.  In the meantime,
you can manually remove the symlinks before you start the install.

As far as the deprecated -ptr option -- I'll take a look at the compiler
docs, but it's probably a remnant from earlier versions of the Sun
compiler.

Thanks!

Dave



|---------+--------------------------->
|         |           Nick Bastin     |
|         |           <[EMAIL PROTECTED]|
|         |           om>             |
|         |                           |
|         |           03/30/2004 01:13|
|         |           PM              |
|         |           Please respond  |
|         |           to xalan-c-users|
|---------+--------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                                     |
  |        To:      [email protected]                                
                                                                     |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                        
                                                                     |
  |        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



Reply via email to