|
Dear :
I have used linux on Redhat6.2 and 7.0 for a
while.
But I am new to use Mandrake 8.0, I am happy to use
Mandrake 8.0.
I have tried successfully installed mysql-3.23.36 +
openssl-0.9.6 + mod_ssl-2.8.1-1.3.19 + php4.0.4pl1 on
Redhat 6.2
But I got some errors when applying those on
Mandrake8.0.
Here is the installation steps and the messages on
Mandrake:
# (1) install mysql, suppose now on the mysql
path
./configure
make
make install
scripts/mysql_install_db
/usr/local/share/mysql/mysql.server start
# It works, and I can use Mysql database
# (2) install openssl, suppose now on the openssl
path
sh config \
-fPIC \
no-idea
make
make test
# It works
# (3) install modssl, suppose now on the modssl path
./configure
\ --with-apache=../apache_1.3.19 \
--with-crt=...
--with-key=...
# It works
# (4) install apache, suppose now on the apache path
SSL_BASE=../openssl-0.9.6 \
./configure \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max \
--enable-module=ssl \
--enable-shared=ssl
make
The screen shows that I got some errors
/usr/local/apache_1.3.19/src/modules/standard/mod_auth_dbm.c:85:22:
db1/ndbm.h : No such file or directory
I found that when I installed Mandrake 8.0, it doesn't create the directory
/usr/include/db1, so it gets an error while trying to read
/usr/include/db1/ndbm.h file.
As I checked the rpm packages installed by rpm -qa.
I noticed that only db1-1.85-4mdk installed, and I found
that the orginal Mandrake8.0 cdroms contains
db1-devel-1.85-4mdk package, so I try
rpm -Uvh db1-devel-1.85-4mdk.i586.rpm
It successfully create /usr/include/db1/ directory.
And I can configure and install apache successfully.
Another problem arises when I tried to configure and
install PHP4.04pl1( I skipped some steps to install gd and libxml here),
the php configure is:
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-versioning
\
--with-mysql
\
--with-ftp
\
--with-dom =/usr/local/libxml2-2.2.12/.libs \
--with-gd \
--with-pdflib=/usr/local \
--with-zlib \
--with-png \
--with-xml \
--enable-debug=no \
--enable-magic-quotes \
--enable-memory-limit=yes \
--enable-track-vars
It shows some error that libz is not installed.
So similay I found zlib1-devel-1.1.3-15mdk package is not installed.That
is:
rpm -Uvh zlib1-devel-1.1.3-15mdk.i686.rpm
Then run the confiugre step above:
But error still occurs: requires zlib>=1.0.9
It confuses me. I tried http://rpm.find.net , and search
zlib. I downloaded zlib-1.1.3-15mdk.src.rpm
rpm --rebuild zlib-1.1.3-15mdk.src.rpm
Finally configure php, it works.
Then:
make, make install
All works.
Is there any better way?
Regards
Robin
|
Title: ��ι�
