Bonjour à tous

Souhaitant utiliser un plugins mssql pour nagios, je dois installer DBD::Sybase mais j'ai toujours le même problème :

install DBD::Sybase
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
Running install for module 'DBD::Sybase'
Running make for M/ME/MEWP/DBD-Sybase-1.09.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz ok
DBD-Sybase-1.09/
DBD-Sybase-1.09/Sybase.xs
DBD-Sybase-1.09/README
DBD-Sybase-1.09/BUGS
DBD-Sybase-1.09/PWD.factory
DBD-Sybase-1.09/Makefile.PL
DBD-Sybase-1.09/dbdimp.h
DBD-Sybase-1.09/README.vms
DBD-Sybase-1.09/dbdimp.c
DBD-Sybase-1.09/CHANGES
DBD-Sybase-1.09/Sybase.pm
DBD-Sybase-1.09/README.freetds
DBD-Sybase-1.09/eg/
DBD-Sybase-1.09/eg/README
DBD-Sybase-1.09/eg/Show.cgi
DBD-Sybase-1.09/eg/dbschema.pl
DBD-Sybase-1.09/eg/check-space.pl
DBD-Sybase-1.09/dbivport.h
DBD-Sybase-1.09/META.yml
DBD-Sybase-1.09/Sybase.h
DBD-Sybase-1.09/CONFIG
DBD-Sybase-1.09/dbd-sybase.pod
DBD-Sybase-1.09/MANIFEST
DBD-Sybase-1.09/t/
DBD-Sybase-1.09/t/main.t
DBD-Sybase-1.09/t/multi_sth.t
DBD-Sybase-1.09/t/xblk.t
DBD-Sybase-1.09/t/screen.jpg
DBD-Sybase-1.09/t/_test.pm
DBD-Sybase-1.09/t/base.t
DBD-Sybase-1.09/t/autocommit.t
DBD-Sybase-1.09/t/thread.t
DBD-Sybase-1.09/t/exec.t
DBD-Sybase-1.09/t/place.t
DBD-Sybase-1.09/t/xblob.t
DBD-Sybase-1.09/t/login.t
DBD-Sybase-1.09/t/fail.t
DBD-Sybase-1.09/t/nsql.t
 
  CPAN.pm: Going to build M/ME/MEWP/DBD-Sybase-1.09.tar.gz
 
Unknown Client Library version - assuming FreeTDS.
 
By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.
 
Use 'CHAINED' mode by default (Y/N) [Y]: 
 
Running in threaded mode - looking for _r libraries...
 
***NOTE***
There is an incompatibility between perl (5.8.x) built in threaded mode and 
Sybase's threaded libraries, which means that signals delivered to the perl 
process result in a segment violation.
 
I suggest building DBD::Sybase with the normal libraries in this case to get
reasonable behavior for signal handling.
 
Use the threaded (lib..._r) libraries [N]: 
 
OK - I'll use the normal libs
 
Running in 64bit mode - looking for '64' libraries...
BLK api NOT available.
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: SYBASE): 
User ID to log in to Sybase (default: sa): 
Password (default: undef): 
Sybase database to use on SYBASE (default: undef): 
 
* Writing login information, including password, to file PWD.
 
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lsybtcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lblk
Multiple copies of Driver.xst found in: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at Makefile.PL line 64
Using DBI 1.609 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Sybase
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
cp Sybase.pm blib/lib/DBD/Sybase.pm
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver.xst > Sybase.xsi
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c
gcc -c  -I/usr/local/freetds/include -DSYB_LP64 -DNO_BLK=1 -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   Sybase.c
Sybase.c: In function ‘XS_DBD__Sybase__db__isdead’:
Sybase.c:103: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__db__date_fmt’:
Sybase.c:121: attention : unused variable ‘ix’
Sybase.xs: In function ‘XS_DBD__Sybase__db_ping’:
Sybase.xs:83: attention : implicit declaration of function ‘syb_ping’
Sybase.xs: In function ‘XS_DBD__Sybase__st_cancel’:
Sybase.xs:95: attention : implicit declaration of function ‘syb_st_cancel’
Sybase.c:157: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_get_data’:
Sybase.c:175: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_data_info’:
Sybase.c:205: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_send_data’:
Sybase.c:240: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_prepare_send’:
Sybase.c:260: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_finish_send’:
Sybase.c:278: attention : unused variable ‘ix’
Sybase.c: In function ‘XS_DBD__Sybase__st_ct_data_info’:
Sybase.xs:123: attention : ‘sybaction’ may be used uninitialized in this function
gcc -c  -I/usr/local/freetds/include -DSYB_LP64 -DNO_BLK=1 -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function ‘clientmsg_cb’:
dbdimp.c:263: attention : valeur calculée n'est pas utilisée
dbdimp.c:284: attention : format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘int’
dbdimp.c:284: attention : format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’
dbdimp.c:287: attention : format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘int’
dbdimp.c:287: attention : format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’
dbdimp.c: In function ‘servermsg_cb’:
dbdimp.c:472: attention : valeur calculée n'est pas utilisée
dbdimp.c:509: attention : format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘CS_MSGNUM’
dbdimp.c:509: attention : format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘CS_INT’
dbdimp.c:512: attention : format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘CS_INT’
dbdimp.c:512: attention : format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘CS_INT’
dbdimp.c: In function ‘syb_init’:
dbdimp.c:777: erreur: ‘BLK_VERSION_150’ undeclared (first use in this function)
dbdimp.c:777: erreur: (Each undeclared identifier is reported only once
dbdimp.c:777: erreur: for each function it appears in.)
dbdimp.c:781: erreur: ‘BLK_VERSION_125’ undeclared (first use in this function)
dbdimp.c:785: erreur: ‘BLK_VERSION_120’ undeclared (first use in this function)
dbdimp.c:724: attention : unused variable ‘boolean’
dbdimp.c: In function ‘get_server_version’:
dbdimp.c:1567: attention : unused variable ‘db’
dbdimp.c: In function ‘syb_db_opentran’:
dbdimp.c:1932: attention : format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘struct imp_dbh_t *’
dbdimp.c: In function ‘syb_db_disconnect’:
dbdimp.c:1970: attention : parenthèses suggérées autour de l'affectation utilisée comme valeur de vérité
dbdimp.c: In function ‘dbd_preparse’:
dbdimp.c:2465: attention : unused variable ‘STATES’
dbdimp.c: In function ‘_convert’:
dbdimp.c:3300: attention : parenthèses suggérées autour de && à l'intérieur de ||
dbdimp.c: In function ‘syb_bind_ph’:
dbdimp.c:5062: attention : operation on ‘lna’ may be undefined
dbdimp.c: In function ‘fetch_data’:
dbdimp.c:5191: attention : format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘CS_INT’
make: *** [dbdimp.o] Erreur 1
  MEWP/DBD-Sybase-1.09.tar.gz
  /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
Failed during this command:
 MEWP/DBD-Sybase-1.09.tar.gz                  : make NO
Est ce qu'il y a une solution ?

Merci d'avance