DBD::mysql installation problem

DBD::mysql installation problem

am 08.08.2003 06:19:03 von santosh kandi

I am using sun solaris 5.6. I want to install
DBD::mysql in my private libarray. But I am stuck in
the make step…can anyone help me figure out what my
problem is..

Heres what I get..



After the command…PERL MAKEFILE.PL –CFLAGS=…. –LIBS==

I GET THE FOLLOWING:



I will use the following settings for compiling and
testing:



cflags (Users choice) =
-I/home/a0867706/myperl/include

libs (Users choice) =
-L/home/a0867706/myperl/lib

nocatchstderr (default ) = 0

nofoundrows (default ) = 0

ssl (guessed ) = 0

testdb (default ) = test

testhost (default ) =

testpassword (default ) =

testuser (default ) =



To change these settings, see 'perl Makefile.PL
--help' and

'perldoc INSTALL'.



Checking if your kit is complete...

Looks good

Using DBI 1.21 installed in
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI

Writing Makefile for DBD::mysql



AFTER THE COMMAND MAKE:



mkdir blib

mkdir blib/lib

mkdir blib/lib/DBD

mkdir blib/arch

mkdir blib/arch/auto

mkdir blib/arch/auto/DBD

mkdir blib/arch/auto/DBD/mysql

mkdir blib/lib/auto

mkdir blib/lib/auto/DBD

mkdir blib/lib/auto/DBD/mysql

mkdir blib/man3

cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm

cp lib/Bundle/DBD/mysql.pm
blib/lib/Bundle/DBD/mysql.pm

cp lib/DBD/mysql/GetInfo.pm
blib/lib/DBD/mysql/GetInfo.pm

cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm

cp lib/DBD/mysql/INSTALL.pod
blib/lib/DBD/mysql/INSTALL.pod

cp lib/Mysql.pm blib/lib/Mysql.pm

cc -c
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
-I/home/a0867706/myperl

/include -O -DVERSION=\"2.9002\"
-DXS_VERSION=\"2.9002\" -KPIC -I/usr/local/lib/perl

5/5.00503/sun4-solaris/CORE dbdimp.c

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 21: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 21: undefined or not a t

ype: PL_

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 21: syntax error before

or at: Gcurinterp

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 21: warning: old-style d

eclaration or incorrect type for: Gcurinterp

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 42: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 42: undefined or not a t

ype: PL_

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 42: syntax error before

or at: Gninterps

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 42: warning: old-style d

eclaration or incorrect type for: Gninterps

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 44: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 44: undefined or not a t

ype: PL_

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 44: syntax error before

or at: Guid

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 44: warning: old-style d

eclaration or incorrect type for: Guid

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 45: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perlvars.h",
line 45: undefined or not a t

ype: PL_





these errors are followed by

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 17: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 17: undefined or not a t

ype: PL_

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 17: syntax error before

or at: Iorigargc

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 17: warning: old-style d

eclaration or incorrect type for: Iorigargc

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 18: invalid token: ##

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 18: undefined or not a t

ype: PL_

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 18: syntax error before

or at: Iorigargv

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 18: warning: old-style d

eclaration or incorrect type for: Iorigargv

"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/intrpvar.h",
line 19: invalid token: ##


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org