recode collides with mysql when re-configuring php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric West

    #1

    recode collides with mysql when re-configuring php

    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@bu ild-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
  • Eric West

    #2
    Re: recode collides with mysql when re-configuring php

    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 pm, Eric West <pumpkinheadgi. ..@gmail.comwro te:
    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@bu ild-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

    Comment

    • Eric West

      #3
      Re: recode collides with mysql when re-configuring php

      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_na med':
      /usr/local/src/php-5.1.6/main/output.c:424: undefined reference to
      `php_ob_gzhandl er_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 am, Eric West <pumpkinheadgi. ..@gmail.comwro te:
      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 pm, Eric West <pumpkinheadgi. ..@gmail.comwro te:
      >
      >
      >
      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@bu ild-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 -

      Comment

      Working...