Re: [Info-ingres] Building DBD::Ingres for ActiveState Perl

This is a discussion on Re: [Info-ingres] Building DBD::Ingres for ActiveState Perl within the Ingres Database forums in Other Databases category; Hi Grant. I still am having some problems. Unchanged Makefile.PL at this point. I get lots of missing libs, and then a missing header file. Please bear in mind that I am not sure what I'm doing at this point - so it's probably a stupid error. Thanks Roger I get: C:\Program Files\Microsoft Visual C++ Toolkit 2003>cd \data\downloads\DBD-Ingres -0.51 C:\Data\Downloads\DBD-Ingres-0.51>perl makefile.pl Configuring DBD::Ingres ... Try 'perl Makefile.PL -v' if you have any problems. Using Ingres in C:\Program Files\CA\Ingres [II] ...

Go Back   Database Forum > Other Databases > Ingres Database

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-04-2005, 02:50 PM
Default Re: [Info-ingres] Building DBD::Ingres for ActiveState Perl

Hi Grant.

I still am having some problems.

Unchanged Makefile.PL at this point.

I get lots of missing libs, and then a missing header file.

Please bear in mind that I am not sure what I'm doing at this point - so
it's probably a stupid error.

Thanks
Roger

I get:
C:\Program Files\Microsoft Visual C++ Toolkit 2003>cd
\data\downloads\DBD-Ingres
-0.51

C:\Data\Downloads\DBD-Ingres-0.51>perl makefile.pl

Configuring DBD::Ingres ...

Try 'perl Makefile.PL -v'
if you have any problems.


Using Ingres in C:\Program Files\CA\Ingres [II]

Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for msvcrt.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for DBD::Ingres

C:\Data\Downloads\DBD-Ingres-0.51>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -c -IC:\Perl\site\lib/auto/DBI -nologo -Gf -W3 -MD -Zi
-DNDEBUG -O1
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DBUILT_BY_ACTIVESTATE -DNO_HA
SH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PE
RLIO -DPERL_MSVCRT_READFIX -g -DVERSION=\"0.51\"
-DXS_VERSION=\"0.51\" "-IC
:\Perl\lib\CORE" Ingres.c
cl : Command line warning D4002 : ignoring unknown option '-g'
Ingres.c
c1 : warning C4349: /Gf is deprecated and will not be supported in
future versio
ns of Visual C++; remove /Gf or use /GF instead
c:\Perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include
file: 'win
dows.h': No such file or directory
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

C:\Data\Downloads\DBD-Ingres-0.51>



Croker, Grant wrote:
>
>>Roger Hill writes:
>>
>>
>>>The question is - has anyone got DBD::Ingres working on Windows with
>>>Active State Perl? If so, pointers would be appreciated.

>>
>>Please - to me also!
>>

>
>
> It is possible to build the DBI using Active State's perl - however I
> have only done it with Microsoft's Visual C++ compiler. If you don't
> have the compiler you can download it from
> http://msdn.microsoft.com/visualc/vctoolkit2003/. Note this is just the
> command line stuff no pretty gui for debugging.
>
> After testing and installing DBI I did the following within the
> DBD::Ingres source area:
>
> - set LIB to include %II_SYSTEM%\ingres\lib otherwise the next step
> fails to find libingres.lib
> - perl Makefile.pl
> - nmake
> - set DBI_DBNAME=iidbdb
> - nmake test
> - nmake install
>
> Output posted below:
>
> perl Makefile.pl
>
> Configuring DBD::Ingres ...
>
> Try 'perl Makefile.PL -v'
> if you have any problems.
>
>
> Using Ingres in C:\IngresGC
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for DBD::Ingres
>
> nmake
>
> cp Ingres.pm blib\lib\DBD\Ingres.pm
> cp ingtest.pl blib\lib\DBD\ingtest.pl
> cp ingperl.pl blib\lib/ingperl.pl
> cp Ingperl.pm blib\lib/Ingperl.pm
> C:\ASPerl\bin\perl.exe -p -e "s!/\*64\*!!" dbdimp.psc >
> dbdimp.sc
> C:\IngresGC\ingres\bin\esqlc.exe -o.h -w -p dbdimp.sc
> ESQL dbdimp.sc:
> C:\ASPerl\bin\perl.exe -p -e "s/~DRIVER~/Ingres/g"
> Ingres.xsi
> C:\ASPerl\bin\perl.exe C:\ASPerl\lib\ExtUtils/xsubpp -typemap
> C:\ASPerl\lib\ExtUtils\typemap Ingres.xs > Ingres.xsc &&
> C:\ASPerl\bin\perl.exe -MExtUtils::Command -e mv Ingres.xsc Ingres.c
> cl -c -IC:\ASPerl\site\lib/auto/DBI -nologo -Gf -W3 -MD -Zi
> -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
> -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
> -DPERL_MSVCRT_READFIX -g -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\"
> "-IC:\ASPerl\lib\CORE" Ingres.c
> Ingres.c
> c1 : warning C4349: /Gf is deprecated and will not be supported in
> future versions of Visual C++; remove /Gf or use /GF instead
> Ingres.xs(30) : warning C4013: 'dbd_db_do' undefined; assuming extern
> returning int
> C:\IngresGC\ingres\bin\esqlc.exe -o.h -w -p dbdimp.sc
> ESQL dbdimp.sc:
> cl -c -IC:\ASPerl\site\lib/auto/DBI -nologo -Gf -W3 -MD -Zi
> -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
> -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
> -DPERL_MSVCRT_READFIX -g -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\"
> "-IC:\ASPerl\lib\CORE" dbdimp.c
> dbdimp.c
> c1 : warning C4349: /Gf is deprecated and will not be supported in
> future versions of Visual C++; remove /Gf or use /GF instead
> dbdimp.sc(583) : warning C4101: 'i' : unreferenced local variable
> dbdimp.sc(769) : warning C4018: '>' : signed/unsigned mismatch
> dbdimp.sc(1315) : warning C4101: 'ch' : unreferenced local variable
> Running Mkbootstrap for DBD::Ingres ()
> C:\ASPerl\bin\perl.exe -MExtUtils::Command -e chmod 644
> Ingres.bs
> C:\ASPerl\bin\perl.exe -MExtUtils::Mksymlists -e
> "Mksymlists('NAME'=>\"DBD::Ingres\", 'DLBASE' => 'Ingres', 'DL_FUNCS' =>
> { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
> link -out:blib\arch\auto\DBD\Ingres\Ingres.dll -dll -nologo
> -nodefaultlib -debug -opt:ref,icf -libpath:"C:\ASPerl\lib\CORE"
> -machine:x86 Ingres.obj dbdimp.obj libingres.lib shell32.lib msvcrt.lib
> libc.lib kernel32.lib user32.lib mpr.lib advapi32.lib netapi32.lib
> libcmt.lib C:\ASPerl\lib\CORE\perl58.lib
> C:\IngresGC\ingres\lib\libingres.lib "C:\Program Files\Microsoft Visual
> Studio .NET 2003\VC7\PlatformSDK\lib\shell32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\LIB\msvcrt.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\LIB\libc.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\LIB\kernel32.lib"
> "C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\user32.lib" "C:\Program Files\Microsoft Visual
> Studio .NET 2003\VC7\PlatformSDK\lib\mpr.lib" "C:\Program
> Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\advapi32.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\PlatformSDK\lib\netapi32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\LIB\libcmt.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\LIB\oldnames.lib"
> "C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\LIB\kernel32.lib" "C:\Program Files\Microsoft Visual Studio
> .NET 2003\VC7\PlatformSDK\lib\user32.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\PlatformSDK\lib\gdi32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\winspool.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\PlatformSDK\lib\comdlg32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\advapi32.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\PlatformSDK\lib\shell32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\ole32.lib"
> "C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\oleaut32.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\PlatformSDK\lib\netapi32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\uuid.lib"
> "C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\ws2_32.lib" "C:\Program Files\Microsoft Visual
> Studio .NET 2003\VC7\PlatformSDK\lib\mpr.lib" "C:\Program
> Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\winmm.lib"
> "C:\Program Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\version.lib" "C:\Program Files\Microsoft Visual
> Studio .NET 2003\VC7\PlatformSDK\lib\odbc32.lib" "C:\Program
> Files\Microsoft Visual Studio .NET
> 2003\VC7\PlatformSDK\lib\odbccp32.lib" "C:\Program Files\Microsoft
> Visual Studio .NET 2003\VC7\LIB\msvcrt.lib" -def:Ingres.def
> Creating library blib\arch\auto\DBD\Ingres\Ingres.lib and object
> blib\arch\auto\DBD\Ingres\Ingres.exp
> C:\ASPerl\bin\perl.exe -MExtUtils::Command -e chmod 755
> blib\arch\auto\DBD\Ingres\Ingres.dll
> C:\ASPerl\bin\perl.exe -MExtUtils::Command -e cp Ingres.bs
> blib\arch\auto\DBD\Ingres\Ingres.bs
> C:\ASPerl\bin\perl.exe -MExtUtils::Command -e chmod 644
> blib\arch\auto\DBD\Ingres\Ingres.bs
>
> set DBI_DBNAME=iidbdb
> nmake test
>
> C:\ASPerl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib\lib', 'blib\arch')" t\datatypes.t t\dbi.t
> t\event.t t\exec.t
> t\datatypes....ok
> t\dbi..........ok
> t\event........ok
> t\exec.........skipped
> all skipped: no reason given
> All tests successful, 1 test skipped.
> Files=4, Tests=364, 13 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
> CPU)
>
> nmake install
>
> Installing C:\ASPerl\site\lib\auto\DBD\Ingres\Ingres.dll
> Installing C:\ASPerl\site\lib\auto\DBD\Ingres\Ingres.exp
> Installing C:\ASPerl\site\lib\auto\DBD\Ingres\Ingres.lib
> Installing C:\ASPerl\site\lib\auto\DBD\Ingres\Ingres.pdb
> Files found in blib\arch: installing files in blib\lib into architecture
> dependent library tree
> Appending installation info to C:\ASPerl\lib/perllocal.pod
>
>
> _______________________________________________
> Info-ingres mailing list
> Info-ingres-at-cariboulake.com
> http://mailman.cariboulake.com/mailm...py/info-ingres
>

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.