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
----------------------------------------------
Welcome to Strawberry Perl Portable Edition!
* URL - http://www.strawberryperl.com/
* see README.portable.TXT for more info
----------------------------------------------
Perl executable: C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe
Perl version : 5.10.1
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Daten\StrawberryPerl510Portable>db2level
DB21085I Exemplar "DB2" verwendet "32" Bit und DB2-Codefreigabe "SQL08015" mit
Aktualitäts-ID "02060106".
Informationstokens: "DB2 v8.1.5.449", "s040212", "WR21334" und FixPak "5".
Produkt ist in "C:\Programme\IBM\SQLLIB" installiert.
C:\Daten\StrawberryPerl510Portable>set DB2_HOME=C:\Programme\IBM\SQLLIB
C:\Daten\StrawberryPerl510Portable>echo %DB2_HOME%
C:\Programme\IBM\SQLLIB
C:\Daten\StrawberryPerl510Portable>cpan DBD::DB2
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Wed, 18 Apr 2012 15:00:14 GMT
Running install for module 'DBD::DB2'
Running make for I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.027)
Checksum for C:\Daten\StrawberryPerl510Portable\cpan\sources\authors\id\I\IB\IBM
TORDB2\DBD-DB2-1.84.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.60)
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
Using DB2 in "C:/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"C:/Programme/IBM/SQLLIB/include" -I"C:\Daten\StrawberryPerl510Port
able\perl\site\lib/auto/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\lib/auto
/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\vendor\lib/auto/DBI" -I"C:\Date
n\StrawberryPerl510Portable\perl\site\lib/auto/DBI"
Libraries: -L"C:/Programme/IBM/SQLLIB/lib" db2cli.lib db2api.lib -L"C:/PROGRA~1/
IBM/SQLLIB/LIB"
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for db2cli.lib
Note (probably harmless): No library found for db2api.lib
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::DB2::Constants
Writing Makefile for DBD::DB2
dmake.exe: Error: -- C:\PROGRA~1\MKSTOO~1\mksnt\sh.exe;c:\Programme\\MKS\Toolki
t\mksnt\sh.exe: Invalid argument
IBMTORDB2/DBD-DB2-1.84.tar.gz
C:\Daten\StrawberryPerl510Portable\c\bin\dmake.exe -- NOT OK
CPAN: YAML loaded ok (v0.71)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
2012-04-19T12:48:16 KirscheGibt es noch andere Stellen mit Verweisen auf MKS-Toolkit, die ich löschen könnte?
QuoteWenn ich aus der Umgebungsvariable PATH alle Verweise auf MKS-Toolkit entferne, erhalte ich trotzdem noch dieselben Meldungen.
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
C:\Daten\StrawberryPerl510Portable>echo %SHELL%
C:/PROGRA~1/MKSTOO~1/mksnt/sh.exe;c:\Programme\/MKS/Toolkit/mksnt/sh.exe
C:\Daten\StrawberryPerl510Portable>set SHELL=;
C:\Daten\StrawberryPerl510Portable>set SHELL=
C:\Daten\StrawberryPerl510Portable>echo %SHELL%
%SHELL%
C:\Daten\StrawberryPerl510Portable>cpan DBD::DB2
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Wed, 18 Apr 2012 15:00:14 GMT
Running install for module 'DBD::DB2'
Running make for I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.027)
Checksum for C:\Daten\StrawberryPerl510Portable\cpan\sources\authors\id\I\IB\IBM
TORDB2\DBD-DB2-1.84.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.60)
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
DB2_HOME environment variable must be set to installed location of DB2.
Warning: No success on command[C:\Daten\StrawberryPerl510Portable\perl\bin\perl.
exe Makefile.PL]
CPAN: YAML loaded ok (v0.71)
IBMTORDB2/DBD-DB2-1.84.tar.gz
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
C:\Daten\StrawberryPerl510Portable>set DB2_HOME=c:\Programme\IBM\SQLLIB
C:\Daten\StrawberryPerl510Portable>cpan DBD::DB2
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Wed, 18 Apr 2012 15:00:14 GMT
Running install for module 'DBD::DB2'
Running make for I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.027)
Checksum for C:\Daten\StrawberryPerl510Portable\cpan\sources\authors\id\I\IB\IBM
TORDB2\DBD-DB2-1.84.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.60)
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build I/IB/IBMTORDB2/DBD-DB2-1.84.tar.gz
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
Using DB2 in "c:/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"c:/Programme/IBM/SQLLIB/include" -I"C:\Daten\StrawberryPerl510Port
able\perl\site\lib/auto/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\lib/auto
/DBI" -I"C:\Daten\StrawberryPerl510Portable\perl\vendor\lib/auto/DBI" -I"C:\Date
n\StrawberryPerl510Portable\perl\site\lib/auto/DBI"
Libraries: -L"c:/Programme/IBM/SQLLIB/lib" db2cli.lib db2api.lib -L"C:/PROGRA~1/
IBM/SQLLIB/LIB"
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for db2cli.lib
Note (probably harmless): No library found for db2api.lib
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::DB2::Constants
Writing Makefile for DBD::DB2
cp DB2.pm blib\lib\DBD\DB2.pm
cp lib/Bundle/DBD/DB2.pm blib\lib\Bundle\DBD\DB2.pm
cp DB2.pod blib\lib\DBD\DB2.pod
cp Constants.pm ..\blib\lib\DBD\DB2\Constants.pm
AutoSplitting ..\blib\lib\DBD\DB2\Constants.pm (..\blib\lib\auto\DBD\DB2\Constan
ts)
C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe C:\Daten\StrawberryPerl510P
ortable\perl\lib\ExtUtils\xsubpp -typemap C:\Daten\StrawberryPerl510Portable\pe
rl\lib\ExtUtils\typemap Constants.xs > Constants.xsc && C:\Daten\StrawberryPerl
510Portable\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Constants.xsc Const
ants.c
gcc -c -I"c:/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=\"1.84\" -DXS_VERSION=\"1
.84\" "-IC:\Daten\StrawberryPerl510Portable\perl\lib\CORE" Constants.c
Constants.xs:16:20: sqlcli.h: No such file or directory
Constants.xs:18:21: sqlcli1.h: No such file or directory
dmake: Error code 129, while making 'Constants.o'
dmake.exe: Error code 255, while making 'subdirs'
IBMTORDB2/DBD-DB2-1.84.tar.gz
C:\Daten\StrawberryPerl510Portable\c\bin\dmake.exe -- NOT OK
CPAN: YAML loaded ok (v0.71)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
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
----------------------------------------------
Welcome to Strawberry Perl Portable Edition!
* URL - http://www.strawberryperl.com/
* see README.portable.TXT for more info
----------------------------------------------
Perl executable: C:\Daten\StrawberryPerl510Portable\perl\bin\perl.exe
Perl version : 5.10.1
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Daten\StrawberryPerl510Portable>DB2_HOME=C:\Programme\IBM\SQLLIB
Der Befehl "DB2_HOME" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
C:\Daten\StrawberryPerl510Portable>set DB2_HOME=C:\Programme\IBM\SQLLIB
C:\Daten\StrawberryPerl510Portable>set SHELL=
C:\Daten\StrawberryPerl510Portable>cpan I\IB\IBMTORDB2\DBD-DB2-0.9a.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.834)
CPAN: Time::HiRes loaded ok (v1.9721)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Proxy authentication needed!
(Note: to permanently configure username and password run
o conf proxy_user your_username
o conf proxy_pass your_password
)
Username: Username
CPAN: Term::ReadKey loaded ok (v2.30.01)
Password:
CPAN: YAML loaded ok (v0.71)
CPAN: CPAN::SQLite loaded ok (v0.199)
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Mon, 23 Apr 2012 12:30:23 GMT Updating database file ...
Gathering information from index files ...
Obtaining current state of database ...
Populating database tables ...
Done!
Warning: Cannot install I\IB\IBMTORDB2\DBD-DB2-0.9a.tar.gz, don't know what it i s.
Try the command
i /I\IB\IBMTORDB2\DBD-DB2-0.9a.tar.gz/
to find objects with matching identifiers.
C:\Daten\StrawberryPerl510Portable>i /I\IB\IBMTORDB2\DBD-DB2-0.9a.tar.gz/
Der Befehl "i" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
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