Re: Bug #1254 Updated: make fails during install
| From: | 'Jim Winstead' | Date: | Tue, 23 Mar 1999 05:58:16 +0000 |
| Subject: | Re: Bug #1254 Updated: make fails during install | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4733@lists.php.net to get a copy of this message | ||
You need to install the mysql-devel RPM, which can be found at
http://www.tcx.se/download.html. (It's the
"Binary RPM containing
include files and libraries for development for i386 machines",
and you'll want to make sure it matches your version of MySQL.)
Jim
On Mar 22, Bob Costa wrote:
> Thanks for the reply.
>
> I seem to have MySQL 3.22.19a running from a binary RPM installation,
> since I can create a database, create tables etc...
>
> FWIW, I also have php running (from RPM's), but I need to include Mysql
> support, which is why I am recompiling it....
>
> But it seems to be a mystery where the files might be located. I have
> found an executable called mysql in a directory /etc/rc.d/init.d , but
> using that path in the ./configure command results in an error that it
> cannot find the mysql.h header files. Is that what you mean by the
> "base" where mysql is installed ??
>
> To the best of my knowledge, the only mysql.h file on my machine is in
> the SOURCE directory (which you say is not where I want to point), but I
> admit my mastery of linux file utilities like grep is limited.
>
> I am very confused.
>
> Bob Costa
> All Things Change
>
> > -----Original Message-----
> > From: Jim Winstead [SMTP:jimw@php.net]
> > Sent: Monday, March 22, 1999 10:16 PM
> > To: Bug Database; Bob Costa
> > Subject: Re: [PHP-DEV] Bug #1254 Updated: make fails during
> > install
> >
> > 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