Hi Mark,

The libxerces aliases under
/Users/mark/Documents/XALAN/XERCES/xerces-c-src2_4_0/lib
Should both be pointing to the  libxerces-c.24.0.dylib library.

-Matt




                                                                           
             Mark Goldstein                                                
             <[EMAIL PROTECTED]>                                              
                                                                        To 
             02/11/2004 12:40          [email protected]        
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Problem building XALAN on Mac OS-X  
               xalan-c-users           Panther                             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I'm trying to build XALAN/XERCES under Panther and I'm getting compile
errors during the make.
I have a hunch that I did not do everything necessary to install
XERCES. The installation as described on the main page
(http://xml.apache.org/xerces-c/build-winunix.html#UNIX) didn't work,
but when I used the extra runConfig parameters described on the list
(http://xml.apache.org/xerces-c/build-other.html#Mac) I was able to do
the make. I stopped there. But now, when I try to build XALAN on top of
it, I am getting compile errors.

I *think* I have successfullly built XERCES, I see the library
libxerces-c.24.0.dylib in XERCESCROOT/lib
but I also see two aliases (libxerces-c.24.dylib and libxerces-c.dylib)
that point at nothing. Is that a problem?

To build XALAN I set the two environment variables:
declare -x XALANCROOT="/Users/mark/Documents/XALAN/xml-xalan/c"
declare -x
XERCESCROOT="/Users/mark/Documents/XALAN/XERCES/xerces-c-src2_4_0"

and ran the make file like this:
Mark-Goldsteins-Computer:~/Documents/XALAN/xml-xalan/c mark$
./runConfigure -p macosx -c gcc -x c++

The compile runs for a while, then I get this:

c++ -O -DNDEBUG      -fno-elide-constructors -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
  \
   -lm  -lpthread  -L/usr/lib -L/usr/local/lib
-L/Users/mark/Documents/XALAN/XERCES/xerces-c-src2_4_0/lib -lxerces-c
../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o
../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o
../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o
../../../../bin/MsgCreator
ld: warning -L: directory name (/usr/local/lib) does not exist
ld: can't locate file for: -lxerces-c
gnumake[3]: *** [../../../../bin/MsgCreator] Error 1
gnumake[2]: *** [../../../bin/MsgCreator] Error 2
gnumake[1]: *** [locale] Error 2
gnumake: *** [all] Error 2

Have I missed a step in building/installing XERCES or is there a
problem configuring the XALAN build?
I have written about this to all three lists (xalan-c-users,
xerces-c-dev, and xalan-dev), sorry for any duplications.

Thanks  for you help.
-Mark



Reply via email to