httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: Apache 2.0.18 tarballs are up. Please test!
Date Fri, 18 May 2001 21:12:33 GMT
Hi,

Tested my RPM package build but it failed :

make[1]: Entering directory `/usr/src/redhat/BUILD/httpd-2_0_18/support'
make[2]: Entering directory `/usr/src/redhat/BUILD/httpd-2_0_18/support'
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2 -pthread -DNO_DBM_REWRITEMAP    -D_REENTRANT
-DAP_HAVE_DESIGNATED_INITIALIZER   -I.
-I/usr/src/redhat/BUILD/httpd-2_0_18/os/unix
-I/usr/src/redhat/BUILD/httpd-2_0_18/server/mpm/perchild
-I/usr/src/redhat/BUILD/httpd-2_0_18/modules/http
-I/usr/src/redhat/BUILD/httpd-2_0_18/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr-util/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/modules/dav/main -c htpasswd.c && touch
htpasswd.lo
/bin/sh /usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr/libtool --silent
--mode=link gcc  -g -O2 -pthread -DNO_DBM_REWRITEMAP    -D_REENTRANT
-DAP_HAVE_DESIGNATED_INITIALIZER   -I.
-I/usr/src/redhat/BUILD/httpd-2_0_18/os/unix
-I/usr/src/redhat/BUILD/httpd-2_0_18/server/mpm/perchild
-I/usr/src/redhat/BUILD/httpd-2_0_18/modules/http
-I/usr/src/redhat/BUILD/httpd-2_0_18/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr-util/include
-I/usr/src/redhat/BUILD/httpd-2_0_18/modules/dav/main -export-dynamic    -o
htpasswd htpasswd.lo  ../srclib/apr-util/libaprutil.la
../srclib/apr/libapr.la -ldb -lnsl -lnsl -lm -lcrypt -lnsl -ldl -lssl
-lcrypto
/usr/src/redhat/BUILD/httpd-2_0_18/srclib/apr-util/xml/expat/lib/libexpat.la
htpasswd.o: In function `main':
/usr/src/redhat/BUILD/httpd-2_0_18/support/htpasswd.c:599: the use of
`tmpnam' is dangerous, better use `mkstemp'
htpasswd.o: In function `mkrecord':
/usr/src/redhat/BUILD/httpd-2_0_18/support/htpasswd.c:235: undefined
reference to `apr_sha1_base64'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_18/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2_0_18/support'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.20278 (%build)


I used the following layout :

#   RedHat 6.x layout
<Layout RedHat6>
	prefix:        %{_prefix}
	exec_prefix:   %{_prefix}
	bindir:        %{_bindir}
	sbindir:       %{_sbindir}
	libexecdir:    %{_libdir}/%{name}
	mandir:        %{_mandir}
	sysconfdir:    %{_sysconfdir}/%{pname}/conf
	datadir:       %{contentdir}
	iconsdir:      %{contentdir}/icons
	htdocsdir:     %{contentdir}/html
	cgidir:        %{contentdir}/cgi-bin
	includedir:    %{_includedir}/%{name}
	localstatedir: %{_localstatedir}
	runtimedir:    %{_var}/%{pname}
	logdir:        %{_var}/log/%{pname}
	proxycachedir: %{_var}/cache/%{pname}
</Layout>

and this configure :

./buildconf
#EXTRA_LIBS="-ldb1" OPTIM="$RPM_OPT_FLAGS" EXTRA_INCLUDES="-DAPACHE_XLATE
-I/usr/include/db1 -DHAVE_DB_H" ./configure \
OPTIM="$RPM_OPT_FLAGS" EXTRA_INCLUDES="-DAPACHE_XLATE" ./configure \
	--with-program-name=httpd2 \
	--with-port=8092 \
	--with-mpm=perchild \
	--with-perl=%{_bindir}/perl \
	--with-apache=../apache_%{apversion} \
    --prefix=%{_prefix} \
    --exec-prefix=%{_prefix} \
    --bindir=%{_sbindir} \
    --sbindir=%{_sbindir} \
    --libexecdir=%{_libdir}/%{name} \
    --mandir=%{_mandir} \
    --localstatedir=%{_localstatedir} \
    --sysconfdir=%{_sysconfdir}/%{pname}/conf \
    --datadir=%{contentdir} \
    --includedir=%{_includedir}/%{name} \
	--enable-layout=RedHat6 \
	--enable-module=all \
	--enable-mods-shared \
	--enable-module=define \
	--enable-shared=max \
	--enable-alias=shared \
	--enable-asis=shared --enable-setenvif=shared \
	--enable-access=shared --enable-auth=shared --enable-mime=shared \
	--enable-ext-filter=shared --enable-case-filter=shared
--enable-suexec=shared \
	--enable-actions=shared --enable-info=shared
--enable-autoindex=shared \
    --enable-echo=shared --enable-file_cache=shared --enable-speling=shared
\
	--enable-example=shared --enable-mmap-static=shared \
    --enable-vhost-alias=shared --enable-mime-magic=shared
--enable-status=shared \
	--enable-auth-anon=shared --enable-auth-dbm=shared
--enable-auth-db=shared --enable-auth-digest=shared \
    --enable-cern-meta=shared --enable-expires=shared
--enable-headers=shared --enable-usertrack=shared \
    --enable-unique-id=shared --enable-cgi=shared --enable-cgid=shared
--enable-include=shared --enable-so \
	--enable-log_config=shared --enable-negotiation=shared
--enable-dir=shared --enable-imap=shared \
	--enable-charset_lite=shared --enable-ssl=shared
--with-ssl=/usr/include \
	--enable-dav=shared --enable-userdir=shared --enable-env=shared
--enable-rewrite=shared 

PS: I couldn't resist trying mod_ssl and I'm very very very happy 
to see Ralf and Ben working together on SSL support for Apache 2.0.

It's not allways to case in other ASF projects I'm involded on ;(

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Mime
View raw message