Loading ...
Sorry, an error occurred while loading the content.

DBD::mysql

Expand Messages
  • Jeremy May
    Got A Prob When Compileing DBD::mysql [root@main DBD-mysql-2.1011]# make cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
    Message 1 of 3 , Feb 28, 2002
    • 0 Attachment
      Got A Prob When Compileing DBD::mysql
       
      [root@main DBD-mysql-2.1011]# make
      cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I'/usr/include/mysql' -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.1011\" -DXS_VERSION=\"2.1011\" -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE  dbdimp.c
      In file included from dbdimp.c:29:
      dbdimp.h:31:48: mysql.h: No such file or directory
      dbdimp.h:32:49: errmsg.h: No such file or directory
      make: *** [dbdimp.o] Error 1
       
      the files i even moved them in the same dir as the .o file
       
    • ellers@iinet.net.au
      ... Not really an ASP problem DBD::mysql has always worked out of the box for me... could it be a problem either with the way mysql is installed on your
      Message 2 of 3 , Feb 28, 2002
      • 0 Attachment
        > Got A Prob When Compileing DBD::mysql

        Not really an ASP problem

        DBD::mysql has always worked out of the box for me...
        could it be a problem either with the way mysql is installed on your
        machine or the way DBD::mysql has been ./configured ?

        Try working back making sure mysql is all fine first (ie you can run mysql
        client etc). If not then re-install. Once thats proven trying downloading
        the DBD bundle and installing it fresh

        Alternatively add another -I directive after finding which dir the
        mysql .h files are with something like 'find / -name mysql.h'. Adding the -
        I directive might be an option to ./configure, I can't recall.

        HTH

        Ellers

        >
        > [root@main DBD-mysql-2.1011]# make
        > cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -
        I'/usr/in
        > clude/mysql' -fno-strict-aliasing -I/usr/local/include -
        D_LARGEFILE_SOURCE
        > -D_FILE_OFFSET_BITS=3D64 -O2 -DVERSION=3D\2.1011\ -DXS_VERSION=3D\2.10
        > 11\ -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
        > In file included from dbdimp.c:29:
        > dbdimp.h:31:48: mysql.h: No such file or directory
        > dbdimp.h:32:49: errmsg.h: No such file or directory
        > make: *** [dbdimp.o] Error 1
        >
        > the files i even moved them in the same dir as the .o file

        ---------------------------------------------------------------------
        To unsubscribe, e-mail: asp-unsubscribe@...
        For additional commands, e-mail: asp-help@...
      • Shaun
        Jeremy- I tried compiling it also and it failed the first time. Right below all of those errors it gave a few suggestions. One was to try installing
        Message 3 of 3 , Mar 1, 2002
        • 0 Attachment
          Jeremy-

          I tried compiling it also and it failed the first time. Right below all of those errors it gave a
          few suggestions. One was to try installing libz-devel, which I did, and it at least compiled ok.
          It remains to be seen if that solves our other problems.

          Shaun
          --- ellers@... wrote:
          > > Got A Prob When Compileing DBD::mysql
          >
          > Not really an ASP problem
          >
          > DBD::mysql has always worked out of the box for me...
          > could it be a problem either with the way mysql is installed on your
          > machine or the way DBD::mysql has been ./configured ?
          >
          > Try working back making sure mysql is all fine first (ie you can run mysql
          > client etc). If not then re-install. Once thats proven trying downloading
          > the DBD bundle and installing it fresh
          >
          > Alternatively add another -I directive after finding which dir the
          > mysql .h files are with something like 'find / -name mysql.h'. Adding the -
          > I directive might be an option to ./configure, I can't recall.
          >
          > HTH
          >
          > Ellers
          >
          > >
          > > [root@main DBD-mysql-2.1011]# make
          > > cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -
          > I'/usr/in
          > > clude/mysql' -fno-strict-aliasing -I/usr/local/include -
          > D_LARGEFILE_SOURCE
          > > -D_FILE_OFFSET_BITS=3D64 -O2 -DVERSION=3D\2.1011\ -DXS_VERSION=3D\2.10
          > > 11\ -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
          > > In file included from dbdimp.c:29:
          > > dbdimp.h:31:48: mysql.h: No such file or directory
          > > dbdimp.h:32:49: errmsg.h: No such file or directory
          > > make: *** [dbdimp.o] Error 1
          > >
          > > the files i even moved them in the same dir as the .o file
          >
          > ---------------------------------------------------------------------
          > To unsubscribe, e-mail: asp-unsubscribe@...
          > For additional commands, e-mail: asp-help@...
          >
          >
          >


          __________________________________________________
          Do You Yahoo!?
          Yahoo! Greetings - Send FREE e-cards for every occasion!
          http://greetings.yahoo.com

          ---------------------------------------------------------------------
          To unsubscribe, e-mail: asp-unsubscribe@...
          For additional commands, e-mail: asp-help@...
        Your message has been successfully submitted and would be delivered to recipients shortly.