apache2/httpd

Richard B. Pyne rpyne at kinfolk.org
Thu Feb 23 18:27:16 CET 2012


Found this one, httpd changed the path to apxs from /usr/sbin/apxs to 
/usr/bin/apxs

--Richard

On 2/23/2012 10:24 AM, Richard B. Pyne wrote:
> The first problem I have found is that the php5 module was not updated 
> to to check for httpd rather than apache2. After making that fix, lin 
> -rc php5 gives:
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... no
> checking whether to enable Apache charset compatibility option... no
> checking for Apache 2.0 filter-module support via DSO through APXS... no
> checking for Apache 2.0 handler-module support via DSO through APXS...
>
> Sorry, I cannot run apxs.  Possible reasons follow:
>
> 1. Perl is not installed
> 2. apxs was not found. Try to pass the path using 
> --with-apxs2=/path/to/apxs
> 3. Apache was not built using --enable-so (the apxs usage page is 
> displayed)
>
> The output of /usr/sbin/apxs follows:
> ./configure: line 6461: /usr/sbin/apxs: No such file or directory
> configure: error: Aborting
> Creating /var/log/lunar/compile/php5-5.2.17.bz2
> ! Problem detected during BUILD
>
>
> On 2/23/2012 10:16 AM, Jean Bruenn wrote:
>> Hello Richard,
>>
>> please provide a compile log of both httpd (apache2) and php5.
>>
>> Thanks
>> Jean
>>
>> On Thu, 23
>> Feb 2012 09:48:59 -0700 "Richard B. Pyne"<rpyne at kinfolk.org>  wrote:
>>
>>> The rebuild of httpd has also left php5 broken.
>>>
>>> Installing build system files
>>> mkdir /var/www/build
>>> make[1]: Leaving directory `/usr/src/httpd-2.4.1'
>>> + handling init.d scripts
>>> start = 85
>>> end = 15
>>> Stopping httpd: not running [ WARN ]
>>> Starting httpd: httpd: Syntax error on line 53 of
>>> /etc/httpd/conf/httpd.conf: Cannot load
>>> /usr/libexec/httpd/modules/libphp5.so into server:
>>> /usr/libexec/httpd/modules/libphp5.so: undefined symbol: unixd_config
>>>
>>> #lin -rc php5 appears to run properly, but does not produce a new
>>> #libphp5.so
>>>
>>> # updatedb
>>> # locate libphp5
>>> #
>>> # service httpd restart
>>> Stopping httpd: not running [ WARN ]
>>> Starting httpd: httpd: Syntax error on line 53 of
>>> /etc/httpd/conf/httpd.conf: Cannot load
>>> /usr/libexec/httpd/modules/libphp5.so into server:
>>> /usr/libexec/httpd/modules/libphp5.so: cannot open shared object
>>> file: No such file or directory
>>> #
>>>
>>>
>>>
>>> On 2/23/2012 9:36 AM, Dennis Veatch wrote:
>>>> On 02/23/2012 11:29 AM, Richard B. Pyne wrote:
>>>>> First, what is with changing the module name from apache2 to httpd?
>>>>>
>>>>> And second, if you are going to change it, the renamed module
>>>>> should actually work!
>>>>>
>>>>> Downloading source file httpd-2.4.1.tar.bz2 for module httpd
>>>>> + trying to download "httpd-2.4.1.tar.bz2" from
>>>>> "http://www.apache.org/dist/"
>>>>> + calling "wget --continue --cache=on --tries=5
>>>>> "http://www.apache.org/dist/httpd-2.4.1.tar.bz2" --output-document
>>>>> /tmp/httpd-2.4.1.tar.bz2"
>>>>> --2012-02-23 09:24:15--
>>>>> http://www.apache.org/dist/httpd-2.4.1.tar.bz2 Resolving
>>>>> www.apache.org... 140.211.11.131 Connecting to
>>>>> www.apache.org|140.211.11.131|:80... connected. HTTP request sent,
>>>>> awaiting response... 404 Not Found 2012-02-23 09:24:15 ERROR 404:
>>>>> Not Found.
>>>>>
>>>>>
>>>>> The download path is wrong. It should be
>>>>> http://www.apache.org/dist/httpd/httpd-2.4.1.tar.bz2
>>>>>
>>>>> --Richard
>>>> Agreed and thank you for point that out. Commit
>>>> a91a4912a0367eee8edc163a5fd26a6aab361a6d fixes that problem.
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Lunar mailing list
>>> Lunar at lunar-linux.org
>>> http://foo-projects.org/mailman/listinfo/lunar
>>
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar


More information about the Lunar mailing list