You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jens-Uwe Mager <ju...@helios.de> on 2001/10/12 22:15:39 UTC
httpd-2.0 on aix, did anyone try this?
I am trying to get httpd-2,0 (cvs of today) to work on AIX with loadable
modules enabled. Using the following configuration:
CC="xlc_r -qnogenpcomp -qnousepcomp" \
configure \
--prefix=/data/jum/apache \
--enable-so \
--enable-modules=most \
--enable-mods-shared=most \
--with-mpm=threaded
I get the following error:
/bin/sh /data/jum/httpd-2.0/srclib/apr/libtool --silent --mode=link
xlc_r -qnogenpcomp -qnousepcomp -g -qHALT=E -qLANGLVL=extended
-DNO_DBM_REWRITEMAP -D_USE_IRS -U__STR__ -D_THREAD_SAFE -I.
-I/data/jum/httpd-2.0/os/unix -I/data/jum/httpd-2.0/server/mpm/threaded
-I/data/jum/httpd-2.0/modules/http -I/data/jum/httpd-2.0/include
-I/data/jum/httpd-2.0/srclib/apr/include
-I/data/jum/httpd-2.0/srclib/apr-util/include
-I/data/jum/httpd-2.0/modules/dav/main -export-dynamic -o httpd
modules.lo -Wl,-bE:/server/httpd.exp modules/http/mod_http.la
server/mpm/threaded/libthreaded.la server/libmain.la os/unix/libos.la
/data/jum/httpd-2.0/srclib/pcre/libpcre.la
/data/jum/httpd-2.0/srclib/apr-util/libaprutil.la
/data/jum/httpd-2.0/srclib/apr/libapr.la -lm -liconv -lnsl -ldl
/data/jum/httpd-2.0/srclib/apr-util/xml/expat/lib/libexpat.la
ld: 0706-004 Cannot find or read export file: /server/httpd.exp
ld:accessx(): No such file or directory
make[1]: *** [httpd] Error 255
I am at a loss to explain in the build system jungle to explain where
the path to export file is munged up.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
Re: httpd-2.0 on aix, did anyone try this?
Posted by Ryan Bloom <rb...@covalent.net>.
> OK, I have looked into the build system a bit more and the following
> patch fixes the problem for me, that appears to be a typo in
> configure.in:
>
> Index: configure.in
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/configure.in,v
> retrieving revision 1.183
> diff -u -d -r1.183 configure.in
> --- configure.in 2001/09/30 07:57:14 1.183
> +++ configure.in 2001/10/15 14:56:30
> @@ -279,8 +279,8 @@
> fi
> case $host in
> *-ibm-aix*)
> - HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_blddir/server/httpd.exp"
> - SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_blddir/server/httpd.exp"
> + HTTPD_LDFLAGS="$HTTPD_LDFLAGS
> -Wl,-bE:$abs_builddir/server/httpd.exp" + SH_LDFLAGS="$SH_LDFLAGS
> -Wl,-bI:$abs_builddir/server/httpd.exp" ;;
> *beos)
> SH_LDFLAGS='$(top_builddir)/_APP_'
Committed, thanks.
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: httpd-2.0 on aix, did anyone try this?
Posted by Aaron Bannert <aa...@clove.org>.
> OK, I have looked into the build system a bit more and the following
> patch fixes the problem for me, that appears to be a typo in
> configure.in:
>
> Index: configure.in
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/configure.in,v
> retrieving revision 1.183
> diff -u -d -r1.183 configure.in
> --- configure.in 2001/09/30 07:57:14 1.183
> +++ configure.in 2001/10/15 14:56:30
> @@ -279,8 +279,8 @@
> fi
> case $host in
> *-ibm-aix*)
> - HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_blddir/server/httpd.exp"
> - SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_blddir/server/httpd.exp"
> + HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_builddir/server/httpd.exp"
> + SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_builddir/server/httpd.exp"
> ;;
> *beos)
> SH_LDFLAGS='$(top_builddir)/_APP_'
++1!
-aaron
Re: httpd-2.0 on aix, did anyone try this?
Posted by Jens-Uwe Mager <ju...@helios.de>.
On Fri, Oct 12, 2001 at 10:15:39PM +0200, Jens-Uwe Mager wrote:
> I am trying to get httpd-2,0 (cvs of today) to work on AIX with loadable
> modules enabled. Using the following configuration:
>
> CC="xlc_r -qnogenpcomp -qnousepcomp" \
> configure \
> --prefix=/data/jum/apache \
> --enable-so \
> --enable-modules=most \
> --enable-mods-shared=most \
> --with-mpm=threaded
>
> I get the following error:
>
> /bin/sh /data/jum/httpd-2.0/srclib/apr/libtool --silent --mode=link
> xlc_r -qnogenpcomp -qnousepcomp -g -qHALT=E -qLANGLVL=extended
> -DNO_DBM_REWRITEMAP -D_USE_IRS -U__STR__ -D_THREAD_SAFE -I.
> -I/data/jum/httpd-2.0/os/unix -I/data/jum/httpd-2.0/server/mpm/threaded
> -I/data/jum/httpd-2.0/modules/http -I/data/jum/httpd-2.0/include
> -I/data/jum/httpd-2.0/srclib/apr/include
> -I/data/jum/httpd-2.0/srclib/apr-util/include
> -I/data/jum/httpd-2.0/modules/dav/main -export-dynamic -o httpd
> modules.lo -Wl,-bE:/server/httpd.exp modules/http/mod_http.la
> server/mpm/threaded/libthreaded.la server/libmain.la os/unix/libos.la
> /data/jum/httpd-2.0/srclib/pcre/libpcre.la
> /data/jum/httpd-2.0/srclib/apr-util/libaprutil.la
> /data/jum/httpd-2.0/srclib/apr/libapr.la -lm -liconv -lnsl -ldl
> /data/jum/httpd-2.0/srclib/apr-util/xml/expat/lib/libexpat.la
> ld: 0706-004 Cannot find or read export file: /server/httpd.exp
> ld:accessx(): No such file or directory
> make[1]: *** [httpd] Error 255
>
> I am at a loss to explain in the build system jungle to explain where
> the path to export file is munged up.
OK, I have looked into the build system a bit more and the following
patch fixes the problem for me, that appears to be a typo in
configure.in:
Index: configure.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/configure.in,v
retrieving revision 1.183
diff -u -d -r1.183 configure.in
--- configure.in 2001/09/30 07:57:14 1.183
+++ configure.in 2001/10/15 14:56:30
@@ -279,8 +279,8 @@
fi
case $host in
*-ibm-aix*)
- HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_blddir/server/httpd.exp"
- SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_blddir/server/httpd.exp"
+ HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_builddir/server/httpd.exp"
+ SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_builddir/server/httpd.exp"
;;
*beos)
SH_LDFLAGS='$(top_builddir)/_APP_'
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de