|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Strange compile / build problem: Apache 2.2.9 under Solaris 10 SPARCHi 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 |
|
|
Re: Strange compile / build problem: Apache 2.2.9 under Solaris 10 SPARCHi Wulf, There's an issue with 2.2.9's configure https://issues.apache.org/bugzilla/show_bug.cgi?id=45221#c6 Running ./buildconf should solve it. > 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" \ I suggest you use -lssl_extra -lcrypto_extra, provided by SUNWcry for higher level encryption. > ./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 As you're on Solaris, you might want to also take a look at: http://httpd.apache.org/docs/2.2/misc/perf-tuning.html#compiletime > Best, > > Wulf Kaiser So long, Igor --------------------------------------------------------------------- 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@... " from the digest: users-digest-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
AW: Strange compile / build problem: Apache 2.2.9 under Solaris 10 SPARCHi Igor,
I did as you suggested. buildconf & configure worked fine, but then during make ... *** Error code 1 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 *** Error code 1 The following command caused the error: otarget=`echo all-recursive | sed s/-recursive//`; \ list='xml dbd dbm encoding hooks buckets misc crypto uri strmatch memcache dbm/sdbm ldap xlate '; \ for i in $list; do \ if test -f "$i/Makefile"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z "libaprutil-1.la aprutil.exp apu-config.out ldap/apr_ldap.la"; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/apache/httpd-2.2.9/srclib/apr-util *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' apr apr-util pcre '; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z ''; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' Current working directory /local/src/apache/httpd-2.2.9/srclib *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' srclib os server modules support'; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'httpd shared-build '; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' Is it a problem with the Sun LDAP libs? Liebe Grüsse, 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 > -----Ursprüngliche Nachricht----- > Von: Igor Galic [mailto:i.galic@...] > Gesendet: Dienstag, 8. Juli 2008 18:51 > An: Wulf Kaiser > Cc: users@... > Betreff: Re: [users@httpd] Strange compile / build problem: > Apache 2.2.9 under Solaris 10 SPARC > > > Hi Wulf, > > There's an issue with 2.2.9's configure > https://issues.apache.org/bugzilla/show_bug.cgi?id=45221#c6 > > Running ./buildconf should solve it. > > > 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" \ > > I suggest you use -lssl_extra -lcrypto_extra, provided by > SUNWcry for higher level encryption. > > > ./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 > As you're on Solaris, you might want to also take a look at: > > http://httpd.apache.org/docs/2.2/misc/perf-tuning.html#compiletime > > > Best, > > > > Wulf Kaiser > So long, > Igor > > --------------------------------------------------------------------- > 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@... > " from the digest: users-digest-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
Update: AW: [users@httpd] Strange compile / build problem: Apache 2.2.9 under Solaris 10 SPARCHi Igor, Hi all others,
At first: thanks for your help so far. I did everything again, checking every step double twice -- env 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/opt/csw/bdb4/lib -L/opt/csw/bdb4/lib -R/lib -L/lib -R/etc/lib -L/etc/lib" \ export CPPFLAGS="-I/usr/include -I/usr/sfw/include -I/opt/csw/include -I/opt/csw/bdb4/include" \ export CFLAGS="-I/usr/include -I/usr/sfw/include -I/opt/csw/include -I/opt/csw/bdb4/include" \ export PATH=/usr/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/usr/ccs/bin:/opt/csw/bdb4 /bin \ export LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib:/opt/csw/lib:/opt/csw/bdb4/lib:/lib:/e tc/lib \ export LD_RUN_PATH=/usr/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/usr/ccs/bin:/opt/c sw/bdb4/bin -- configure ./configure --prefix=/usr/local/apache-2.2.9 --with-included-apr --with-mpm=prefork --enable-nonportable-atomics=yes --with-ssl --enable-ssl=shared --with-ldap --enable-ldap=shared --enable-authnz-ldap=shared --enable-dav --enable-dav-fs --enable-auth-basic=shared --enable-auth-digest=shared --enable-authn-alias=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-static-rotatelogs but i still cannot build httpd-2.2.9 under Solaris 10 SPARC. builconf and configure ran fine, without errors or warnings, and then came make: *** Error code 1 *** Error code 1 The following command caused the error: otarget=`echo all-recursive | sed s/-recursive//`; \ list='xml dbd dbm encoding hooks buckets misc crypto uri strmatch memcache dbm/sdbm ldap xlate '; \ for i in $list; do \ if test -f "$i/Makefile"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z "libaprutil-1.la aprutil.exp apu-config.out ldap/apr_ldap.la"; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' apr apr-util pcre '; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z ''; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' srclib os server modules support'; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'httpd shared-build '; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ Fi Liebe Grüsse, 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 > -----Ursprüngliche Nachricht----- > Von: Igor Galic [mailto:i.galic@...] > Gesendet: Dienstag, 8. Juli 2008 18:51 > An: Wulf Kaiser > Cc: users@... > Betreff: Re: [users@httpd] Strange compile / build problem: > Apache 2.2.9 under Solaris 10 SPARC > > > Hi Wulf, > > There's an issue with 2.2.9's configure > https://issues.apache.org/bugzilla/show_bug.cgi?id=45221#c6 > > Running ./buildconf should solve it. > > > 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" \ > > I suggest you use -lssl_extra -lcrypto_extra, provided by > SUNWcry for higher level encryption. > > > ./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 > As you're on Solaris, you might want to also take a look at: > > http://httpd.apache.org/docs/2.2/misc/perf-tuning.html#compiletime > > > Best, > > > > Wulf Kaiser > So long, > Igor > |
| Free Forum Powered by Nabble | Forum Help |