DBI Module for windows

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default DBI Module for windows

    Hello NG,

    I installed ActivePerl for windows and want to install a DBI Module, but it
    fails. I tried from ActivePerl page dbi 1.25 with perl -MCPAN -e "install
    Bundle:DBI". The result is, that at teh end of compiling the package, there
    is a errormessage:
    nmake for windows not found.
    Do someone have experiences with DBI moules for Win32?

    Best regards
    Andreas


    Andreas Bauer Guest

  2. Similar Questions and Discussions

    1. what module is the windows message box in?
      Hello, I have a barebones release of Perl 5.8. I need to use Win32::MsgBox in the body of the script. From CPAN I downloaded libwin32-0.191.zip...
    2. OpenGL perl module on Windows?
      Greetings, Does anyone out there use the Perl OpenGL-0.54 module? On Windows? Anyone able to compile the module successfully on Windows? To...
    3. #24681 [NoF->Opn]: windows xp and php-module with apache2
      ID: 24681 User updated by: harry at rhsoft dot net Reported By: harry at rhsoft dot net -Status: No Feedback...
    4. #24681 [Opn]: windows xp and php-module with apache2
      ID: 24681 Updated by: sniper@php.net Reported By: harry at rhsoft dot net Status: Open Bug Type: ...
    5. #24681 [Fbk->Opn]: windows xp and php-module with apache2
      ID: 24681 User updated by: harry at rhsoft dot net Reported By: harry at rhsoft dot net -Status: Feedback +Status: ...
  3. #2

    Default Re: DBI Module for windows

    "Andreas Bauer" <andreas_bauer@arcor.de> said:
    >I installed ActivePerl for windows and want to install a DBI Module, but it
    >fails. I tried from ActivePerl page dbi 1.25 with perl -MCPAN -e "install
    >Bundle:DBI". The result is, that at teh end of compiling the package, there
    >is a errormessage:
    >nmake for windows not found.
    Looks like John Bokma can help you there. Google found this (as the first
    hit) with keywords perl windows nmake.

    [url]http://johnbokma.com/perl/make-for-windows.html[/url]

    --
    Wolf a.k.a. Juha Laiho Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
    PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
    Juha Laiho Guest

  4. #3

    Default Re: DBI Module for windows

    Juha Laiho wrote:
    > Looks like John Bokma can help you there.
    > [url]http://johnbokma.com/perl/make-for-windows.html[/url]
    Installed nmake.exe and nmake.err, but at compling with
    perl -MCPAN -e "install Bundle::DBI"
    the script stopped at the line, - t/ithreadm......ok 1/10Terminat:

    Running make test
    Microsoft (R) Program Maintenan
    Copyright (c) Microsoft Corp 19
    F:\Perl\bin\perl.exe "-
    ib\lib', 'blib\arch')" t/*.t
    t/base..........ok
    t/config........ok
    t/fork..........skipped
    all skipped: no reason
    t/forkm.........skipped
    all skipped: no reason
    t/ithread.......ok
    t/ithreadm......ok 1/10Terminat

    So that I had to ended it with STRG C.
    Then script did:
    NMAKE : U1058:
    Stop.
    Terminating on signal SIGINT(2)

    If I run my application adressbuch.pl there are folowing
    errormessages of the apache error.log:
    [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] Premature end of
    script headers: adressbuch.pl, referer:
    [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] Can't locate
    loadable object for module DBI in @INC (@INC contains: F:/Perl/lib
    F:/Perl/site/lib .) at F:/Perl/lib/DBI.pm line 254\r, referer:
    [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] BEGIN
    failed--compilation aborted at F:/Perl/lib/DBI.pm line 254.\r, referer:
    [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] Compilation failed
    in require at F:/Apache/Apache2/cgi-bin/adressbuch.pl line 10.\r, referer:
    [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] BEGIN
    failed--compilation aborted at F:/Apache/Apache2/cgi-bin/adressbuch.pl line
    10.\r, referer: [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]


    Best regards
    Andreas


    Andreas Bauer Guest

  5. #4

    Default Re: DBI Module for windows

    "Andreas Bauer" <andreas_bauer@arcor.de> wrote:
    > Hello NG,
    >
    > I installed ActivePerl for windows and want to install a DBI Module,
    > but it fails. I tried from ActivePerl page dbi 1.25 with perl -MCPAN
    > -e "install Bundle:DBI". The result is, that at teh end of compiling
    > the package, there is a errormessage:
    > nmake for windows not found.
    > Do someone have experiences with DBI moules for Win32?
    ppm install DBI

    doesn't work? I never use the -MCPAN thingy with ActivePerl.

    Which driver do you need?

    See also: [url]http://johnbokma.com/perl/cpan-modules-installed.html[/url]

    last time I checked, installing the ODBC driver also installed DBI. I am
    quite sure the same holds for the MySQL driver.


    --
    John Bokma Freelance software developer
    &
    Experienced Perl programmer: [url]http://castleamber.com/[/url]
    John Bokma Guest

  6. #5

    Default Re: DBI Module for windows


    "Andreas Bauer" <andreas_bauer@arcor.de> wrote in message
    ..
    ..
    >
    > If I run my application adressbuch.pl there are folowing
    > errormessages of the apache error.log:
    > [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] Premature end of
    > script headers: adressbuch.pl, referer:
    > [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    I don't think that error has anything to do with the involvement of DBI ...
    probably something else in your script.
    > [Tue Jul 11 23:47:34 2006] [error] [client 192.168.0.24] Can't locate
    > loadable object for module DBI in @INC (@INC contains: F:/Perl/lib
    > F:/Perl/site/lib .) at F:/Perl/lib/DBI.pm line 254\r, referer:
    > [url]http://192.168.0.24/adressbuch/adressbuch.html[/url]
    Just means that DBI has not been installed correctly - probably because
    'nmake install' did not get run. The errors that follow that one are simply
    a consequence of the botched installation of DBI.
    DBI.pm is being found, but the "loadable object" (DBI.dll), which is the
    compiled part of the module, is missing.

    My hunch is that you could force an 'nmake install', and the module would be
    quite serviceable for you - though the test failure reveals that there is at
    least one limitation to the module's capabilities on your machine.

    Another alternative would be for you to run (while connected to the
    internet):
    ppm install [url]http://theoryx5.uwinnipeg.ca/ppms/DBI.ppd[/url]

    That would give you version 1.50 of DBI.

    Browse to [url]http://theoryx5.uwinnipeg.ca/ppms/[/url] to view the list of other ppm
    packages for perl 5.8 available from that repository.

    Cheers,
    Rob


    Sisyphus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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