Hi,
It appears you are setting your XALANCROOT incorrectly. From the UNIX
build instructions (http://xml.apache.org/xalan-c/readme.html#unix):
3. Set the XALANCROOT environment variable to the path to the c directory
in the root of the Xalan-C++ distribution. For example, if the distribution
is located in "/home/xalan", you would set the XALANCROOT to
"/home/xalan/xml-xalan/c".
You should be setting: XALANCROOT=/usr/local/src/xml-xalan/c followed by
'cd $XALANCROOT/src/xalanc' and then execute 'runConfigure ...'.
A 'configure' file is shipped in the package, so there is no need to run
autoconf. Though it appears that there is an extra '+' in the
configure.in file that should not be there.
Pete Lancashire
<[EMAIL PROTECTED]
mbia.com> To
[email protected]
12/01/2003 07:03 cc
PM
Subject
build in solaris fails
lets see
bash-2.05# autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.
Copyright 2002 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.
bash-2.05# make --version
GNU Make 3.80
Copyright (C) 2002 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.
bash-2.05# bash-2.05# g++ --version
g++ (GCC) 3.3.2
Copyright (C) 2003 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.
bash-2.05#
untar the source in /usr/local/src/xml-xalan (directory name is from the
tar archive)
tar xzpf /net/fatdisk1/usr1/APACHE/Xalan-C_1_6-src.tar.gz.tar
XALANCROOT=/usr/local/src/xml-xalan/c/src/xalanc <-- in xerces this is
the ../xml-xalnan but not here
cd $XALANCROOT
autoconf
./runConfigure -p solaris -c gcc -x g++
[chop]
checking for ANSI C header files... yes
checking for mbstowcs... no
./configure: +: command not found <----- fun #1
configure: creating ./config.status
ok .. lets try again without autoconf
ok no corrupted configure file
bash-2.05# make
Preparing the directory structure for a build ...
mkdir -p /usr/local/src/xml-xalan/c/src/xalanc/obj
mkdir -p /usr/local/src/xml-xalan/c/src/xalanc/lib
mkdir -p /usr/local/src/xml-xalan/c/src/xalanc/bin
g++ -O -DNDEBUG -fno-elide-constructors -DSOLARIS -shared -fPIC
-lc -lm -lpthread -L/usr/lib -L/usr/local/lib -lc
-L/usr/local/src/xerces-c-src_2_3_0/lib -lxerces-c -o
/usr/local/src/xml-xalan/c/src/xalanc/lib/libxalan-c.so.16.0
ln -fs libxalan-c.so.16.0
/usr/local/src/xml-xalan/c/src/xalanc/lib/libxalan-c.so
ln -fs libxalan-c.so.16.0
/usr/local/src/xml-xalan/c/src/xalanc/lib/libxalan-c.so.16
make: *** No rule to make target
`/usr/local/src/xml-xalan/c/src/xalanc/src/xalanc/TestXSLT/process.cpp',
needed by `/usr/local/src/xml-xalan/c/src/xalanc/obj/process.o'. Stop.