You are viewing a plain text version of this content. The canonical link for it is here.
Posted to packagers@httpd.apache.org by GavinW <ga...@card.co.uk> on 2009/01/26 15:27:37 UTC
Unable to Build 2.2.11 RPM - /bin/sh: silent: command not found
When trying to build the Apache 2.2.11 source using rpmbuild, make failes
with the following error:
--
/rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/get.c && touch get.lo
/bin/sh: silent: command not found
/bin/sh: silent: command not found
make[3]: [maketables.lo] Error 127 (ignored)
make[3]: [get.lo] Error 127 (ignored)
silent --mode=compile gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-I/usr/kerberos/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/srclib/pcre -I.
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/os/unix
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/server/mpm/prefork
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/http
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/filters
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/proxy
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/generators
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/mappers
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/database
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/proxy/../generators
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/include
-I/usr/kerberos/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/ssl
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/dav/main -c
/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/study.c && touch
study.lo
silent --mode=compile gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-I/usr/kerberos/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/srclib/pcre -I.
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/os/unix
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/server/mpm/prefork
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/http
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/filters
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/proxy
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/generators
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/mappers
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/database
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/proxy/../generators
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/include
-I/usr/kerberos/include
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/ssl
-I/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/modules/dav/main -c
/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/dftables.c && touch
dftables.lo
/bin/sh: silent: command not found
make[3]: [study.lo] Error 127 (ignored)
/bin/sh: silent: command not found
make[3]: [dftables.lo] Error 127 (ignored)
silent --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-I/usr/kerberos/include
-L/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/lib -L/usr/kerberos/lib64
-o dftables -L/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/lib
-L/usr/kerberos/lib64 dftables.lo -lm
make[3]: silent: Command not found
make[3]: [dftables] Error 127 (ignored)
./dftables /home/gavinw/rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/chartables.c
make[3]: ./dftables: Command not found
make[3]: ***
[/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/chartables.c] Error
127
make[3]: Leaving directory
`/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/srclib/pcre'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/srclib/pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gavinw/rpmbuild/BUILD/httpd-2.2.11/prefork/srclib'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/gavinw/rpmbuild/tmp/rpm-tmp.2038 (%build)
RPM build errors:
Bad exit status from /home/gavinw/rpmbuild/tmp/rpm-tmp.2038 (%build)
--
How do i get around this???
Cheers
Gavin
--
View this message in context: http://www.nabble.com/Unable-to-Build-2.2.11-RPM----bin-sh%3A-silent%3A-command-not-found-tp21666271p21666271.html
Sent from the Apache HTTP Server - Packagers mailing list archive at Nabble.com.
Re: Unable to Build 2.2.11 RPM - /bin/sh: silent: command not found
Posted by GavinW <ga...@card.co.uk>.
I'm not aware of having overwritten anything... <br>
<br>
However i just tried running it again, and it came back with:
<code>~/rpmbuild/BUILD/httpd-2.2.11
+ ./prefork/httpd -l
+ grep -v prefork
+ ./worker/httpd -l
+ grep -v worker
+ diff -u prefork.mods worker.mods
--- prefork.mods 2009-01-26 15:33:28.000000000 +0000
+++ worker.mods 2009-01-26 15:33:29.000000000 +0000
@@ -26,7 +26,6 @@
mod_autoindex.c
mod_asis.c
mod_suexec.c
- mod_cgi.c
mod_cgid.c
mod_negotiation.c
mod_dir.c
+ : Different modules built into httpd binaries, will not proceed
+ exit 1
error: Bad exit status from /home/gavinw/rpmbuild/tmp/rpm-tmp.93070 (%build)
</code>
Any ideas? <br>
<br>
Cheers<br>
Gavin
Graham Leggett wrote:
>
> GavinW wrote:
>
>> When trying to build the Apache 2.2.11 source using rpmbuild, make failes
>> with the following error:
>>
>> --
>> /rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/get.c && touch get.lo
>> /bin/sh: silent: command not found
>> /bin/sh: silent: command not found
>> make[3]: [maketables.lo] Error 127 (ignored)
>> make[3]: [get.lo] Error 127 (ignored)
>> silent --mode=compile gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> ^^^^^^
>> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
>> -mtune=generic
> [snip]
>
> Are you sure you haven't overridden anything in your environment to
> replace binaries in your toolchain with other binaries?
>
> The problem seems to be that instead of calling "libtool", the build is
> trying to call a non existent tool called "silent", which causes make to
> fail:
>
>> /bin/sh: silent: command not found
>
> Regards,
> Graham
> --
>
>
>
--
View this message in context: http://www.nabble.com/Unable-to-Build-2.2.11-RPM----bin-sh%3A-silent%3A-command-not-found-tp21666271p21668459.html
Sent from the Apache HTTP Server - Packagers mailing list archive at Nabble.com.
Re: Unable to Build 2.2.11 RPM - /bin/sh: silent: command not found
Posted by Graham Leggett <mi...@sharp.fm>.
GavinW wrote:
> When trying to build the Apache 2.2.11 source using rpmbuild, make failes
> with the following error:
>
> --
> /rpmbuild/BUILD/httpd-2.2.11/srclib/pcre/get.c && touch get.lo
> /bin/sh: silent: command not found
> /bin/sh: silent: command not found
> make[3]: [maketables.lo] Error 127 (ignored)
> make[3]: [get.lo] Error 127 (ignored)
> silent --mode=compile gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
^^^^^^
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
[snip]
Are you sure you haven't overridden anything in your environment to
replace binaries in your toolchain with other binaries?
The problem seems to be that instead of calling "libtool", the build is
trying to call a non existent tool called "silent", which causes make to
fail:
> /bin/sh: silent: command not found
Regards,
Graham
--