Re: [PHP-DEV] Bug #1107: Too numerous to mention From: Rasmus Lerdorf (rasmus <email protected>)
Date: 02/01/99

> 1. The RPM will not install due to a dependency on Apache 1.3.1 - even though 1.3.4 is installed and working with module support.

Use the tarball.

> 2. The src will not compile due to lack of mysql.h [You MIGHT want to document this!]

Seems obvious to me that you would need to install MySQL properly if you
are going to link something against it. An no, just installing an
incomplete RPM does not mean that you have installed MySQL properly.

> 2a. Install src for MySql. run configure to get all the *.h files made

Very good.

> 3. Src configures now
> 3a. Following the Quick Install to the letter, need to add explict path to MySql src - now it says it can't find lmysqlclient [MySql 3.22.15 is installed and working fine]

When you install a new shared library you have to inform your linker. As
far as I am concerned this should be part of the MySQL installation
documentation. Edit /etc/ld.so.conf and add the path where you installed
the MySQL shared lib and then run 'ldconfig'. Go back to your Apache dir
and type: 'make clean' and rebuild. Welcome to Linux.

> PHP is my single worst software trial using Linux. I seldom take more that 15 min to get something working.
> I've been at this for +4 hrs. Maybe you could post srv/RPMS that actually work.

We can't support every package format on every OS out there. The only
common format is the source tarball and as you may have noticed that is
what the INSTALL instructions refer to. They make no mention of
installing from RPM's. You are on your own for that.

>
> [And it makes libmodphp3.a not libphp3.a as stated in your docs!]

Nowhere does it say that libphp3.a is built. You might want to read:

  http://www.php.net/FAQ.php3#4.9

on that particular point before you continue your ranting.

-Rasmus

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>