Ask a Question related to PERL Modules, Design and Development.
-
Andreas Bauer #1
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
-
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... -
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... -
#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... -
#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: ... -
#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: ... -
Juha Laiho #2
Re: DBI Module for windows
"Andreas Bauer" <andreas_bauer@arcor.de> said:
Looks like John Bokma can help you there. Google found this (as the first>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.
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
-
Andreas Bauer #3
Re: DBI Module for windows
Juha Laiho wrote:
Installed nmake.exe and nmake.err, but at compling with> Looks like John Bokma can help you there.
> [url]http://johnbokma.com/perl/make-for-windows.html[/url]
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
-
John Bokma #4
Re: DBI Module for windows
"Andreas Bauer" <andreas_bauer@arcor.de> wrote:
ppm install DBI> 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?
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
-
Sisyphus #5
Re: DBI Module for windows
"Andreas Bauer" <andreas_bauer@arcor.de> wrote in message
..
..I don't think that error has anything to do with the involvement of DBI ...>
> 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]
probably something else in your script.
Just means that DBI has not been installed correctly - probably because> [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]
'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



Reply With Quote

