Thread Windows strawberry Perl cpan DBD::DB2 (13 answers)
Opened by Kirsche at 2012-04-19 10:52

Kirsche
 2012-04-30 16:50
#157964 #157964
User since
2011-08-05
10 Artikel
BenutzerIn
[default_avatar]
Danke an pq, die Installation lief mit cpan . an. Ich erhalte bei allen Versionen runter bis 0.79a Fehlermeldungen. Kann mir hier noch jemand weiterhelfen?

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
C:\Daten\DBD-DB2\DBD-DB2-0.9a\DBD-DB2-0.9a>cpan .
You are visiting the local directory
'.'
without lock, take care that concurrent processes do not do likewise.
CPAN: Time::HiRes loaded ok (v1.9721)
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Mon, 30 Apr 2012 09:29:19 GMT
You are visiting the local directory
'C:/Daten/DBD-DB2/DBD-DB2-0.9a/DBD-DB2-0.9a/.'
without lock, take care that concurrent processes do not do likewise.
Running make for C:/Daten/DBD-DB2/DBD-DB2-0.9a/DBD-DB2-0.9a/.

CPAN.pm: Going to build C:/Daten/DBD-DB2/DBD-DB2-0.9a/DBD-DB2-0.9a/.


Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!

Using DB2 in "z:/Programme/IBM/SQLLIB"
System: perl5.010001 DBI1.616 Win32 strawberryperl 5.10.1.2 #1 Wed Apr 28 11:51:
06 2010 i386 MSWin32-x86-multi-thread dl_win32.xs
Compiler: gcc -s -O2 -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPE
RL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READF
IX
Includes: -I"z:/Programme/IBM/SQLLIB/include" -I"C:\Daten\StrawberryPerl510Porta
ble\perl\site\lib/auto/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\vendor\li
b/auto/DBI"
Libraries: -L"z:/Programme/IBM/SQLLIB/lib" db2cli db2api -L"C:/PROGRA~1/IBM/SQLL
IB/LIB"

Note (probably harmless): No library found for db2cli
Note (probably harmless): No library found for db2api
Writing Makefile for DBD::DB2::Constants
Writing Makefile for DBD::DB2
Skip blib\lib\DBD\DB2.pm (unchanged)
Skip blib\lib\Bundle\DBD\DB2.pm (unchanged)
Skip blib\lib\DBD\DB2.pod (unchanged)
Skip ..\blib\lib\DBD\DB2\Constants.pm (unchanged)
gcc -c -I"z:/Programme/IBM/SQLLIB/include" -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-ali
asing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.22\" -DXS_VERSION=\"0
.22\" "-IC:\Daten\StrawberryPerl510Portable\perl\lib\CORE" Constants.c
Running Mkbootstrap for DBD::DB2::Constants ()
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe -MExtUtils::Command -e "chm
od" -- 644 Constants.bs
dlltool --def Constants.def --output-exp dll.exp
g++.exe -o ..\blib\arch\auto\DBD\DB2\Constants\Constants.dll -Wl,--base-file -Wl
,dll.base -mdll -s -L"C:\Daten\StrawberryPerl510Portable\perl\lib\CORE" -L"C:\Da
ten\StrawberryPerl510Portable\c\lib" Constants.o -Wl,--image-base,0x370e0000 C:
\Daten\StrawberryPerl510Portable\perl\lib\CORE\libperl510.a -lmoldname -lkernel3
2 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32
-lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
dlltool --def Constants.def --base-file dll.base --output-exp dll.exp
g++.exe -o ..\blib\arch\auto\DBD\DB2\Constants\Constants.dll -mdll -s -L"C:\Date
n\StrawberryPerl510Portable\perl\lib\CORE" -L"C:\Daten\StrawberryPerl510Portable
\c\lib" Constants.o -Wl,--image-base,0x370e0000 C:\Daten\StrawberryPerl510Porta
ble\perl\lib\CORE\libperl510.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -
lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe -MExtUtils::Command -e "chm
od" -- 755 ..\blib\arch\auto\DBD\DB2\Constants\Constants.dll
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe -MExtUtils::Command -e "cp"
-- Constants.bs ..\blib\arch\auto\DBD\DB2\Constants\Constants.bs
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe -MExtUtils::Command -e "chm
od" -- 644 ..\blib\arch\auto\DBD\DB2\Constants\Constants.bs
gcc -c -I"z:/Programme/IBM/SQLLIB/include" -I"C:\Daten\StrawberryPerl510Portabl
e\perl\site\lib/auto/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\vendor\lib/
auto/DBI" -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -
O2 -DVERSION=\"0.9a\" -DXS_VERSION=\"0.9a\" "-IC:\Daten\StrawberryPer
l510Portable\perl\lib\CORE" DB2.c
DB2.xs: In function `XS_DBD__DB2__db_disconnect':
DB2.xs:115: error: invalid lvalue in assignment
DB2.xs: In function `XS_DBD__DB2__db_DESTROY':
DB2.xs:175: error: invalid lvalue in assignment
dmake.exe: Error code 129, while making 'DB2.o'
C:/Daten/DBD-DB2/DBD-DB2-0.9a/DBD-DB2-0.9a/.
C:\Daten\StrawberryPerl510Portable\c\bin\dmake.exe -- NOT OK
Directory 'C:/Daten/DBD-DB2/DBD-DB2-0.9a/DBD-DB2-0.9a/.' not below C:\Daten\Stra
wberryPerl510Portable\cpan\build, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible

View full thread Windows strawberry Perl cpan DBD::DB2