Would be nice to add that to the Makefile.pl

But looking at it breifly I think all we are opening a whole can of worms here.

The required files could be stored allmost anywhere on the disk so searching for it could take a while.

Unfortunetly I do not have a copy of VS8 to test ways of looking for it and required libs.

We might get away with just looking for the libs in the PATH but I am not sure which exact libs to look for without haveing VS8 to play with.

I will see if I can get a copy.

cheers

----- Original Message ----- From: "Tim Bunce" <[EMAIL PROTECTED]>
To: "John Scoles" <[EMAIL PROTECTED]>
Cc: "Nigel Horne" <[EMAIL PROTECTED]>; "Tim Bunce" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Tuesday, May 15, 2007 11:21 AM
Subject: Re: FAIL DBI-1.56 MSWin32-x86-multi-thread 4.0


On Tue, May 15, 2007 at 11:04:38AM -0400, John Scoles wrote:
Well that is it then. Which version of Visual studio are you using?

As I said before VS8 normally only comes with the libs needed for .NET apps
not DOS apps.

Check the readme file for windows it has links to some of the libraries you
may need.

Is there a simple and reliable way to detect this problem in Makefile.PL?

Tim.

cheers


----- Original Message ----- From: "Nigel Horne" <[EMAIL PROTECTED]>
To: "Tim Bunce" <[EMAIL PROTECTED]>
Cc: "John Scoles" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Tuesday, May 15, 2007 9:20 AM
Subject: RE: FAIL DBI-1.56 MSWin32-x86-multi-thread 4.0


>Done. As you can see I'm missing an SDK, though "perl Makefile.PL" >didn't
>detect that it was missing, or tell me where to get it from.
>
>-Nigel
>
>C:\Perl\cpan\build\DB_File-1.815-oHlquv>nmake clean
>
>Microsoft (R) Program Maintenance Utility   Version 1.50
>Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
>       C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f  *.lib core
>fallback.c
>core.[0-9]  core.[0-9][0-9] DB_File.bso
>blib\arch\auto\DB_File\extralibs.ld pm
>_to_blib.ts  core.[0-9][0-9][0-9][0-9] DB_File.x  DB_File.bs perl.exe
>tmon.out
>blib\arch\auto\DB_File\extralibs.all  *.obj DB_File.c  pm_to_blib
>blibdirs.ts  c
>ore.[0-9][0-9][0-9][0-9][0-9] *perl.core  core.*perl.*.? Makefile.aperl
>DB_File
>.def perl  core.[0-9][0-9][0-9] mon.out  libDB_File.def perlmain.c
>perl.exe
>so_
>locations  DB_File.exp
>       C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf  *.pdb
>constants.xs  c
>onstants.h blib
>       C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Makefile
>Makefile.old
>>N
>UL
>
>C:\Perl\cpan\build\DB_File-1.815-oHlquv>perl Makefile.PL
>Parsing config.in...
>Looks Good.
>Checking if your kit is complete...
>Looks good
>Note (probably harmless): No library found for -llibdb
>Note (probably harmless): No library found for oldnames.lib
>Note (probably harmless): No library found for kernel32.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 DB_File
>
>C:\Perl\cpan\build\DB_File-1.815-oHlquv>nmake
>
>Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>       cl -c  -I/usr/local/BerkeleyDB/include  -nologo -GF -W3 -MD -Zi -DND
>EBUG
>-O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_S
>ITEC
>USTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
>-DPERL_MSV
>CRT_
>

>EADFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.815\"  -DXS_VERSION=\"1.815\"
>"-I
>C:\Perl\lib\CORE"  -D_NOT_CORE  -DmDB_Prefix_t=size_t
>-DmDB_Hash_t=u_int32_t
>ver
>sion.c
>version.c
>version.c(30) : fatal error C1083: Cannot open include file: 'db.h': No
>such
>fil
>e or directory
>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>8\VC\BIN\c
>l.EXE"' : return code '0x2'
>Stop.
>
>C:\Perl\cpan\build\DB_File-1.815-oHlquv>
>
>


Reply via email to