|
OK... I have successfully built a Solaris-8
x86 system (on a Compaq 1850R) which includes installations of MySQL/Apache/PHP
and "mod_ssl"...
I also had many trials and tribulations during the
process, but here's what I found that will help you (and future Sun x86
installers) complete the task....
** Get the right packages:
I went to http://www.sunfreeware.com and downloaded (and installed) the following
files:
Gnu
"tar-1.1.3" (so you can 'uncompress' the MySQL source package while you
unpack it...)
"gcc-2.95.3"
"make-3.78" "autoconf-2.13" "automake-1.4" I had also downloaded
"ssl-0.9.6b" as a 'package' from the site, but this led to enormous
amounts of problems (many of which had been described by Breughel
Macabuhay). SO, instead, go to the http://www.modssl.org website and get the 'source' distribution, and build it
yourself (which went without a 'hitch' for me). I ended up using version
0.9.6a
** Setup your 'build' environment:
After you install 'gcc' and the other 'make'
support packages, make sure your PATH is set to include (especially prior
to /usr/ccs/bin) the "/usr/local/bin" directory. AND, make
sure your LD_LIBRARY_PATH is set to "/usr/local/lib" otherwise you're going to
get many error messages that just don't make sense.... (this goes for SPARC
users of Solaris too) At one point, where I was still getting 'file not
found' errors, I added "/usr/local/ssl/lib" to the LD_LIBRARY_PATH (just
temporarily)
Unless you download GNU versions of these
files, you'll want to create symbolic links to them in
"/usr/local/bin":
/usr/ccs/bin/ar
/usr/ccs/bin/as
/usr/ccs/bin/lex
/usr/ccs/bin/strip
To solve the "cc"/"gcc" problem, I created a
symbolic link in "/usr/local/bin" to "cc" as "gcc". Also, for
the Apache/mod_perl/mod_ssl/PHP builds, make sure you specify "gcc" in the
"apxs" file for the $CFG_CC entry:
( my
$CFG_CC = q(gcc); )
** Specify the correct 'config'
options:
In the 'configuration' of "openssl", I used
the statement:
./config
--openssldir=/usr/local/ssl
And for the final 'build' of Apache (which then
included all the modules), I used:
export
SSL_BASE=/usr/local/ssl
./configure --prefix=/usr/local/apache \ --enable-module=rewrite \ --enable-shared=rewrite \ --enable-module=ssl |
- Re: Solaris8(x86) install problem Breughel Macabuhay
- Re: Solaris8(x86) install problem Glen S Mehn
- RE: Solaris8(x86) install problem Paul McGarry
- RE: Solaris8(x86) install problem Breughel Macabuhay
- Re: Solaris8(x86) install problem Mads Toftum
- Re: Solaris8(x86) install problem Owen Boyle
- Re: Solaris8(x86) install problem Breughel Macabuhay
- Re: Solaris8(x86) install problem Mads Toftum
- Re: Solaris8(x86) install problem Breughel Macabuhay
- Re: Solaris8(x86) install problem Mads Toftum
- Steve Brazill
