Hi all, I have a strange compile / build problem with Apache 2.2.9 under Solaris 10 SPARC; all dependencies are resolved, no stress on the machine, ... But it just won't work. I tried to compile against the SSL and LDAP libraries shipped with Solaris. The Environment Flags: bash-3.00# export CC="/usr/sfw/bin/gcc" export LDFLAGS="-R/usr/sfw/lib/sparcv9 -L/usr/sfw/lib/sparcv9 -R/usr/lib -L/usr/lib -R/usr/sfw/lib -L/usr/sfw/lib -R/opt/csw/lib -L/opt/csw/lib -R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/opt/csw/bdb4/lib -L/opt/csw/bdb4/lib -R/lib -L/lib -R/etc/lib -L/etc/lib" \ export CPPFLAGS="-DSOLARIS2=10 -I/usr/include -I/usr/sfw/include -I/opt/csw/include -I/usr/local/ssl/include -I/opt/csw/bdb4/include" \ export CFLAGS="-O2 -mcpu=v9 -I/usr/include -I/usr/sfw/include -I/opt/csw/include -I/usr/local/ssl/include -I/opt/csw/bdb4/include" \ export PATH=/usr/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/usr/ccs/bin:/usr/local/ssl/bin:/opt/csw/bdb4/bin \ export LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib:/opt/csw/lib:/usr/local/ssl/lib:/opt/csw/bdb4/lib:/lib:/etc/lib \ export LD_RUN_PATH=/usr/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/usr/ccs/bin:/usr/local/ssl/bin:/opt/csw/bdb4/bin Then gunzip < httpd-2.2.9.tar.gz | gtar xvof - cd httpd-2.2.9 followed by ./configure --prefix=/usr/local/apache-2.2.9 --with-included-apr --with-mpm=prefork --with-ssl --enable-ssl=shared --with-ldap --enable-ldap=shared --enable-auth-basic=shared --enable-auth-digest=shared --enable-authn-alias=shared --enable-authnz-ldap=shared --enable-authn-file=shared --enable-authz-owner=shared --enable-cache=shared --enable-file-cache=shared --enable-mem-cache=shared --enable-disk-cache=shared --enable-proxy=shared --enable-proxy-connect=shared --enable-proxy-ftp=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --enable-proxy-balancer=shared --enable-cgi=shared --enable-rewrite=shared --enable-version=shared --enable-vhost-alias=shared --enable-so --enable-dav --enable-dav-fs --enable-cgi --enable-static-rotatelogs > /usr/local/src/apache/configure_229_full.out && make > /usr/local/src/apache/make_229_full.out && make install > /usr/local/src/apache/make_install_229_full.out Shell Output: configure: WARNING: Unrecognized options: --with-ldap configure: WARNING: Unrecognized options: --with-included-apr, --with-mpm, --with-ssl, --enable-ssl, --with-ldap, --enable-ldap, --enable-auth-basic, --enable-auth-digest, --enable-authn-alias, --enable-authnz-ldap, --enable-authn-file, --enable-authz-owner, --enable-cache, --enable-file-cache, --enable-mem-cache, --enable-disk-cache, --enable-proxy, --enable-proxy-connect, --enable-proxy-ftp, --enable-proxy-http, --enable-proxy-ajp, --enable-proxy-balancer, --enable-cgi, --enable-rewrite, --enable-version, --enable-vhost-alias, --enable-so, --enable-dav, --enable-dav-fs, --enable-cgi, --enable-static-rotatelogs configure: WARNING: netinet/sctp.h: present but cannot be compiled configure: WARNING: netinet/sctp.h: check for missing prerequisite headers? configure: WARNING: netinet/sctp.h: see the Autoconf documentation configure: WARNING: netinet/sctp.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/sctp.h: proceeding with the preprocessor's result configure: WARNING: netinet/sctp.h: in the future, the compiler will take precedence config.status: WARNING: 'apr-config.in' seems to ignore the --datarootdir setting configure: WARNING: Unrecognized options: --with-included-apr, --with-mpm, --with-ssl, --enable-ssl, --with-ldap, --enable-ldap, --enable-auth-basic, --enable-auth-digest, --enable-authn-alias, --enable-authnz-ldap, --enable-authn-file, --enable-authz-owner, --enable-cache, --enable-file-cache, --enable-mem-cache, --enable-disk-cache, --enable-proxy, --enable-proxy-connect, --enable-proxy-ftp, --enable-proxy-http, --enable-proxy-ajp, --enable-proxy-balancer, --enable-cgi, --enable-rewrite, --enable-version, --enable-vhost-alias, --enable-so, --enable-dav, --enable-dav-fs, --enable-cgi, --enable-static-rotatelogs configure: WARNING: Unrecognized options: --with-included-apr, --with-mpm, --with-ssl, --enable-ssl, --enable-ldap, --enable-auth-basic, --enable-auth-digest, --enable-authn-alias, --enable-authnz-ldap, --enable-authn-file, --enable-authz-owner, --enable-cache, --enable-file-cache, --enable-mem-cache, --enable-disk-cache, --enable-proxy, --enable-proxy-connect, --enable-proxy-ftp, --enable-proxy-http, --enable-proxy-ajp, --enable-proxy-balancer, --enable-cgi, --enable-rewrite, --enable-version, --enable-vhost-alias, --enable-so, --enable-dav, --enable-dav-fs, --enable-cgi, --enable-static-rotatelogs (repeated) atomic/unix/solaris.c: In function `apr_atomic_casptr': atomic/unix/solaris.c:71: warning: passing arg 2 of `atomic_cas_ptr' discards qualifiers from pointer target type atomic/unix/solaris.c:71: warning: passing arg 2 of `atomic_cas_ptr' discards qualifiers from pointer target type In file included from ldap/apr_ldap_stub.c:20: /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap.h:132:2: #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit. In file included from /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap.h:187, from ldap/apr_ldap_stub.c:20: /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap_init.h:141: error: syntax error before "LDAP" In file included from /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap.h:188, from ldap/apr_ldap_stub.c:20: /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap_option.h:219: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap_option.h:241: error: syntax error before "LDAP" In file included from /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap.h:189, from ldap/apr_ldap_stub.c:20: /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap_rebind.h:67: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/apr_ldap_rebind.h:82: error: syntax error before '*' token In file included from ldap/apr_ldap_stub.c:21: /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/private/apu_internal.h:49: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/private/apu_internal.h:54: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/private/apu_internal.h:56: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/private/apu_internal.h:59: error: syntax error before "LDAP" /usr/local/src/apache/httpd-2.2.9/srclib/apr-util/include/private/apu_internal.h:61: error: syntax error before '*' token ldap/apr_ldap_stub.c:76: error: syntax error before "LDAP" ldap/apr_ldap_stub.c: In function `apr_ldap_init': ldap/apr_ldap_stub.c:82: error: `pool' undeclared (first use in this function) ldap/apr_ldap_stub.c:82: error: (Each undeclared identifier is reported only once ldap/apr_ldap_stub.c:82: error: for each function it appears in.) ldap/apr_ldap_stub.c:83: error: `ldap' undeclared (first use in this function) ldap/apr_ldap_stub.c:83: error: `hostname' undeclared (first use in this function) ldap/apr_ldap_stub.c:83: error: `portno' undeclared (first use in this function) ldap/apr_ldap_stub.c:83: error: `secure' undeclared (first use in this function) ldap/apr_ldap_stub.c:83: error: `result_err' undeclared (first use in this function) ldap/apr_ldap_stub.c: At top level: ldap/apr_ldap_stub.c:103: error: syntax error before "LDAP" ldap/apr_ldap_stub.c: In function `apr_ldap_get_option': ldap/apr_ldap_stub.c:108: error: `pool' undeclared (first use in this function) ldap/apr_ldap_stub.c:109: error: `ldap' undeclared (first use in this function) ldap/apr_ldap_stub.c:109: error: `option' undeclared (first use in this function) ldap/apr_ldap_stub.c:109: error: `outvalue' undeclared (first use in this function) ldap/apr_ldap_stub.c:109: error: `result_err' undeclared (first use in this function) ldap/apr_ldap_stub.c: At top level: ldap/apr_ldap_stub.c:113: error: syntax error before "LDAP" ldap/apr_ldap_stub.c: In function `apr_ldap_set_option': ldap/apr_ldap_stub.c:118: error: `pool' undeclared (first use in this function) ldap/apr_ldap_stub.c:119: error: `ldap' undeclared (first use in this function) ldap/apr_ldap_stub.c:119: error: `option' undeclared (first use in this function) ldap/apr_ldap_stub.c:119: error: `invalue' undeclared (first use in this function) ldap/apr_ldap_stub.c:119: error: `result_err' undeclared (first use in this function) ldap/apr_ldap_stub.c: At top level: ldap/apr_ldap_stub.c:129: error: syntax error before "LDAP" ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_add': ldap/apr_ldap_stub.c:133: error: `pool' undeclared (first use in this function) ldap/apr_ldap_stub.c:134: error: `ld' undeclared (first use in this function) ldap/apr_ldap_stub.c:134: error: `bindDN' undeclared (first use in this function) ldap/apr_ldap_stub.c:134: error: `bindPW' undeclared (first use in this function) ldap/apr_ldap_stub.c: At top level: ldap/apr_ldap_stub.c:137: error: syntax error before '*' token ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_remove': ldap/apr_ldap_stub.c:141: error: `ld' undeclared (first use in this function) make: Fatal error: Command failed for target `ldap/apr_ldap_stub.lo' Current working directory /local/src/apache/httpd-2.2.9/srclib/apr-util make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/apache/httpd-2.2.9/srclib/apr-util make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/apache/httpd-2.2.9/srclib make: Fatal error: Command failed for target `all-recursive' Does anyone have had the same problems (or even a solution)? Best, Wulf Kaiser ___________________________ IT Services - Web & Database Development Webmaster www.mpimf-heidelberg.mpg.de Max-Planck-Institut für medizinische Forschung Jahnstrasse 29 - 69120 Heidelberg Fon +49 6221 486560 Fax +49 6221 486561 SHA1 Fingerprint: 6a a7 67 d6 e0 21 d1 59 d1 73 20 fb e8 b4 d9 51 ac aa 6d 17
Attachment:
configure_229_full.out
Description: Binary data
Attachment:
make_229_full.out
Description: Binary data
Attachment:
smime.p7s
Description: S/MIME cryptographic signature