You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by fatmcgav <fa...@gmail.com> on 2008/11/17 14:02:03 UTC

[users@httpd] RPMBuild Issue

Hi there, 

I'm trying to build a Apache 2.2.6 RPM for cross-architecture support, and
with a custom configure command. 

I've extracted the httpd.spec file from the tar.gz, and customised the
following requirements and configure command slightly... The file is
attached.
http://www.nabble.com/file/p20538993/httpd.spec httpd.spec 

The RPMBuild command i'm using is: rpmbuild -ba --rmsource --target x86_64
SPECS/httpd.spec

This is running as an unprivileged user with a RPM directory tree in the
home folder. 
The error i'm getting when running the above command is: 
Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.83220 (%build)

Any ideas where I begin? 

Cheers
Gavin

-- 
View this message in context: http://www.nabble.com/RPMBuild-Issue-tp20538993p20538993.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.