List:MySQL and Perl« Previous MessageNext Message »
From:zhou jian Date:February 23 2006 9:21pm
Subject:Re: can't compile DBD-mysql module
View as plain text  
How did you do so? Do you just download the source
code from mysql.com?

--- Tyler MacDonald <tyler@stripped> wrote:

> zhou jian <sunzhoujian@stripped> wrote:
> > I installed MySQL with rpm. I am not sure if I
> > installed the header file. I am trying to sesearch
> the
> > mysql.h. If not, how should I install that?
> 
> 	Try installing a package like:
> 
> 	"libmysqlclient-dev"
> 
> 	or
> 
> 	"mysql-dev"
> 
> 	Or some such thing. On my (Debian) system, the
> package is called
> "libmysqlclient15-dev".
> 
> 	Cheers,
> 		Tyler
> 
> 
> > 
> > --- Tyler MacDonald <tyler@stripped> wrote:
> > 
> > > zhou,
> > > 
> > > 	Do you have the MySQL header files installed on
> > > your system? They
> > > would normally come in a package with a name
> like
> > > "libmysqlclient-dev". If
> > > you compiled and installed your own MySQL
> server,
> > > they should already be
> > > installed and there may be a differnet problem.
> > > 
> > > 	Cheers,
> > > 		Tyler
> > > 
> > > 
> > > zhou jian <sunzhoujian@stripped> wrote:
> > > > 
> > >
> >
>
http://search.cpan.org/~capttofu/DBD-mysql-3.0002/lib/DBD/mysql.pm#AUTHORS
> > > >  
> > > >  Hello everyone,
> > > >  
> > > >  I downloaded the module from the website
> above
> > > and
> > > >  tried to make it. However, it failed. The
> > > following
> > > >  is
> > > >  the message.
> > > >  
> > > >  Do you have any idea? Since this new verions
> is
> > > not
> > > >  stable, where can I find the older version?
> > > >  
> > > >  Thanks,
> > > >  --Paul
> > > > > 
> > > > > 
> > > > > 
> > > > > dbdimp.c:3235: `MYSQL_FIELD' undeclared
> (first
> > > use
> > > > > in
> > > > > this function)
> > > > > dbdimp.c:3235: `curField' undeclared (first
> use
> > > in
> > > > > this function)
> > > > > dbdimp.c:3238: `what' undeclared (first use
> in
> > > this
> > > > > function)
> > > > > dbdimp.c:3242: `cacheit' undeclared (first
> use
> > > in
> > > > > this
> > > > > function)
> > > > > dbdimp.c:3242: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3243: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3246: `res' undeclared (first use
> in
> > > this
> > > > > function)
> > > > > dbdimp.c:3311: `PRI_KEY_FLAG' undeclared
> (first
> > > use
> > > > > in
> > > > > this function)
> > > > > dbdimp.c:3311: `UNIQUE_KEY_FLAG' undeclared
> > > (first
> > > > > use
> > > > > in this function)
> > > > > dbdimp.c:3311: `MULTIPLE_KEY_FLAG'
> undeclared
> > > (first
> > > > > use in this function)
> > > > > dbdimp.c:3338: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c: In function
> `mysql_st_FETCH_attrib':
> > > > > dbdimp.c:3387: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3389: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3393: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3397: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3401: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3407: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3411: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3415: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3417: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3419: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3421: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3425: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3432: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3434: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3439: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3443: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3445: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3447: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3459: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c: In function `mysql_bind_ph':
> > > > > dbdimp.c:3538: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3574: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c: In function `mysql_db_reconnect':
> > > > > dbdimp.c:3675: `MYSQL' undeclared (first use
> in
> > > this
> > > > > function)
> > > > > dbdimp.c:3675: parse error before
> "save_socket"
> > > > > dbdimp.c:3685: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3685: `CR_SERVER_GONE_ERROR'
> undeclared
> > > > > (first use in this function)
> > > > > dbdimp.c:3689: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3689: dereferencing pointer to
> > > incomplete
> > > > > type
> > > > > dbdimp.c:3703: `save_socket' undeclared
> (first
> > > use
> > > > > in
> > > > > this function)
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Thread
can't compile DBD-mysql modulezhou jian23 Feb
  • Re: can't compile DBD-mysql moduleTyler MacDonald23 Feb
    • Re: can't compile DBD-mysql modulezhou jian23 Feb
      • Re: can't compile DBD-mysql moduleTyler MacDonald23 Feb
        • Re: can't compile DBD-mysql modulezhou jian23 Feb
          • Re: can't compile DBD-mysql moduleTyler MacDonald23 Feb
      • Re: can't compile DBD-mysql moduleJochen Wiedmann23 Feb
        • Re: can't compile DBD-mysql modulezhou jian23 Feb
          • Re: can't compile DBD-mysql moduleTyler MacDonald23 Feb
            • Re: can't compile DBD-mysql modulezhou jian23 Feb
Re: can't compile DBD-mysql modulezhou jian23 Feb