php/mysqlclient compile problems.

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

    php/mysqlclient compile problems.

    when I try to compile php-5.2.1 it gives an error about not being able
    to find mysqlclient and that it isn't included with mysql anymore.
    I've checked on the system and indeed they do not exist. Ok, I
    understand that it isn't included any longer, but what do I need to
    install in order to get the header files? I thought I was onto
    something on the mysql site when i saw mention of mysqlclient and C-
    header files, but it ultimately took me to the download of what I had
    already gotten.


    solaris 9
    php 5.2.1
    mysql 5.0.33 with: "./configure --prefix=/opt/itools"

    Regards,

    -Inet

  • inetquestion

    #2
    Re: php/mysqlclient compile problems.

    in <mysql source dir>/include I see some header files.

    Are these the ones which php is looking for?

    If so why wouldn't they be copied over to the mysql/include or /usr/
    local/include directory upon installation of mysql?

    -Inet





    On Mar 12, 6:43 pm, "inetquesti on" <inetquest...@h otmail.comwrote :
    when I try to compile php-5.2.1 it gives an error about not being able
    to find mysqlclient and that it isn't included with mysql anymore.
    I've checked on the system and indeed they do not exist. Ok, I
    understand that it isn't included any longer, but what do I need to
    install in order to get the header files? I thought I was onto
    something on the mysql site when i saw mention of mysqlclient and C-
    header files, but it ultimately took me to the download of what I had
    already gotten.
    >
    solaris 9
    php 5.2.1
    mysql 5.0.33 with: "./configure --prefix=/opt/itools"
    >
    Regards,
    >
    -Inet


    Comment

    • Jerry Stuckle

      #3
      Re: php/mysqlclient compile problems.

      inetquestion wrote:
      when I try to compile php-5.2.1 it gives an error about not being able
      to find mysqlclient and that it isn't included with mysql anymore.
      I've checked on the system and indeed they do not exist. Ok, I
      understand that it isn't included any longer, but what do I need to
      install in order to get the header files? I thought I was onto
      something on the mysql site when i saw mention of mysqlclient and C-
      header files, but it ultimately took me to the download of what I had
      already gotten.
      >
      >
      solaris 9
      php 5.2.1
      mysql 5.0.33 with: "./configure --prefix=/opt/itools"
      >
      Regards,
      >
      -Inet
      >
      This was answered in comp.databases. mysql.

      Please cross-post. Don't multi-post.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • inetquestion

        #4
        Re: php/mysqlclient compile problems.

        On Mar 12, 9:31 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
        inetquestionwro te:
        when I try to compile php-5.2.1 it gives an error about not being able
        to find mysqlclient and that it isn't included with mysql anymore.
        I've checked on the system and indeed they do not exist. Ok, I
        understand that it isn't included any longer, but what do I need to
        install in order to get the header files? I thought I was onto
        something on the mysql site when i saw mention of mysqlclient and C-
        header files, but it ultimately took me to the download of what I had
        already gotten.
        >
        solaris 9
        php 5.2.1
        mysql 5.0.33 with: "./configure --prefix=/opt/itools"
        >
        Regards,
        unfortunately the answer was incorrect.



        >
        -Inet
        >
        This was answered in comp.databases. mysql.
        >
        Please cross-post. Don't multi-post.
        >
        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstuck...@attgl obal.net
        =============== ===

        Comment

        • Jerry Stuckle

          #5
          Re: php/mysqlclient compile problems.

          inetquestion wrote:
          On Mar 12, 9:31 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
          >inetquestionwr ote:
          >>when I try to compile php-5.2.1 it gives an error about not being able
          >>to find mysqlclient and that it isn't included with mysql anymore.
          >>I've checked on the system and indeed they do not exist. Ok, I
          >>understand that it isn't included any longer, but what do I need to
          >>install in order to get the header files? I thought I was onto
          >>something on the mysql site when i saw mention of mysqlclient and C-
          >>header files, but it ultimately took me to the download of what I had
          >>already gotten.
          >>solaris 9
          >>php 5.2.1
          >>mysql 5.0.33 with: "./configure --prefix=/opt/itools"
          >>Regards,
          unfortunately the answer was incorrect.
          >
          >
          >
          >
          >>-Inet
          >This was answered in comp.databases. mysql.
          >>
          >Please cross-post. Don't multi-post.
          >>
          >--
          >============== ====
          >Remove the "x" from my email address
          >Jerry Stuckle
          >JDS Computer Training Corp.
          >jstuck...@attg lobal.net
          >============== ====
          >
          >
          If the answer is incorrect, I would be very surprised. Axel is normally
          quite accurate in what he says - and his answer also matches what I know
          about MySQL.

          But in either case - multiposting is not correct. If you have two or
          three groups which you think are appropriate, then you should cross post.

          As for this one - I don't see what PHP can do to get your missing MySQL
          header files. Any compiled program using MySQL will need those headers
          - not just PHP.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • inetquestion

            #6
            Re: php/mysqlclient compile problems.

            installing mysql with flag: --enable-thread-safe-client
            seems to fix the issue.

            -Inet


            Comment

            Working...