httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens-Uwe Mager <...@helios.de>
Subject Re: httpd-2.0 on aix, did anyone try this?
Date Mon, 15 Oct 2001 15:04:53 GMT
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

Mime
View raw message