Xalan folks, There appears to be a fairly consistent problem (judging by Google searches) with the resulting Makefile structure from the runConfigure command using GNUmake on Mac OS X (this is 10.5/Leopard).
Details below. Is there a fairly consistent fix? -- Richard Haas <[email protected]> -- rhaas$ ./runConfigure -p macosx -c gcc -x g++ -P $HOME/bin Generating makefiles with the following options ... Platform: macosx C Compiler: gcc C++ Compiler: g++ Extra compile options: Extra link options: Transcoder: default Localization system: inmem Locale: en_US Thread option: bitsToBuild option: 32 Extra configure options: --prefix=/Users/rhaas/bin Debug is OFF checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for autoconf... autoconf checking whether -fno-elide-constructors works correctly... yes checking build system type... i686-apple-darwin9.6.0 checking host system type... i686-apple-darwin9.6.0 checking for floor in -lm... yes checking how to run the C++ preprocessor... g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for mbstowcs... yes checking if mbstowcs can count only... yes configure: creating ./config.status config.status: creating Makefile.incl config.status: creating Makefile config.status: creating src/xalanc/Makefile config.status: creating src/xalanc/Utils/Makefile config.status: creating src/xalanc/Utils/MsgCreator/Makefile config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile config.status: creating samples/Makefile config.status: creating Tests/Makefile If the result of the above commands look OK to you, go to the directory /Users/rhaas/Applications/xml-tools/xml-xalan/c and type "gmake" or "make" to make the XALAN-C system. Note: You must use GNU make to use the Xalan Makefile. rhaas$ pwd /Users/rhaas/Applications/xml-tools/xml-xalan/c rhaas$ make /usr/bin/make -C src/xalanc all Preparing the directory structure for a build ... mkdir -p ../../obj mkdir -p ../../lib mkdir -p ../../bin /usr/bin/make -C Utils prepare mkdir -p ../../../nls mkdir -p ../../../nls/include /usr/bin/make -C Utils locale /usr/bin/make -C MsgCreator g++ -O -DNDEBUG -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER \ -L/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: library not found for -lxerces-c collect2: ld returned 1 exit status make[3]: *** [../../../../bin/MsgCreator] Error 1 make[2]: *** [../../../bin/MsgCreator] Error 2 make[1]: *** [locale] Error 2 make: *** [all] Error 2 rhaas$ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for powerpc-apple-darwin9.0 --
