|
|
|
|
|
|
| Author |
Message |
Sisyphus *nix forums Guru
Joined: 04 Mar 2005
Posts: 503
|
Posted: Tue Jul 11, 2006 11:02 pm Post subject:
Re: DBI Module for windows
|
|
|
"Andreas Bauer" <andreas_bauer@arcor.de> wrote in message
..
..
| Quote: |
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:
http://192.168.0.24/adressbuch/adressbuch.html
|
I don't think that error has anything to do with the involvement of DBI ...
probably something else in your script.
| Quote: | [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:
http://192.168.0.24/adressbuch/adressbuch.html
|
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 http://theoryx5.uwinnipeg.ca/ppms/DBI.ppd
That would give you version 1.50 of DBI.
Browse to http://theoryx5.uwinnipeg.ca/ppms/ to view the list of other ppm
packages for perl 5.8 available from that repository.
Cheers,
Rob |
|
| Back to top |
|
 |
John Bokma *nix forums Guru
Joined: 23 Feb 2005
Posts: 1136
|
Posted: Tue Jul 11, 2006 10:54 pm Post subject:
Re: DBI Module for windows
|
|
|
"Andreas Bauer" <andreas_bauer@arcor.de> wrote:
| Quote: | 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: http://johnbokma.com/perl/cpan-modules-installed.html
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: http://castleamber.com/ |
|
| Back to top |
|
 |
Andreas Bauer *nix forums beginner
Joined: 03 Jun 2005
Posts: 15
|
Posted: Tue Jul 11, 2006 10:20 pm Post subject:
Re: DBI Module for windows
|
|
|
Juha Laiho wrote:
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:
http://192.168.0.24/adressbuch/adressbuch.html
[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:
http://192.168.0.24/adressbuch/adressbuch.html
[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:
http://192.168.0.24/adressbuch/adressbuch.html
[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:
http://192.168.0.24/adressbuch/adressbuch.html
[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: http://192.168.0.24/adressbuch/adressbuch.html
Best regards
Andreas |
|
| Back to top |
|
 |
Juha Laiho *nix forums Guru Wannabe
Joined: 22 Feb 2005
Posts: 139
|
Posted: Tue Jul 11, 2006 4:23 pm Post subject:
Re: DBI Module for windows
|
|
|
"Andreas Bauer" <andreas_bauer@arcor.de> said:
| Quote: | 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.
http://johnbokma.com/perl/make-for-windows.html
--
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) |
|
| Back to top |
|
 |
Andreas Bauer *nix forums beginner
Joined: 03 Jun 2005
Posts: 15
|
Posted: Tue Jul 11, 2006 2:34 pm Post subject:
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 |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 6:29 am | All times are GMT
|
|
Free Myspace Comments | El libro de los nombre | Myspace Comments | Auto Loans | Bargain Flights
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|