FW: I need help

FW: I need help

am 12.09.2005 13:56:46 von artem

------_=_NextPart_001_01C5B791.0CB0211C
Content-Type: text/plain



Hello!

I use Linux RH-9.0. Mysql-server and perl have been installed allredy.

I'm trying to compile DBD-mysql-3.0002...

When I do make, I see:



....

....

dbdimp.c:3790: `sv_undef' undeclared (first use in this function)

dbdimp.c: At top level:

dbdimp.c:3828: parse error before '*' token

dbdimp.c:3828: parse error before '*' token

dbdimp.c: In function `mysql_db_quote':

dbdimp.c:3830: `SV' undeclared (first use in this function)

dbdimp.c:3832: `str' undeclared (first use in this function)

dbdimp.c:3840: `STRLEN' undeclared (first use in this function)

dbdimp.c:3840: parse error before "len"

dbdimp.c:3842: `dbh' undeclared (first use in this function)

dbdimp.c:3854: `Nullsv' undeclared (first use in this function)

dbdimp.c:3860: `len' undeclared (first use in this function)

dbdimp.c:3860: warning: assignment makes pointer from integer without a cast

dbdimp.c:3862: warning: assignment makes pointer from integer without a cast

dbdimp.c:3865: `imp_dbh' undeclared (first use in this function)

dbdimp.c:3873: warning: return makes pointer from integer without a cast

make: *** [dbdimp.o] Error 1







And other way:

[root]# perl -MCPAN -e 'install DBD::mysql'



CPAN: Storable loaded ok

Going to read /root/.cpan/Metadata

Database was generated on Sun, 11 Sep 2005 21:59:09 GMT

Running install for module DBD::mysql

Running make for C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz

CPAN: Digest::MD5 loaded ok

CPAN: Compress::Zlib loaded ok

Checksum for
/root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.000 2.tar.gz ok

Scanning cache /root/.cpan/build for sizes

DBD-mysql-3.0002/

....

....



DBD-mysql-3.0002/TODO

Removing previously used /root/.cpan/build/DBD-mysql-3.0002



CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz



I will use the following settings for compiling and testing:



cflags (mysql_config) = -I/usr/include/mysql -mcpu=i486
-fno-strength-reduce

embedded (mysql_config) =

libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt
-lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns
-lresolv

mysql_config (guessed ) = mysql_config

nocatchstderr (default ) = 0

nofoundrows (default ) = 0

ssl (guessed ) = 0

testdb (default ) = test

testhost (default ) =

testpassword (default ) =

testsocket (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 (for perl 5.008003 on i686-linux) installed in
/usr/local/lib/perl5/5.8.3/auto/DBI/

Writing Makefile for DBD::mysql

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

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

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

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

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

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

cc -c -I/usr/local/lib/perl5/5.8.3/auto/DBI/ -I/usr/include/mysql
-mcpu=i486 -fno-strength-reduce -g -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O3 -DVERSION=\"3.0002\" -DXS_VERSION=\"3.0002\" -fpic
"-I/usr/local/lib/perl5/5.8.3/i686-linux/CORE" dbdimp.c

/usr/bin/make -- NOT OK

Running make test

Can't test without successful make

Running make install

make had returned bad status, install seems impossible





I have read all information that I could find in Internet.

Help me, please... I'll send you any information that you whant.



Thank you, Artem.

Russia


------_=_NextPart_001_01C5B791.0CB0211C--