httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stusynski, Dan" <dstusyn...@ptc.com>
Subject [users@httpd] Apache 2.2.6 Compile Error: --with-expat
Date Wed, 31 Oct 2007 20:37:46 GMT
Greetings list,

I'm having an issue I can't seem to resolve when compiling Apache 2.2.6
on both Sun Solaris 10 and AIX 5.3 machines with the expat library. I'm
running into a break when configuring with expat. The compile error is
below and appears solely related to expat. As such, I tried to compile
after I remove the --with-expat configure statement and everything
compiles fine.

The relevant configure script is below:
#!/bin/sh
# For debugging add --enable-maintainer-mode CC="gcc -static-libgcc" \
CFLAGS="-O2" \ ./configure \ "--with-mpm=worker" \
"--enable-layout=Apache" \
"--prefix=/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/bindi
st" \
"--with-expat=/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/s
rclib/apr-util/xml/expat" \ "--enable-static-support" \
"--enable-exception-hook" \ "--enable-so" \ "--enable-ldap=shared" \
"--enable-authnz-ldap=shared" \ "--enable-ssl=shared" \
"--enable-deflate=shared" \ "--enable-cache=shared" \
"--enable-disk-cache=shared" \ "--enable-file-cache=shared" \
"--enable-mem-cache=shared" \ "--enable-proxy=shared" \
"--enable-proxy-connect=shared" \ "--enable-proxy-ftp=shared" \
"--enable-proxy-http=shared" \ "--enable-proxy-ajp=shared" \
"--enable-charset-lite=shared" \ "--enable-logio=shared" \
"--enable-authn_alias=shared" \ "--enable-mods-shared=all" \
"--disable-auth-digest" \ "--without-pgsql" \
"--with-ssl=/home/snow/dstusynski/solarisSparc/openSSLg/openSSL_install"
\ "--with-ldap" \
"--with-ldap-include=/home/snow/dstusynski/solarisSparc/LDAPSDK/include"
\ "--with-ldap-lib=/home/snow/dstusynski/solarisSparc/LDAPSDK/lib" \
"$@"

Has anyone successfully compiled 2.2.6 with expat? Compiling Apache
2.2.4 in the same manner didn't result an any issues. Any insight is
appreciated at this point.

The actual compile error is below:

/bin/bash
/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr/libt
ool --silent --mode=compile gcc -static-libgcc -pthreads  -O2
-DHAVE_CONFI
G_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE64_SOURCE
-I/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr-ut
il/
include
-I/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr-ut
il/include/private
-I/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2
.6/srclib/apr/include
-I/home/snow/dstusynski/solarisSparc/LDAPSDK/include
-I/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr-ut
il/xml/e
xpat/include  -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:19: expat.h: No such file or directory
xml/apr_xml.c:66: error: parse error before "XML_Parser"
xml/apr_xml.c:66: warning: no semicolon at end of struct or union
xml/apr_xml.c:68: error: parse error before '}' token
xml/apr_xml.c: In function `find_prefix':
xml/apr_xml.c:82: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `start_handler':
xml/apr_xml.c:134: error: dereferencing pointer to incomplete type
xml/apr_xml.c:137: error: dereferencing pointer to incomplete type
xml/apr_xml.c:140: error: dereferencing pointer to incomplete type
xml/apr_xml.c:144: error: dereferencing pointer to incomplete type
xml/apr_xml.c:145: error: dereferencing pointer to incomplete type
xml/apr_xml.c:146: error: dereferencing pointer to incomplete type
xml/apr_xml.c:152: error: dereferencing pointer to incomplete type
xml/apr_xml.c:154: error: dereferencing pointer to incomplete type
xml/apr_xml.c:154: error: dereferencing pointer to incomplete type
xml/apr_xml.c:158: error: dereferencing pointer to incomplete type
xml/apr_xml.c:172: error: dereferencing pointer to incomplete type
xml/apr_xml.c:188: error: dereferencing pointer to incomplete type
xml/apr_xml.c:200: error: dereferencing pointer to incomplete type
xml/apr_xml.c:203: error: dereferencing pointer to incomplete type
xml/apr_xml.c:205: error: dereferencing pointer to incomplete type
xml/apr_xml.c:220: error: dereferencing pointer to incomplete type
xml/apr_xml.c:264: error: dereferencing pointer to incomplete type
xml/apr_xml.c:295: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `end_handler':
xml/apr_xml.c:307: error: dereferencing pointer to incomplete type
xml/apr_xml.c:311: error: dereferencing pointer to incomplete type
xml/apr_xml.c:311: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `cdata_handler':
xml/apr_xml.c:322: error: dereferencing pointer to incomplete type
xml/apr_xml.c:325: error: dereferencing pointer to incomplete type
xml/apr_xml.c:326: error: dereferencing pointer to incomplete type
xml/apr_xml.c:337: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `cleanup_parser':
xml/apr_xml.c:344: error: dereferencing pointer to incomplete type
xml/apr_xml.c:345: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `apr_xml_parser_create':
xml/apr_xml.c:352: error: dereferencing pointer to incomplete type
xml/apr_xml.c:352: error: dereferencing pointer to incomplete type
xml/apr_xml.c:354: error: dereferencing pointer to incomplete type
xml/apr_xml.c:355: error: dereferencing pointer to incomplete type
xml/apr_xml.c:355: error: dereferencing pointer to incomplete type
xml/apr_xml.c:355: error: dereferencing pointer to incomplete type
xml/apr_xml.c:357: error: dereferencing pointer to incomplete type
xml/apr_xml.c:360: error: dereferencing pointer to incomplete type
xml/apr_xml.c:362: error: dereferencing pointer to incomplete type
xml/apr_xml.c:363: error: dereferencing pointer to incomplete type
xml/apr_xml.c:371: error: dereferencing pointer to incomplete type
xml/apr_xml.c:372: error: dereferencing pointer to incomplete type
xml/apr_xml.c:373: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `do_parse':
xml/apr_xml.c:382: error: dereferencing pointer to incomplete type
xml/apr_xml.c:383: error: dereferencing pointer to incomplete type
xml/apr_xml.c:386: error: dereferencing pointer to incomplete type
xml/apr_xml.c:389: error: dereferencing pointer to incomplete type
xml/apr_xml.c:390: error: dereferencing pointer to incomplete type
xml/apr_xml.c:390: error: dereferencing pointer to incomplete type
xml/apr_xml.c:395: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `apr_xml_parser_done':
xml/apr_xml.c:412: error: dereferencing pointer to incomplete type
xml/apr_xml.c:418: error: dereferencing pointer to incomplete type
xml/apr_xml.c: In function `apr_xml_parser_geterror':
xml/apr_xml.c:426: error: dereferencing pointer to incomplete type
xml/apr_xml.c:430: error: dereferencing pointer to incomplete type
xml/apr_xml.c:448: error: dereferencing pointer to incomplete type
xml/apr_xml.c:448: error: dereferencing pointer to incomplete type
xml/apr_xml.c: At top level:
xml/apr_xml.c:67: error: storage size of `xp_err' isn't known
make[3]: *** [xml/apr_xml.lo] Error 1
make[3]: Leaving directory
`/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr-uti
l'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib/apr-uti
l'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/srclib'
make: *** [all-recursive] Error 1
ERROR: Failed to build Apache. See "build.log" for details. 


Dan Stusynski 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message