[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Raq3 attempt of OpenSSL Fix
- Subject: RE: [cobalt-users] Raq3 attempt of OpenSSL Fix
- From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
- Date: Tue Sep 17 01:56:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I've tried this on our RaQ3 and get errors so mod_ssl won't compile, any pointers anyone?? i've pointed out where things go pear-shaped....
<snip>
1) ssh to server
2) su -
3) cd /usr/local/src
4) wget http://www.openssl.org/source/openssl-engine-0.9.6g.tar.gz
5) tar -zxvf openssl-engine-0.9.6g.tar.gz
6) rm openssl-engine-0.9.6g.tar.gz
7) cd openssl-engine-0.9.6g
8) ./config
9) make
10) make install (puts ssl in /usr/local/ssl, won't hurt)
10a) cd ..
11) wget http://www.apache.org/dist/httpd/old/apache_1.3.6.tar.gz
12) tar -zxvf apache_1.3.6.tar.gz
13) rm apache_1.3.6.tar.gz
14) wget http://www.modssl.org/source/mod_ssl-2.3.11-1.3.6.tar.gz
15) tar -zxvf mod_ssl-2.3.11-1.3.6.tar.gz
16) rm mod_ssl-2.3.11-1.3.6.tar.gz
17) cd mod_ssl-2.3.11-1.3.6
18) ./configure --with-apache=../apache_1.3.6/ \
--with-apxs=/usr/sbin/apxs \
--with-ssl=../openssl-engine-0.9.6g
</SNIP>
BANG!
First time I ran this I got lots of errors saying:
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
The problem there is that httpd is in /usr/sbin/httpd on my RaQ3 (standard/non-standard??) I modified the line in apxs to point to the right place, and it compiled, without any errors as you noted originally!
<snip>
19) make
</snip>
This is the output of make:
---
make[1]: Entering directory `/home/src/mod_ssl-2.3.11-1.3.6/pkg.sslmod'
make[1]: *** No rule to make target `/usr/include/apache/ap_mm.h', needed by `mod_ssl.lo'. Stop.
make[1]: Leaving directory `/home/src/mod_ssl-2.3.11-1.3.6/pkg.sslmod'
make: [all] Error 2 (ignored)
---
I took a look and in /usr/include/apache/ there isn't a ap_mm.h file :( something's screwed up here, can anyone check and let me know if that file exists in their distro or anything like that, as i'm trying to remember if I've modd'd this version of apache, and if so then i've dug my own hole to climb out of ;)
Thanks for any info!
Regards,
Andy
andy@xxxxxxxxxx
http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice