Dear Apache Community, It worked, finally! My How-To is attached, and may it helps somebody else. Thanks again soooo much for help, tipps and hints. 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 > -----Ursprüngliche Nachricht----- > Von: Luc I. Suryo [mailto:lsuryo@xxxxxxxxx] > Gesendet: Freitag, 11. Juli 2008 05:23 > An: Wulf Kaiser > Betreff: Re: Update: AW: [users@httpd] Strange > compile / build problem: Apache 2.2.9 under Solaris 10 SPARC > > > try this > > CC=/opt/SUNWspro/bin/cc \ > CXX=/opt/SUNWspro/bin/CC \ > CFLAGS="-O2 -m64 -I/usr/include -I/usr/sfw/include > -I/opt/csw/include I/opt/csw/bdb4/include" \ > CXXFLAGS="-O2 -m64 -I/usr/include -I/usr/sfw/include > -I/opt/csw/include I/opt/csw/bdb4/include" \ LDFLAGS="-s -m64 > -Wl,-R/opt/csw/lib -Wl/opt/sfw/lib -L/opt/sfw/lib" \ > ./configure ...... > > adjust the -I, -L and -R as needed, realize the -m64 is > needed to compile 64 bits and the it should find the correct > 64 bits libs under /usr/sfw/lib/sparcv9 > > make sure everything IS 64 bits! > > good luck! > > -luc > > > > 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/cs > > w/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@xxxxxxxxxxxxxx] > > > Gesendet: Dienstag, 8. Juli 2008 18:51 > > > An: Wulf Kaiser > > > Cc: users@xxxxxxxxxxxxxxxx > > > Betreff: Re: 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 >
### env ### bash-3.00# PATH="/usr/sfw/bin:/opt/csw/bin:/usr/bin:/usr/sbin:/usr/ccs/bin" bash-3.00# CC="gcc" bash-3.00# CFLAGS="-O3 -fPIC -Wall" bash-3.00# CXX="g++" bash-3.00# CXXFLAGS="-O3 -fPIC -Wall" bash-3.00# CPPFLAGS="-I/usr/local/apache-2.2.9/include" bash-3.00# LDFLAGS="-R/usr/local/apache-2.2.9/lib -L/usr/local/apache-2.2.9/lib" bash-3.00# LD_OPTIONS="$LDFLAGS" unset LD_LIBRARY_PATH export PATH CC CFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS LD_OPTIONS bash-3.00# alias make=gmake ### openldap-2.3.39 ### bash-3.00# cd /usr/local/src/openldap bash-3.00# gunzip < openldap-stable-20071118.tgz | gtar xvof - bash-3.00# cd openldap-2.3.39 bash-3.00# ./configure \ --prefix=/usr/local/openldap-2.3.39 \ --disable-slapd \ --disable-slurpd \ --with-tls bash-3.00# gmake depend bash-3.00# gmake bash-3.00# gmake install installing slapacl.8 in /usr/local/openldap-2.3.39/man/man8 installing slapadd.8 in /usr/local/openldap-2.3.39/man/man8 installing slapauth.8 in /usr/local/openldap-2.3.39/man/man8 installing slapcat.8 in /usr/local/openldap-2.3.39/man/man8 installing slapd.8 in /usr/local/openldap-2.3.39/man/man8 installing slapdn.8 in /usr/local/openldap-2.3.39/man/man8 installing slapindex.8 in /usr/local/openldap-2.3.39/man/man8 installing slappasswd.8 in /usr/local/openldap-2.3.39/man/man8 installing slaptest.8 in /usr/local/openldap-2.3.39/man/man8 installing slurpd.8 in /usr/local/openldap-2.3.39/man/man8 gmake[3]: Leaving directory `/local/src/openldap/openldap-2.3.39/doc/man/man8' gmake[2]: Leaving directory `/local/src/openldap/openldap-2.3.39/doc/man' gmake[1]: Leaving directory `/local/src/openldap/openldap-2.3.39/doc' bash-3.00# cd /usr/local bash-3.00# ln -s openldap-2.3.39 openldap ### libxml2-2.6.11 ### bash-3.00# cd /usr/local/src/libxml bash-3.00# gunzip < libxml2-2.6.11.tar.gz | gtar xvof - bash-3.00# cd libxml2-2.6.11 bash-3.00# ./configure --prefix=/usr/local bash-3.00# gmake bash-3.00# gmake install ### httpd-2.2.9 ### bash-3.00# cd /usr/local/src/apache bash-3.00# gunzip < httpd-2.2.9.tar.gz | gtar xovf - bash-3.00# cd httpd-2.2.9 ##### buildconf ##### bash-3.00# ./buildconf ##### apr ##### bash-3.00# cd srclib/apr bash-3.00# ./configure \ --prefix=/usr/local/apache-2.2.9 \ --exec-prefix=/usr/local/apache-2.2.9 bash-3.00# gmake bash-3.00# gmake install ##### apr-util ##### bash-3.00# cd ../apr-util bash-3.00# ./configure \ --prefix=/usr/local/apache-2.2.9 \ --exec-prefix=/usr/local/apache-2.2.9 \ --with-apr=/usr/local/apache-2.2.9 \ --with-ldap=ldap \ --with-ldap-include=/usr/local/openldap/include \ --with-ldap-lib=/usr/local/openldap/lib bash-3.00# gmake bash-3.00# gmake install bash-3.00# cd /usr/local/src/apache/httpd-2.2.9 bash-3.00# ##### httpd ##### ./configure \ --prefix=/usr/local/apache-2.2.9 \ --exec-prefix=/usr/local/apache-2.2.9 \ --with-apr=/usr/local/apache-2.2.9 \ --with-apr-util=/usr/local/apache-2.2.9 \ --enable-nonportable-atomics=yes \ --with-mpm=prefork \ --with-ssl \ --enable-ssl=shared \ --with-ldap=ldap \ --with-ldap-include=/usr/local/openldap/include \ --with-ldap-lib=/usr/local/openldap/lib \ --enable-ldap \ --enable-authnz-ldap \ --enable-dav \ --enable-dav-fs \ --enable-dav-lock \ --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 bash-2.05# gmake bash-2.05# gmake install
Attachment:
smime.p7s
Description: S/MIME cryptographic signature