Thread DBI Installtion (3 answers)
Opened by J-jayz-Z at 2005-06-20 22:37

J-jayz-Z
 2005-06-20 22:37
#47041 #47041
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Hi,

ich habe folgendes Problem:
Ich bekomme das DBI Modul von CPAN nicht installiert.
perl -MCPAN -e "install DBI" bringt mir folgende (lange) Meldung:
Code: (dl )
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 20 Jun 2005 04:12:42 GMT
Running install for module DBI
Running make for T/TI/TIMB/DBI-1.48.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.48.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/PDF-Template-0.22 (10.5>10.0 MB)
Deleting from cache: /root/.cpan/build/XML-Parser-2.34 (10.2>10.0 MB)
DBI-1.48/
DBI-1.48/dbiprof.PL
DBI-1.48/t/
DBI-1.48/t/80proxy.t
DBI-1.48/t/41prof_dump.t
DBI-1.48/t/09trace.t
DBI-1.48/t/30subclass.t
DBI-1.48/t/pod.t
DBI-1.48/t/03handle.t
DBI-1.48/t/40profile.t
DBI-1.48/t/10examp.t
DBI-1.48/t/04mods.t
DBI-1.48/t/50dbm.t
DBI-1.48/t/07kids.t
DBI-1.48/t/06attrs.t
DBI-1.48/t/14utf8.t
DBI-1.48/t/20meta.t
DBI-1.48/t/60preparse.t
DBI-1.48/t/15array.t
DBI-1.48/t/42prof_data.t
DBI-1.48/t/02dbidrv.t
DBI-1.48/t/08keeperr.t
DBI-1.48/t/01basics.t
DBI-1.48/t/11fetch.t
DBI-1.48/t/05thrclone.t
DBI-1.48/Driver_xst.h
DBI-1.48/lib/
DBI-1.48/lib/DBD/
DBI-1.48/lib/DBD/Proxy.pm
DBI-1.48/lib/DBD/DBM.pm
DBI-1.48/lib/DBD/ExampleP.pm
DBI-1.48/lib/DBD/File.pm
DBI-1.48/lib/DBD/NullP.pm
DBI-1.48/lib/DBD/Sponge.pm
DBI-1.48/lib/DBI/
DBI-1.48/lib/DBI/Const/
DBI-1.48/lib/DBI/Const/GetInfoType.pm
DBI-1.48/lib/DBI/Const/GetInfo/
DBI-1.48/lib/DBI/Const/GetInfo/ANSI.pm
DBI-1.48/lib/DBI/Const/GetInfo/ODBC.pm
DBI-1.48/lib/DBI/Const/GetInfoReturn.pm
DBI-1.48/lib/DBI/ProfileDumper/
DBI-1.48/lib/DBI/ProfileDumper/Apache.pm
DBI-1.48/lib/DBI/FAQ.pm
DBI-1.48/lib/DBI/W32ODBC.pm
DBI-1.48/lib/DBI/ProfileData.pm
DBI-1.48/lib/DBI/DBD/
DBI-1.48/lib/DBI/DBD/Metadata.pm
DBI-1.48/lib/DBI/SQL/
DBI-1.48/lib/DBI/SQL/Nano.pm
DBI-1.48/lib/DBI/Profile.pm
DBI-1.48/lib/DBI/ProfileDumper.pm
DBI-1.48/lib/DBI/ProxyServer.pm
DBI-1.48/lib/DBI/DBD.pm
DBI-1.48/lib/DBI/PurePerl.pm
DBI-1.48/lib/Win32/
DBI-1.48/lib/Win32/DBIODBC.pm
DBI-1.48/lib/Bundle/
DBI-1.48/lib/Bundle/DBI.pm
DBI-1.48/Changes
DBI-1.48/MANIFEST
DBI-1.48/typemap
DBI-1.48/dbiproxy.PL
DBI-1.48/Roadmap.pod
DBI-1.48/Perl.xs
DBI-1.48/dbi_sql.h
DBI-1.48/DBI.pm
DBI-1.48/ex/
DBI-1.48/ex/perl_dbi_nulls_test.pl
DBI-1.48/test.pl
DBI-1.48/README
DBI-1.48/DBI.xs
DBI-1.48/DBIXS.h
DBI-1.48/META.yml
DBI-1.48/Driver.xst
DBI-1.48/dbivport.h
DBI-1.48/dbd_xsh.h
DBI-1.48/ToDo
DBI-1.48/dbipport.h
DBI-1.48/Makefile.PL
Removing previously used /root/.cpan/build/DBI-1.48

CPAN.pm: Going to build T/TI/TIMB/DBI-1.48.tar.gz


*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

*** Note:
The optional PlRPC-modules (RPC::PlServer etc) are not installed.
If you want to use the DBD::Proxy driver and DBI::ProxyServer
modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
You can install them any time after installing the DBI.
You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
http://search.cpan.org/
http://www.perl.com/CPAN/modules/by-module
http://www.perl.org/CPAN/modules/by-module
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Creating DBI::PurePerl test variant: t/zvpp_01basics.t
Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t
Creating DBI::PurePerl test variant: t/zvpp_03handle.t
Creating DBI::PurePerl test variant: t/zvpp_04mods.t
Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t (use threads)
Creating DBI::PurePerl test variant: t/zvpp_06attrs.t
Creating DBI::PurePerl test variant: t/zvpp_07kids.t
Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t
Creating DBI::PurePerl test variant: t/zvpp_09trace.t
Creating DBI::PurePerl test variant: t/zvpp_10examp.t
Creating DBI::PurePerl test variant: t/zvpp_11fetch.t
Creating DBI::PurePerl test variant: t/zvpp_14utf8.t
Creating DBI::PurePerl test variant: t/zvpp_15array.t
Creating DBI::PurePerl test variant: t/zvpp_20meta.t
Creating DBI::PurePerl test variant: t/zvpp_30subclass.t
Creating DBI::PurePerl test variant: t/zvpp_40profile.t
Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t
Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t
Creating DBI::PurePerl test variant: t/zvpp_50dbm.t
Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
Checking if your kit is complete...
Looks good

I see you're using perl 5.008004 on i386-linux-thread-multi, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
cp Changes blib/lib/DBI/Changes.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp Roadmap.pod blib/lib/Roadmap.pod
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib/perl/5.8/CORE" -Wall -Wno-comment Perl.c
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:380:30: sys/types.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:411:19: ctype.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:423:23: locale.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:440:20: setjmp.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:446:26: sys/param.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:451:23: stdlib.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:456:23: unistd.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:488:23: string.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:637:27: netinet/in.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:641:26: arpa/inet.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:651:25: sys/stat.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:673:21: time.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:680:25: sys/time.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:687:27: sys/times.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:694:19: errno.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:709:25: sys/socket.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:736:21: netdb.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:838:30: sys/ioctl.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:867:23: dirent.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from /usr/lib/perl/5.8/CORE/perl.h:1196,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:1806,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/handy.h:121:25: inttypes.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:1970,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/unixish.h:106:21: signal.h: No such file or directory
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:2072:33: pthread.h: No such file or directory
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:2074: error: syntax error before "perl_os_thread"
/usr/lib/perl/5.8/CORE/perl.h:2074: warning: type defaults to `int' in declaration of `perl_os_thread'
/usr/lib/perl/5.8/CORE/perl.h:2074: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2075: error: syntax error before "perl_mutex"
/usr/lib/perl/5.8/CORE/perl.h:2075: warning: type defaults to `int' in declaration of `perl_mutex'
/usr/lib/perl/5.8/CORE/perl.h:2075: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2076: error: syntax error before "perl_cond"
/usr/lib/perl/5.8/CORE/perl.h:2076: warning: type defaults to `int' in declaration of `perl_cond'
/usr/lib/perl/5.8/CORE/perl.h:2076: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2077: error: syntax error before "perl_key"
/usr/lib/perl/5.8/CORE/perl.h:2077: warning: type defaults to `int' in declaration of `perl_key'
/usr/lib/perl/5.8/CORE/perl.h:2077: warning: data definition has no type or storage class
In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51,
from /usr/lib/perl/5.8/CORE/perl.h:2324,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perlio.h:65:19: stdio.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51,
from /usr/lib/perl/5.8/CORE/perl.h:2324,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perlio.h:253: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlio.h:256: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlio.h:256: warning: type defaults to `int' in declaration of `PerlIO_exportFILE'
/usr/lib/perl/5.8/CORE/perlio.h:256: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlio.h:259: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlio.h:259: warning: type defaults to `int' in declaration of `PerlIO_findFILE'
/usr/lib/perl/5.8/CORE/perlio.h:259: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlio.h:262: error: syntax error before "FILE"
In file included from /usr/lib/perl/5.8/CORE/perl.h:2338,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/sv.h:388: error: syntax error before "DIR"
/usr/lib/perl/5.8/CORE/sv.h:388: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/sv.h:388: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/sv.h:390: error: syntax error before '}' token
/usr/lib/perl/5.8/CORE/sv.h:390: warning: type defaults to `int' in declaration of `xio_dirpu'
/usr/lib/perl/5.8/CORE/sv.h:390: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/sv.h:404: error: syntax error before '}' token
In file included from /usr/lib/perl/5.8/CORE/op.h:487,
from /usr/lib/perl/5.8/CORE/perl.h:2345,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/reentr.h:71:20: pwd.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:74:20: grp.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:77:22: netdb.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:80:43: stdlib.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:84:26: crypt.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:89:27: shadow.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/op.h:487,
from /usr/lib/perl/5.8/CORE/perl.h:2345,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/reentr.h:611: error: field `_crypt_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:619: error: field `_drand48_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:623: error: field `_grent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:634: error: field `_hostent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:653: error: field `_netent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:668: error: field `_protoent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:683: error: field `_pwent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:694: error: field `_servent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:709: error: field `_spent_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:720: error: field `_gmtime_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:723: error: field `_localtime_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:770: error: field `_random_struct' has incomplete type
/usr/lib/perl/5.8/CORE/reentr.h:771: error: syntax error before "int32_t"
/usr/lib/perl/5.8/CORE/reentr.h:771: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/reentr.h:779: error: syntax error before '}' token
/usr/lib/perl/5.8/CORE/reentr.h:779: warning: type defaults to `int' in declaration of `REENTR'
/usr/lib/perl/5.8/CORE/reentr.h:779: warning: data definition has no type or storage class
In file included from /usr/lib/perl/5.8/CORE/perl.h:2347,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/av.h:13: error: syntax error before "ssize_t"
/usr/lib/perl/5.8/CORE/av.h:13: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/av.h:14: warning: type defaults to `int' in declaration of `xav_max'
/usr/lib/perl/5.8/CORE/av.h:14: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/av.h:23: error: syntax error before '}' token
In file included from /usr/lib/perl/5.8/CORE/perl.h:2350,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/scope.h:221: error: syntax error before "sigjmp_buf"
/usr/lib/perl/5.8/CORE/scope.h:221: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/scope.h:228: error: syntax error before '}' token
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:2522: error: syntax error before "getuid"
/usr/lib/perl/5.8/CORE/perl.h:2522: warning: type defaults to `int' in declaration of `getuid'
/usr/lib/perl/5.8/CORE/perl.h:2522: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2523: error: syntax error before "geteuid"
/usr/lib/perl/5.8/CORE/perl.h:2523: warning: type defaults to `int' in declaration of `geteuid'
/usr/lib/perl/5.8/CORE/perl.h:2523: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2524: error: syntax error before "getgid"
/usr/lib/perl/5.8/CORE/perl.h:2524: warning: type defaults to `int' in declaration of `getgid'
/usr/lib/perl/5.8/CORE/perl.h:2524: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:2525: error: syntax error before "getegid"
/usr/lib/perl/5.8/CORE/perl.h:2525: warning: type defaults to `int' in declaration of `getegid'
/usr/lib/perl/5.8/CORE/perl.h:2525: warning: data definition has no type or storage class
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:2838:22: math.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:3479,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/thrdvar.h:85: error: field `Tstatbuf' has incomplete type
/usr/lib/perl/5.8/CORE/thrdvar.h:86: error: field `Tstatcache' has incomplete type
/usr/lib/perl/5.8/CORE/thrdvar.h:91: error: field `Ttimesbuf' has incomplete type
/usr/lib/perl/5.8/CORE/thrdvar.h:140: error: field `Tstart_env' has incomplete type
In file included from /usr/lib/perl/5.8/CORE/perl.h:3481,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/intrpvar.h:66: error: syntax error before "time_t"
/usr/lib/perl/5.8/CORE/intrpvar.h:66: warning: no semicolon at end of struct or union
/usr/lib/perl/5.8/CORE/intrpvar.h:237: error: syntax error before "Iuid"
/usr/lib/perl/5.8/CORE/intrpvar.h:237: warning: type defaults to `int' in declaration of `Iuid'
/usr/lib/perl/5.8/CORE/intrpvar.h:237: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:238: error: syntax error before "Ieuid"
/usr/lib/perl/5.8/CORE/intrpvar.h:238: warning: type defaults to `int' in declaration of `Ieuid'
/usr/lib/perl/5.8/CORE/intrpvar.h:238: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:239: error: syntax error before "Igid"
/usr/lib/perl/5.8/CORE/intrpvar.h:239: warning: type defaults to `int' in declaration of `Igid'
/usr/lib/perl/5.8/CORE/intrpvar.h:239: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:240: error: syntax error before "Iegid"
/usr/lib/perl/5.8/CORE/intrpvar.h:240: warning: type defaults to `int' in declaration of `Iegid'
/usr/lib/perl/5.8/CORE/intrpvar.h:240: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:497: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:497: warning: type defaults to `int' in declaration of `Ireentrant_buffer'
/usr/lib/perl/5.8/CORE/intrpvar.h:497: warning: data definition has no type or storage class
In file included from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perl.h:3487: error: syntax error before '}' token
In file included from /usr/lib/perl/5.8/CORE/perl.h:3557,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/proto.h:90: error: syntax error before "mode_t"
/usr/lib/perl/5.8/CORE/proto.h:199: error: syntax error before "off64_t"
/usr/lib/perl/5.8/CORE/proto.h:201: error: syntax error before "Perl_do_sysseek"
/usr/lib/perl/5.8/CORE/proto.h:201: error: syntax error before "off64_t"
/usr/lib/perl/5.8/CORE/proto.h:201: warning: type defaults to `int' in declaration of `Perl_do_sysseek'
/usr/lib/perl/5.8/CORE/proto.h:201: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:202: error: syntax error before "Perl_do_tell"
/usr/lib/perl/5.8/CORE/proto.h:202: warning: type defaults to `int' in declaration of `Perl_do_tell'
/usr/lib/perl/5.8/CORE/proto.h:202: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:284: error: syntax error before "gid_t"
/usr/lib/perl/5.8/CORE/proto.h:456: error: syntax error before "Perl_my_fork"
/usr/lib/perl/5.8/CORE/proto.h:456: warning: type defaults to `int' in declaration of `Perl_my_fork'
/usr/lib/perl/5.8/CORE/proto.h:456: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:582: error: syntax error before "pid_t"
/usr/lib/perl/5.8/CORE/proto.h:815: error: syntax error before "pid_t"
/usr/lib/perl/5.8/CORE/proto.h:916: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/proto.h:916: error: syntax error before "DIR"
/usr/lib/perl/5.8/CORE/proto.h:916: warning: type defaults to `int' in declaration of `Perl_dirp_dup'
/usr/lib/perl/5.8/CORE/proto.h:916: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:1305: error: syntax error before "Perl_PerlIO_read"
/usr/lib/perl/5.8/CORE/proto.h:1305: warning: type defaults to `int' in declaration of `Perl_PerlIO_read'
/usr/lib/perl/5.8/CORE/proto.h:1305: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:1306: error: syntax error before "Perl_PerlIO_write"
/usr/lib/perl/5.8/CORE/proto.h:1306: warning: type defaults to `int' in declaration of `Perl_PerlIO_write'
/usr/lib/perl/5.8/CORE/proto.h:1306: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:1307: error: syntax error before "Perl_PerlIO_unread"
/usr/lib/perl/5.8/CORE/proto.h:1307: warning: type defaults to `int' in declaration of `Perl_PerlIO_unread'
/usr/lib/perl/5.8/CORE/proto.h:1307: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:1308: error: syntax error before "Perl_PerlIO_tell"
/usr/lib/perl/5.8/CORE/proto.h:1308: warning: type defaults to `int' in declaration of `Perl_PerlIO_tell'
/usr/lib/perl/5.8/CORE/proto.h:1308: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/proto.h:1309: error: syntax error before "off64_t"
In file included from /usr/lib/perl/5.8/CORE/perl.h:3595,
from DBIXS.h:19,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perlvars.h:31: error: syntax error before "PL_thr_key"
/usr/lib/perl/5.8/CORE/perlvars.h:31: warning: type defaults to `int' in declaration of `PL_thr_key'
/usr/lib/perl/5.8/CORE/perlvars.h:31: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlvars.h:48: error: syntax error before "PL_op_mutex"
/usr/lib/perl/5.8/CORE/perlvars.h:48: warning: type defaults to `int' in declaration of `PL_op_mutex'
/usr/lib/perl/5.8/CORE/perlvars.h:48: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlvars.h:52: error: syntax error before "PL_dollarzero_mutex"
/usr/lib/perl/5.8/CORE/perlvars.h:52: warning: type defaults to `int' in declaration of `PL_dollarzero_mutex'
/usr/lib/perl/5.8/CORE/perlvars.h:52: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perl.h:4112:24: sys/ipc.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:4113:24: sys/sem.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:4230:24: sys/file.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perlapi.h:36,
from /usr/lib/perl/5.8/CORE/XSUB.h:320,
from DBIXS.h:20,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/intrpvar.h:66: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:66: warning: type defaults to `int' in declaration of `Perl_Ibasetime_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:66: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:237: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:237: warning: type defaults to `int' in declaration of `Perl_Iuid_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:237: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:238: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:238: warning: type defaults to `int' in declaration of `Perl_Ieuid_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:238: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:239: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:239: warning: type defaults to `int' in declaration of `Perl_Igid_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:239: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:240: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:240: warning: type defaults to `int' in declaration of `Perl_Iegid_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:240: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/intrpvar.h:497: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/intrpvar.h:497: warning: type defaults to `int' in declaration of `Perl_Ireentrant_buffer_ptr'
/usr/lib/perl/5.8/CORE/intrpvar.h:497: warning: data definition has no type or storage class
In file included from /usr/lib/perl/5.8/CORE/perlapi.h:37,
from /usr/lib/perl/5.8/CORE/XSUB.h:320,
from DBIXS.h:20,
from Perl.xs:5:
/usr/lib/perl/5.8/CORE/perlvars.h:31: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlvars.h:31: warning: type defaults to `int' in declaration of `Perl_Gthr_key_ptr'
/usr/lib/perl/5.8/CORE/perlvars.h:31: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlvars.h:48: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlvars.h:48: warning: type defaults to `int' in declaration of `Perl_Gop_mutex_ptr'
/usr/lib/perl/5.8/CORE/perlvars.h:48: warning: data definition has no type or storage class
/usr/lib/perl/5.8/CORE/perlvars.h:52: error: syntax error before '*' token
/usr/lib/perl/5.8/CORE/perlvars.h:52: warning: type defaults to `int' in declaration of `Perl_Gdollarzero_mutex_ptr'
/usr/lib/perl/5.8/CORE/perlvars.h:52: warning: data definition has no type or storage class
Perl.xs: In function `dbd_st_rows':
Perl.xs:41: warning: implicit declaration of function `pthread_getspecific'
In file included from Perl.c:59:
Driver_xst.h: In function `dbdxst_bind_params':
Driver_xst.h:55: warning: implicit declaration of function `sprintf'
Driver_xst.h: In function `dbdxst_fetchall_arrayref':
Driver_xst.h:100: error: dereferencing pointer to incomplete type
Driver_xst.h:100: error: dereferencing pointer to incomplete type
Perl.xsi: In function `XS_DBDdr_data_sources':
Perl.xsi:61: error: dereferencing pointer to incomplete type
Perl.xsi:64: error: dereferencing pointer to incomplete type
Perl.xsi: In function `XS_DBDdb_selectrow_arrayref':
Perl.xsi:182: error: dereferencing pointer to incomplete type
Perl.xsi:187: error: dereferencing pointer to incomplete type
Perl.xsi: In function `XS_DBDst_fetchrow_array':
Perl.xsi:599: error: dereferencing pointer to incomplete type
Perl.xsi:602: error: dereferencing pointer to incomplete type
Perl.c: In function `boot_DBD__Perl':
Perl.c:1085: warning: implicit declaration of function `strcmp'
Perl.c: At top level:
/usr/lib/perl/5.8/CORE/reentr.h:775: error: storage size of `_srandom_struct' isn't known
make: *** [Perl.o] Error 1
/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

für mich sieht das so aus, als würde irgendwo eine C lib fehlen, oder?
Danke schonmal für eure Hilfe!
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'

http://perl-tutor.de

View full thread DBI Installtion