recode collides with mysql when re-configuring php

recode collides with mysql when re-configuring php

am 23.01.2008 21:00:24 von Eric West

Hello all-

When I attempt to configure php with the recode library I get the
following error:

configure: error: recode extension can not be configured together
with: mysql

Here's my configuration options:
=================
'./configure' '--prefix=/usr/local/php' '--enable-mbstring' '--enable-
force-cgi-redirect' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-
mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/
mysql_config' '--with-gd' '--with-jpeg-dir=/usr/local/bin' '--with-png-
dir=/usr/local/bin' '--with-zlib-dir=/usr/local/bin' '--with-curl' '--
with-recode'
=================

Here's my system info:
=================
Linux version 2.6.9-34.ELsmp (buildcentos@build-i386) (gcc version
3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Wed Mar 8 00:27:03 CST 2006

Any help appreciated!

-Eric

Re: recode collides with mysql when re-configuring php

am 24.01.2008 17:53:27 von Eric West

When I put the with-recode bit BEFORE the with-mysql bits, it worked
the first time. hopefully this post will help those that follow.

On Jan 23, 3:00=A0pm, Eric West wrote:
> Hello all-
>
> When I attempt to configure php with the recode library I get the
> following error:
>
> configure: error: recode extension can not be configured together
> with: mysql
>
> Here's my configuration options:
> =================3D
> './configure' '--prefix=3D/usr/local/php' '--enable-mbstring' '--enable-
> force-cgi-redirect' '--with-apxs2=3D/usr/local/apache2/bin/apxs' '--with-
> mysql=3D/usr/local/mysql' '--with-mysqli=3D/usr/local/mysql/bin/
> mysql_config' '--with-gd' '--with-jpeg-dir=3D/usr/local/bin' '--with-png-
> dir=3D/usr/local/bin' '--with-zlib-dir=3D/usr/local/bin' '--with-curl' '--=

> with-recode'
> =================3D
>
> Here's my system info:
> =================3D
> Linux version 2.6.9-34.ELsmp (buildcentos@build-i386) (gcc version
> 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Wed Mar 8 00:27:03 CST 2006
>
> Any help appreciated!
>
> -Eric

Re: recode collides with mysql when re-configuring php

am 24.01.2008 18:10:27 von Eric West

Grrr... I got configure working and now am blocked by 'make'.

I get the following error:

main/.libs/output.o(.text+0x7ad): In function `php_ob_init_named':
/usr/local/src/php-5.1.6/main/output.c:424: undefined reference to
`php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Crazy old man mumbling to himself,
Eric

On Jan 24, 11:53=A0am, Eric West wrote:
> When I put the with-recode bit BEFORE the with-mysql bits, it worked
> the first time. hopefully this post will help those that follow.
>
> On Jan 23, 3:00=A0pm, Eric West wrote:
>
>
>
> > Hello all-
>
> > When I attempt to configure php with the recode library I get the
> > following error:
>
> > configure: error: recode extension can not be configured together
> > with: mysql
>
> > Here's my configuration options:
> > =================3D
> > './configure' '--prefix=3D/usr/local/php' '--enable-mbstring' '--enable-=

> > force-cgi-redirect' '--with-apxs2=3D/usr/local/apache2/bin/apxs' '--with=
-
> > mysql=3D/usr/local/mysql' '--with-mysqli=3D/usr/local/mysql/bin/
> > mysql_config' '--with-gd' '--with-jpeg-dir=3D/usr/local/bin' '--with-png=
-
> > dir=3D/usr/local/bin' '--with-zlib-dir=3D/usr/local/bin' '--with-curl' '=
--
> > with-recode'
> > =================3D
>
> > Here's my system info:
> > =================3D
> > Linux version 2.6.9-34.ELsmp (buildcentos@build-i386) (gcc version
> > 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Wed Mar 8 00:27:03 CST 2006
>
> > Any help appreciated!
>
> > -Eric- Hide quoted text -
>
> - Show quoted text -