You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joseph Oaks <tr...@trells.com> on 2004/07/20 03:45:00 UTC

[users@httpd] Error trying to build 2.0.50 rpm

Hey guys, I'm trying to build 2.0.50 as an rpm, but I'm having an 
issue. I am trying to build on a Redhat ES 3 it has the DB4 by
instead of DB3 which I modified the httpd.spec to read db4-devel
and then modify the configure to use different modules.

I keep getting the following error...

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/httpd-root
error: Installed (but unpackaged) file(s) found:
   /usr/lib/httpd/build/config.nice
   /usr/lib/libapr-0.a
   /usr/lib/libapr-0.la
   /usr/lib/libaprutil-0.a
   /usr/lib/libaprutil-0.la
   /usr/share/man/man8/apachectl.8.gz
   /usr/share/man/man8/httpd.8.gz
   /var/www/error/README
 
 
RPM build errors:
    File listed twice: /etc/httpd/conf/ssl.conf
    Installed (but unpackaged) file(s) found:
   /usr/lib/httpd/build/config.nice
   /usr/lib/libapr-0.a
   /usr/lib/libapr-0.la
   /usr/lib/libaprutil-0.a
   /usr/lib/libaprutil-0.la
   /usr/share/man/man8/apachectl.8.gz
   /usr/share/man/man8/httpd.8.gz
   /var/www/error/README

Can someone explain?

The modification to the configure are as follows (which build just
fine maually)...
--enable-auth --enable-dir \
--enable-env --enable-ldap \
--enable-auth_ldap --with-ldap \
--enable-log_config --enable-mime \
--enable-setenvif --enable-so \
--with-ssl --enable-ssl \
--enable-vhost_alias --enable-access \
--enable-cgi --enable-cgid \
--enable-alias --enable-rewrite \
--enable-usertrack \
--disable-actions --disable-asis \
--disable-auth_anon --disable-auth_dbm \
--disable-auth_digest --disable-autoindex \
--disable-cache --disable-cern_meta \
--disable-charset_lite --disable-dav \
--disable-dav_fs --disable-deflate \
--disable-disk_cache --disable-echo \
--disable-example --disable-expires \
--disable-ext_filter --disable-file_cache \
--disable-headers --disable-include \
--disable-imap --disable-info \
--disable-isapi --disable-logio \
--disable-mem_cache --disable-mime_magic \
--disable-negotiation --disable-nw_ssl \
--disable-proxy --disable-proxy_connect \
--disable-proxy_ftp --disable-proxy_http \
--disable-speling --disable-status \
--disable-suexec --disable-unique_id \
--disable-userdir

Thanks, 

Trell

Re: [users@httpd] Error trying to build 2.0.50 rpm

Posted by Joseph Oaks <tr...@trells.com>.
So has anyone got any ideas for me?
Has anyone gotten this to build on Redhat ES 3?

Trell

On Mon, 2004-07-19 at 18:45, Joseph Oaks wrote:
> Hey guys, I'm trying to build 2.0.50 as an rpm, but I'm having an 
> issue. I am trying to build on a Redhat ES 3 it has the DB4 by
> instead of DB3 which I modified the httpd.spec to read db4-devel
> and then modify the configure to use different modules.
> 
> I keep getting the following error...
> 
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/httpd-root
> error: Installed (but unpackaged) file(s) found:
>    /usr/lib/httpd/build/config.nice
>    /usr/lib/libapr-0.a
>    /usr/lib/libapr-0.la
>    /usr/lib/libaprutil-0.a
>    /usr/lib/libaprutil-0.la
>    /usr/share/man/man8/apachectl.8.gz
>    /usr/share/man/man8/httpd.8.gz
>    /var/www/error/README
>  
> 
> RPM build errors:
>     File listed twice: /etc/httpd/conf/ssl.conf
>     Installed (but unpackaged) file(s) found:
>    /usr/lib/httpd/build/config.nice
>    /usr/lib/libapr-0.a
>    /usr/lib/libapr-0.la
>    /usr/lib/libaprutil-0.a
>    /usr/lib/libaprutil-0.la
>    /usr/share/man/man8/apachectl.8.gz
>    /usr/share/man/man8/httpd.8.gz
>    /var/www/error/README
> 
> Can someone explain?
> 
> The modification to the configure are as follows (which build just
> fine maually)...
> --enable-auth --enable-dir \
> --enable-env --enable-ldap \
> --enable-auth_ldap --with-ldap \
> --enable-log_config --enable-mime \
> --enable-setenvif --enable-so \
> --with-ssl --enable-ssl \
> --enable-vhost_alias --enable-access \
> --enable-cgi --enable-cgid \
> --enable-alias --enable-rewrite \
> --enable-usertrack \
> --disable-actions --disable-asis \
> --disable-auth_anon --disable-auth_dbm \
> --disable-auth_digest --disable-autoindex \
> --disable-cache --disable-cern_meta \
> --disable-charset_lite --disable-dav \
> --disable-dav_fs --disable-deflate \
> --disable-disk_cache --disable-echo \
> --disable-example --disable-expires \
> --disable-ext_filter --disable-file_cache \
> --disable-headers --disable-include \
> --disable-imap --disable-info \
> --disable-isapi --disable-logio \
> --disable-mem_cache --disable-mime_magic \
> --disable-negotiation --disable-nw_ssl \
> --disable-proxy --disable-proxy_connect \
> --disable-proxy_ftp --disable-proxy_http \
> --disable-speling --disable-status \
> --disable-suexec --disable-unique_id \
> --disable-userdir
> 
> Thanks, 
> 
> Trell

Re: [users@httpd] Error trying to build 2.0.50 rpm

Posted by Joseph Oaks <tr...@trells.com>.
Thanks for that, I have started from a fresh downloaded .tar.gz
I modified the httpd.spec to say db4-devel instead of db3-devel.
Then I get this error for either prefork or worker (perfer worker)

libtool: link: cannot find the library `modules/http/mod_http.la'
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.0.50/prefork'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18490 (%build)

libtool: link: cannot find the library `modules/http/mod_http.la'
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/httpd-2.0.50/worker'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.67200 (%build)

Trell


On Wed, 2004-07-21 at 02:48, Joe Orton wrote:
> On Mon, Jul 19, 2004 at 06:45:00PM -0700, Joseph Oaks wrote:
> > Hey guys, I'm trying to build 2.0.50 as an rpm, but I'm having an 
> > issue. I am trying to build on a Redhat ES 3 it has the DB4 by
> > instead of DB3 which I modified the httpd.spec to read db4-devel
> > and then modify the configure to use different modules.
> > 
> > I keep getting the following error...
> > 
> > Checking for unpackaged file(s): /usr/lib/rpm/check-files
> > /var/tmp/httpd-root
> > error: Installed (but unpackaged) file(s) found:
> ...
> 
> Just run:
> 
> echo "%_unpackaged_files_terminate_build 1" >> ~/.rpmmacros
> 
> to allow the RPM build to succeed with unpackaged files.
> 
> Regards,
> 
> joe
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

Re: [users@httpd] Error trying to build 2.0.50 rpm

Posted by Joe Orton <jo...@redhat.com>.
On Mon, Jul 19, 2004 at 06:45:00PM -0700, Joseph Oaks wrote:
> Hey guys, I'm trying to build 2.0.50 as an rpm, but I'm having an 
> issue. I am trying to build on a Redhat ES 3 it has the DB4 by
> instead of DB3 which I modified the httpd.spec to read db4-devel
> and then modify the configure to use different modules.
> 
> I keep getting the following error...
> 
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/httpd-root
> error: Installed (but unpackaged) file(s) found:
...

Just run:

echo "%_unpackaged_files_terminate_build 1" >> ~/.rpmmacros

to allow the RPM build to succeed with unpackaged files.

Regards,

joe

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org