DBD::mysql(Install on solaris10 SPARC 64 bit prob help)

DBD::mysql(Install on solaris10 SPARC 64 bit prob help)

am 07.07.2008 09:00:19 von Arshad

------=_NextPart_000_0001_01C8E02D.4929DE90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20

Hello,

I was trying to install DBD::mysql I did the following =
things

=20

Step 1 =E0 Build mysql from the source on solaris10 SPARC64 =
bit
using gcc 3.4.6 compiler

=20

mysql> status

--------------

mysql Ver 12.22 Distrib 4.0.24, for sun-solaris2.10 (sparc)

=20

Connection id: 39

Current database:

Current user: root@localhost

SSL: Not in use

Current pager: stdout

Using outfile: ''

Server version: 5.0.51b-log

Protocol version: 10

Connection: Localhost via UNIX socket

Client characterset: latin1

Server characterset: latin1

UNIX socket: /tmp/mysql.sock

Uptime: 6 days 20 hours 3 min 18 sec

=20

Threads: 1 Questions: 182 Slow queries: 0 Opens: 14 Flush tables: 2
Open tables: 2 Queries per second avg: 0.000

=20

Step 2 =E0Then I tried to build DBI it was success.

=20

Step 3 =E0Then I am installing DBD::mysql and I am getting this error =
please
help=85. I am attaching err screem=85please find time to mail me=85

=20

Used this command =20

=E0 perl Makefile.PL =96localhost=3D127.0.0.1 -- --testdb=3Ddb
--libs=3D"-L/usr/local/mysql/lib/mysql -lmysqlclient"
--cflags=3D/usr/local/bin/gcc =20

=20

=20

cflags (User's choice) =3D /usr/local/bin/gcc

embedded (mysql_config ) =3D

libs (User's choice) =3D -L/usr/local/mysql/lib/mysql =
-lmysqlclient

mysql_config (guessed ) =3D mysql_config

nocatchstderr (default ) =3D 0

nofoundrows (default ) =3D 0

ssl (guessed ) =3D 0

testdb (User's choice) =3D db

testhost (User's choice) =3D 127.0.0.1

testpassword (default ) =3D

testsocket (default ) =3D

Use of uninitialized value in printf at Makefile.PL line 171, =
line
71.

Use of uninitialized value in printf at Makefile.PL line 171, =
line
71.

testuser ( ) =3D

=20

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

'perldoc INSTALL'.

=20

Using DBI 1.605 (for perl 5.008008 on sun4-solaris) installed in
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/

Writing Makefile for DBD::mysql

=20

=20

I have used this command =E0 perl
Makefile.PL --testhost=3D127.0.0.1 --

=20

=20

dbdimp.c:3879: error: dereferencing
pointer to incomplete type

dbdimp.c:3882: error: `res' undeclared (first use in this function)

dbdimp.c:3947: error: `PRI_KEY_FLAG' undeclared (first use in this =
function)

dbdimp.c:3947: error: `UNIQUE_KEY_FLAG' undeclared (first use in this
function)

dbdimp.c:3947: error: `MULTIPLE_KEY_FLAG' undeclared (first use in this
function)

dbdimp.c:3974: error: dereferencing pointer to incomplete type

dbdimp.c: In function `mysql_st_FETCH_attrib':

dbdimp.c:4025: error: dereferencing pointer to incomplete type

dbdimp.c:4027: error: dereferencing pointer to incomplete type

dbdimp.c:4031: error: dereferencing pointer to incomplete type

dbdimp.c:4035: error: dereferencing pointer to incomplete type

dbdimp.c:4040: error: dereferencing pointer to incomplete type

dbdimp.c:4044: error: dereferencing pointer to incomplete type

dbdimp.c:4052: error: dereferencing pointer to incomplete type

dbdimp.c:4056: error: dereferencing pointer to incomplete type

dbdimp.c:4062: error: dereferencing pointer to incomplete type

dbdimp.c:4066: error: dereferencing pointer to incomplete type

dbdimp.c:4070: error: dereferencing pointer to incomplete type

dbdimp.c:4072: error: dereferencing pointer to incomplete type

dbdimp.c:4074: error: dereferencing pointer to incomplete type

dbdimp.c:4076: error: dereferencing pointer to incomplete type

dbdimp.c:4080: error: dereferencing pointer to incomplete type

dbdimp.c:4087: error: dereferencing pointer to incomplete type

dbdimp.c:4089: error: dereferencing pointer to incomplete type

dbdimp.c:4094: error: dereferencing pointer to incomplete type

dbdimp.c:4098: error: dereferencing pointer to incomplete type

dbdimp.c:4100: error: dereferencing pointer to incomplete type

dbdimp.c:4102: error: dereferencing pointer to incomplete type

dbdimp.c:4106: error: dereferencing pointer to incomplete type

dbdimp.c:4118: error: dereferencing pointer to incomplete type

dbdimp.c: In function `mysql_bind_ph':

dbdimp.c:4208: error: dereferencing pointer to incomplete type

dbdimp.c:4242: error: dereferencing pointer to incomplete type

dbdimp.c: In function `mysql_db_reconnect':

dbdimp.c:4362: error: `MYSQL' undeclared (first use in this function)

dbdimp.c:4362: error: syntax error before "save_socket"

dbdimp.c:4372: error: dereferencing pointer to incomplete type

dbdimp.c:4372: error: `CR_SERVER_GONE_ERROR' undeclared (first use in =
this
function)

dbdimp.c:4376: error: dereferencing pointer to incomplete type

dbdimp.c:4376: error: dereferencing pointer to incomplete type

dbdimp.c:4390: error: `save_socket' undeclared (first use in this =
function)

dbdimp.c:4390: error: dereferencing pointer to incomplete type

dbdimp.c:4391: error: dereferencing pointer to incomplete type

dbdimp.c:4392: error: dereferencing pointer to incomplete type

dbdimp.c:4392: error: dereferencing pointer to incomplete type

dbdimp.c:4396: error: dereferencing pointer to incomplete type

dbdimp.c:4396: error: dereferencing pointer to incomplete type

dbdimp.c:4397: warning: passing arg 3 of `mysql_dr_error' makes pointer =
from
integer without a cast

dbdimp.c:4398: error: dereferencing pointer to incomplete type

dbdimp.c:4399: error: dereferencing pointer to incomplete type

dbdimp.c:4402: error: dereferencing pointer to incomplete type

dbdimp.c: In function `mysql_db_quote':

dbdimp.c:4562: error: dereferencing pointer to incomplete type

dbdimp.c: In function `mysql_db_last_insert_id':

dbdimp.c:4585: error: dereferencing pointer to incomplete type

*** Error code 1

make: Fatal error: Command failed for target `dbdimp.o'

=20

=E8 I AM STUCK HEARE PLEASE GUIDE ME!!!!!

=20

=20

Regards,
Mohammed Arshad




------=_NextPart_000_0001_01C8E02D.4929DE90--