Installation Modul DBD::MySQL fehlgeschlagen

Alles, was Perl betrifft, kann hier besprochen werden.

Installation Modul DBD::MySQL fehlgeschlagen

Postby armony » 26. February 2007 09:08

Hallo,

ich versuche den Perl Modul DBD::MySQL zu installieren aber ohne Erfolg;

hiermit folgt die (Fehler-)Meldungen
CPAN: File::HomeDir loaded ok
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
the following indispensable but missing parameters:

mbuild_arg, mbuild_install_arg, mbuild_install_build_command, mbuildpl_arg


The next questions deal with Module::Build support.

A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.

Parameters for the 'perl Build.PL' command?
Typical frequently used settings:

--install_base /home/xxx # different installation directory

Your choice: []
Parameters for the './Build' command?
Setting might be:

--extra_linker_flags -L/usr/foo/lib # non-standard library location

Your choice: []
Do you want to use a different command for './Build install'?
Sudo users will probably prefer:

su root -c ./Build
or
sudo ./Build
or
/path1/to/sudo -u admin_account ./Build

or some such. Your choice: [./Build]
Parameters for the './Build install' command?
Typical frequently used setting:

--uninst 1 # uninstall conflicting files

Your choice: []


Please remember to call 'o conf commit' to make the config permanent!

CPAN: Storable loaded ok
Going to read /.cpan/Metadata
Database was generated on Fri, 23 Feb 2007 09:11:01 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz ok
Scanning cache /.cpan/build for sizes
x DBD-mysql-4.001, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/ChangeLog, 52202 bytes, 102 tape blocks
x DBD-mysql-4.001/constants.h, 1936 bytes, 4 tape blocks
x DBD-mysql-4.001/dbdimp.c, 128036 bytes, 251 tape blocks
x DBD-mysql-4.001/dbdimp.h, 9858 bytes, 20 tape blocks
x DBD-mysql-4.001/eg, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/eg/prepare_memory_usage.pl, 450 bytes, 1 tape blocks
x DBD-mysql-4.001/eg/proc_example1.pl, 1053 bytes, 3 tape blocks
x DBD-mysql-4.001/eg/proc_example2.pl, 1418 bytes, 3 tape blocks
x DBD-mysql-4.001/eg/proc_example3.pl, 901 bytes, 2 tape blocks
x DBD-mysql-4.001/INSTALL.html, 29283 bytes, 58 tape blocks
x DBD-mysql-4.001/lib, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/lib/Bundle, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/lib/Bundle/DBD, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/lib/Bundle/DBD/mysql.pm, 362 bytes, 1 tape blocks
x DBD-mysql-4.001/lib/DBD, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/lib/DBD/mysql, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/lib/DBD/mysql/GetInfo.pm, 16096 bytes, 32 tape blocks
x DBD-mysql-4.001/lib/DBD/mysql/INSTALL.pod, 22221 bytes, 44 tape blocks
x DBD-mysql-4.001/lib/DBD/mysql.pm, 47557 bytes, 93 tape blocks
x DBD-mysql-4.001/Makefile.PL, 23623 bytes, 47 tape blocks
x DBD-mysql-4.001/Makefile.PL.embedded, 713 bytes, 2 tape blocks
x DBD-mysql-4.001/MANIFEST, 802 bytes, 2 tape blocks
x DBD-mysql-4.001/MANIFEST.SKIP, 41 bytes, 1 tape blocks
x DBD-mysql-4.001/META.yml, 380 bytes, 1 tape blocks
x DBD-mysql-4.001/myld, 1709 bytes, 4 tape blocks
x DBD-mysql-4.001/mysql.xs, 18036 bytes, 36 tape blocks
x DBD-mysql-4.001/README, 2781 bytes, 6 tape blocks
x DBD-mysql-4.001/t, 0 bytes, 0 tape blocks
x DBD-mysql-4.001/t/00base.t, 986 bytes, 2 tape blocks
x DBD-mysql-4.001/t/10dsnlist.t, 2067 bytes, 5 tape blocks
x DBD-mysql-4.001/t/20createdrop.t, 1830 bytes, 4 tape blocks
x DBD-mysql-4.001/t/30insertfetch.t, 2602 bytes, 6 tape blocks
x DBD-mysql-4.001/t/35limit.t, 3869 bytes, 8 tape blocks
x DBD-mysql-4.001/t/35prepare.t, 4577 bytes, 9 tape blocks
x DBD-mysql-4.001/t/40bindparam.t, 6696 bytes, 14 tape blocks
x DBD-mysql-4.001/t/40bindparam2.t, 2807 bytes, 6 tape blocks
x DBD-mysql-4.001/t/40blobs.t, 3245 bytes, 7 tape blocks
x DBD-mysql-4.001/t/40listfields.t, 4463 bytes, 9 tape blocks
x DBD-mysql-4.001/t/40nulls.t, 2571 bytes, 6 tape blocks
x DBD-mysql-4.001/t/40numrows.t, 4175 bytes, 9 tape blocks
x DBD-mysql-4.001/t/41bindparam.t, 2080 bytes, 5 tape blocks
x DBD-mysql-4.001/t/41blobs_prepare.t, 4168 bytes, 9 tape blocks
x DBD-mysql-4.001/t/42bindparam.t, 2119 bytes, 5 tape blocks
x DBD-mysql-4.001/t/50chopblanks.t, 3923 bytes, 8 tape blocks
x DBD-mysql-4.001/t/50commit.t, 6642 bytes, 13 tape blocks
x DBD-mysql-4.001/t/60leaks.t, 5262 bytes, 11 tape blocks
x DBD-mysql-4.001/t/70takeimp.t, 4843 bytes, 10 tape blocks
x DBD-mysql-4.001/t/75supported_sql.t, 2664 bytes, 6 tape blocks
x DBD-mysql-4.001/t/80procs.t, 4948 bytes, 10 tape blocks
x DBD-mysql-4.001/t/insertid.t, 1234 bytes, 3 tape blocks
x DBD-mysql-4.001/t/lib.pl, 5992 bytes, 12 tape blocks
x DBD-mysql-4.001/t/mysql.dbtest, 3680 bytes, 8 tape blocks
x DBD-mysql-4.001/t/param_values.t, 1167 bytes, 3 tape blocks
x DBD-mysql-4.001/t/prepare_noerror.t, 1798 bytes, 4 tape blocks
x DBD-mysql-4.001/t/texecute.t, 1355 bytes, 3 tape blocks
x DBD-mysql-4.001/t/utf8.t, 4974 bytes, 10 tape blocks
x DBD-mysql-4.001/TODO, 896 bytes, 2 tape blocks
Removing previously used /.cpan/build/DBD-mysql-4.001

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

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/opt/mysql/mysql/include -mt -D_FORTEC_ -xarch=v9
embedded (mysql_config) =
libs (mysql_config) = -xarch=v9 -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lgen -lsocket -lnsl -lm
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
Unrecognized argument in LIBS ignored: '-xarch=v9'
Using DBI 1.53 (for perl 5.008003 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql
CPAN: YAML loaded ok
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -B/usr/ccs/bin/ -c -I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI -I/opt/mysql/mysql/include -mt -D_FORTEC_ -xarch=v9 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.001\" -DXS_VERSION=\"4.001\" -fPIC "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" dbdimp.c
gcc: language arch=v9 not recognized
gcc: dbdimp.c: linker input file unused because linking not done
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 254
Warning: duplicate function definition 'rows' detected in mysql.xs, line 658
gcc -B/usr/ccs/bin/ -c -I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI -I/opt/mysql/mysql/include -mt -D_FORTEC_ -xarch=v9 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.001\" -DXS_VERSION=\"4.001\" -fPIC "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" mysql.c
gcc: language arch=v9 not recognized
gcc: mysql.c: linker input file unused because linking not done
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld gcc -B/usr/ccs/bin/ -G -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lgen -lsocket -lnsl -lm
gcc: dbdimp.o: No such file or directory
gcc: mysql.o: No such file or directory
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


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


Danke für eure Hilfe
armony
 
Posts: 9
Joined: 21. December 2006 08:45

Return to Perl

Who is online

Users browsing this forum: No registered users and 17 guests