Re: Compile fails *** The httpd binary was not found

[prev] [thread] [next] [Date index for 2005/01/22]

From: Stas Bekman
Subject: Re: Compile fails *** The httpd binary was not found
Date: 00:45 on 22 Jan 2005
Ken Gillett wrote:
> [root@neXus mod_perl]# make
> cd "src/modules/perl" && make
> make[1]: Entering directory `/usr/src/mod_perl-2.0.0-RC3/src/modules/perl'
> gcc -I/usr/src/mod_perl-2.0.0-RC3/src/modules/perl 
[...]
> -D_SVID_SOURCE -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -fPIC \
> -c mod_perl.c && mv mod_perl.o mod_perl.lo
> cc1: invalid option `tune=pentium4'

that means that your perl wasn't built with the same gcc that you've on 
your machine. It's your perl that suggests modperl to use -mtune=pentium 
as you can see:

>     config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 
> -mtune=pentium4 -Dversion=5.8.5 -Dmyh

rebuild perl using the compiler you have on *your* machine and then return 
on the modperl build process and you will be fine.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: Compile fails *** The httpd binary was not found
Stas Bekman 00:45 on 22 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52