RE: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0 - PHP
This is a discussion on RE: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0 - PHP ; I definitely think MySQL could be the problem...
RPM installation of 3.23.
Does anyone have any suggestions (other than installing from source)? I
have a few databases running on that machine right now and would rather not
have to port ...
-
RE: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0
I definitely think MySQL could be the problem...
RPM installation of 3.23.
Does anyone have any suggestions (other than installing from source)? I
have a few databases running on that machine right now and would rather not
have to port them over to a new installation, if I can help it.
A 'whereis mysql' returned 'mysql: /usr/bin/mysql /usr/lib/mysql
/usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz'
installing with '--with-mysql=[insert dir from above]' failed on the first
four (I would assume the header files are not located in the man pages).
Appreciate any help.
mike.
> -----Original Message-----
> From: Jerry Rasmussen [mailto:jerry@scriptthis.com]
> Sent: Tuesday, April 23, 2002 12:19 PM
> To: Michael Geier; Php-General
> Subject: Re: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0
>
>
> How did you install MySQL. If you used the RPM's this maybe the
> problem. I
> had to use the binaries
> ----- Original Message -----
> From: "Michael Geier" <mgeier@cdmsports.com>
> To: "Php-General" <php-general@lists.php.net>
> Sent: Tuesday, April 23, 2002 12:55 PM
> Subject: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0
>
>
> > OS : Redhat 7.1
> >
> > apache compile option : --prefix=/path --enable-module=so
> > php compile option : --with-apxs2=/path/bin/apxs
> > --enable-force-cgi-redirect
> > --with-pear
> > --enable-ftp
> > --enable-track-vars
> > --with-esoob
> > --with-gd
> >
> > error on php make :
> > /bin/sh /root/php-4.2.0/libtool --silent --mode=compile
> >
> gcc -I. -I/root/php-4.2.0/ext/mysql/libmysql
> -I/root/php-4.2.0/main -I/root
> > /php-4.2.0 -
> >
> >
> I/usr/local/apache/include -I/root/php-4.2.0/Zend
> -I/root/php-4.2.0/ext/mysq
> > l/libmysql -I/usr/local/easysoft/oob/client/include -I/root/php-
> >
> >
> 4.2.0/ext/xml/expat -D_REENTRANT -I/root/php-4.2.0/TSRM
> -DTHREAD=1 -g -O2 -
> > pthread -DZTS -prefer-pic -c thr_mutex.c
> > In file included from /usr/include/math.h:82,
> > from /root/php-4.2.0/main/php_config.h:1902,
> > from my_config.h:5,
> > from global.h:33,
> > from thr_mutex.c:6:
> > /usr/include/bits/mathcalls.h:176: Internal error: Segmentation fault.
> > Please submit a full bug report.
> > See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
> > make[4]: *** [thr_mutex.lo] Error 1
> > make[4]: Leaving directory `/root/php-4.2.0/ext/mysql/libmysql'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/root/php-4.2.0/ext/mysql/libmysql'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/php-4.2.0/ext/mysql'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/php-4.2.0/ext'
> > make: *** [all-recursive] Error 1
> >
> > any thoughts/fixes would be appreciated.
> > ---
> > Michael Geier
> > CDM Sports, Inc., Systems Administration
> > email: operations@cdmsports.com
> > phone: 314.991.1511 x 6505
> > pager: 314.318.9414 || page-michael@cdmsports.com
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
-
Re: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0
On Wednesday 24 April 2002 04:46, Michael Geier wrote:
> I definitely think MySQL could be the problem...
>
> RPM installation of 3.23.
You need to install:
MySQL-devel-3.23.X
if you haven't already done so.
> Does anyone have any suggestions (other than installing from source)? I
> have a few databases running on that machine right now and would rather not
> have to port them over to a new installation, if I can help it.
>
> A 'whereis mysql' returned 'mysql: /usr/bin/mysql /usr/lib/mysql
> /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz'
>
> installing with '--with-mysql=[insert dir from above]' failed on the first
If you want php's built-in mysql support just use:
--with-mysql
Otherwise:
--with-mysql=/usr
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Staff meeting in the conference room in %d minutes.
*/
-
Re: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0
thanks for the reply...I bucked up and installed the linux binaries anyway last
night.
--
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: operations@cdmsports.com
phone: 314.991.1511 x 6505
pager: 314.318.9414 || page-michael@cdmsports.com
Quoting Jason Wong <php-general@gremlins.com.hk>:
> On Wednesday 24 April 2002 04:46, Michael Geier wrote:
> > I definitely think MySQL could be the problem...
> >
> > RPM installation of 3.23.
>
> You need to install:
>
> MySQL-devel-3.23.X
>
> if you haven't already done so.
>
> > Does anyone have any suggestions (other than installing from source)? I
> > have a few databases running on that machine right now and would rather
> not
> > have to port them over to a new installation, if I can help it.
> >
> > A 'whereis mysql' returned 'mysql: /usr/bin/mysql /usr/lib/mysql
> > /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz'
> >
> > installing with '--with-mysql=[insert dir from above]' failed on the
> first
>
> If you want php's built-in mysql support just use:
>
> --with-mysql
>
> Otherwise:
>
> --with-mysql=/usr
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Staff meeting in the conference room in %d minutes.
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-------------------------------------------------
This mail sent through CDM Sports Webmail.