Re: Bug #1254 Updated: make fails during install

From: Date: Tue, 23 Mar 1999 03:16:14 +0000
Subject: Re: Bug #1254 Updated: make fails during install
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-4731@lists.php.net to get a copy of this message
The --with-mysql=directory should point at the base where mysql is installed, not the unpacked source archive. Instructions on installing MySQL can be found at their site (http://www.mysql.com/). Once you have done that, you should be able to compile PHP successfully following the install directions. If you are using Redhat, the instructions at http://cvs.php.net/cvsweb.cgi/INSTALL.REDHAT?rev=HEAD may provide useful, too. This will let you install using RPM packages. Jim On Mar 23, Bug Database wrote: > ID: 1254 > User Update by: bcosta@stone-age.com > Old-Status: Open > Status: Duplicate > Bug Type: Installation problem > Description: make fails during install > > I have added additional detail to problem # 1258, before I realized HOW to make changes here. > Ignore this prolem, but PLEASe help me with #1258 (now listed as a compile problem) > > > I have been attempting to install php 3.0.5, according to the directions on page 6 of the > manual. I need PHP/MySQL support with apache. > > I used the following configure line (line 8) > > ./configure --with-mysql=/usr/src/redhat/SOURCES/mysql-3.22.20a --with-apache=../apache_1.3.3 > --enable-track-vars > > during the make phase next, I encountered a series of errors. > > First, I had to > > cp mysql_com.h.in mysql_com.h > cp mysql_version.h.in mysql_version.h > > I do not know if this was a correct action, but I did not have mysql_com.h or mysql_version.h > available, and their absence was causing make errors as well. > > AFter this change, This resulted in a series of parse errors from mysql.c > > I am getting over my head quickly, and just wantto get a working installation. What am I doing > wrong? or what has changed in Mysql 3.22 to cause these compile errors ?? Any help GREATLY > appreciated > > Full Bug description available at: > http://ca.php.net/bugs.php3?id=1254 > > > -- > PHP Development Mailing List http://www.php.net/ > To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net > For help: php-dev-help@lists.php.net > > -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4731) next »