You may need to install the expat-devel package. Regards Tim.
On Wed, 2008-12-10 at 12:42 -0800, twright123 wrote: > Here is the error: > > ./configure --with-apr=/usr/local/apr > > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking for working mkdir -p... yes > APR-util Version: 1.3.4 > checking for chosen layout... apr-util > 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 ISO C89... none needed > Applying apr-util hints file rules for i686-pc-linux-gnu > checking for APR... yes > setting CPP to "gcc -E" > adding "-pthread" to CFLAGS > setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE" > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for ldap support... > checking for default DBM... sdbm (default) > checking for pg_config... no > checking libpq-fe.h usability... no > checking libpq-fe.h presence... no > checking for libpq-fe.h... no > checking postgresql/libpq-fe.h usability... no > checking postgresql/libpq-fe.h presence... no > checking for postgresql/libpq-fe.h... no > checking sqlite3.h usability... no > checking sqlite3.h presence... no > checking for sqlite3.h... no > checking sqlite.h usability... no > checking sqlite.h presence... no > checking for sqlite.h... no > checking sybdb.h usability... no > checking sybdb.h presence... no > checking for sybdb.h... no > checking for odbc_config... no > checking sql.h usability... no > checking sql.h presence... no > checking for sql.h... no > checking odbc/sql.h usability... no > checking odbc/sql.h presence... no > checking for odbc/sql.h... no > checking Expat 1.95.x... no > checking old Debian-packaged expat... no > checking old FreeBSD-packaged expat... no > checking Expat 1.0/1.1... no > setting LDFLAGS to "-L/usr/local/lib" > adding "-I/usr/local/include" to CPPFLAGS > checking Expat 1.95.x in /usr/local... no > nulling LDFLAGS > removed "-I/usr/local/include" from CPPFLAGS > configuring package in xml/expat now > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > /usr/sordev/apr-util-1.3.4/xml/expat/configure: line 3079: syntax error near > unexpected token `lt_decl_varnames,' > /usr/sordev/apr-util-1.3.4/xml/expat/configure: line 3079: > `lt_if_append_uniq(lt_decl_varnames, SED, , ,' > configure failed for xml/expat > > > Timothy Bish wrote: > > > > On Wed, 2008-12-10 at 11:42 -0800, twright123 wrote: > >> First of all, I thank you for you quick response. > >> > >> I thought of that, and you are right. The apt-get version is really old. > >> I > >> downloaded the source for apr-1.3.3 and apr-util-1.3.4. I built apr, and > >> that worked. When I used --with-apr and the freshly build libraries, the > >> ./configure found it. > >> > >> However, there is no build documentation for the apr-util. I have trying > >> to > >> build that, but so far I have been unsuccessful. > > > > APR-Util is built pretty much the same way as APR except that you always > > have to tell it where APR is, I've always had success building it by > > running ./configure --with-apr=/usr which implies I've already installed > > the fresh build of APR in /usr, replace that with where you have 1.3 > > installed. > > > >> It might be a good idea to add apr-1.3 or higher and apr-util-1.3 or > >> higher > >> to the list of required libraries in the cms build instructions. > > > > I think there is a note in the README but I could be wrong about that, > > I know its mentioned on the release page. Documentation is an ongoing > > battle. > > > > > > -- > > Tim Bish > > http://fusesource.com > > http://timbish.blogspot.com/ > > > > > > > > > > -- Tim Bish http://fusesource.com http://timbish.blogspot.com/
