You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gerry Kirk <ge...@faithonline.com> on 2005/01/07 16:21:18 UTC

[users@httpd] Re: incomplete install using latest source RPM

Dan Trainor - hostinthebox.net wrote:
>> Hi,
>>
>> I'm trying to upgrade my apache by using the httpd-2.0.52 source RPM 
>> on the apache site. After compiling and installing the RPMS, i try to 
>> compile a module using apxs, and i get the following errors:
>>
>> sh: line 1: /usr/sbin/envvars: No such file or directory
>> apxs:Error: Sorry, no shared object support for Apache.
>> apxs:Error: available under your platform. Make sure.
>> apxs:Error: the Apache module mod_so is compiled into.
>> apxs:Error: your server binary `/usr/sbin/httpd'..
>>
> *snip*
> 
> How did you build the RPMs?  Which OS?  Perhaps you specified a 
> differeny buildroot than /usr, which this module is expecting whatever 
> it is it's looking for inside /usr.
> 
I have RedHat 9. This is what I did:

1. rpm -ivh <source rpm file>
2. edit /usr/src/redhat/SPEC/httpd.spec to add in additional compilation 
options
3. rpmbuild -bb <spec file> , which builds the binary rpms based on a 
spec file. I ended up with 3 rpms - httpd, httpd-devel and mod_ssl.

- Gerry

> See if that helps
> -dant
> 


---------------------------------------------------------------------
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


[users@httpd] Re: incomplete install using latest source RPM

Posted by Gerry Kirk <ge...@faithonline.com>.
Dan,

Did you see this reply?

Regards,
Gerry

Gerry Kirk wrote:

> Dan Trainor - hostinthebox.net wrote:
> 
>>> Hi,
>>>
>>> I'm trying to upgrade my apache by using the httpd-2.0.52 source RPM 
>>> on the apache site. After compiling and installing the RPMS, i try to 
>>> compile a module using apxs, and i get the following errors:
>>>
>>> sh: line 1: /usr/sbin/envvars: No such file or directory
>>> apxs:Error: Sorry, no shared object support for Apache.
>>> apxs:Error: available under your platform. Make sure.
>>> apxs:Error: the Apache module mod_so is compiled into.
>>> apxs:Error: your server binary `/usr/sbin/httpd'..
>>>
>> *snip*
>>
>> How did you build the RPMs?  Which OS?  Perhaps you specified a 
>> differeny buildroot than /usr, which this module is expecting whatever 
>> it is it's looking for inside /usr.
>>
> I have RedHat 9. This is what I did:
> 
> 1. rpm -ivh <source rpm file>
> 2. edit /usr/src/redhat/SPEC/httpd.spec to add in additional compilation 
> options
> 3. rpmbuild -bb <spec file> , which builds the binary rpms based on a 
> spec file. I ended up with 3 rpms - httpd, httpd-devel and mod_ssl.
> 
> - Gerry
> 
>> See if that helps
>> -dant
>>


---------------------------------------------------------------------
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