install DBI

install DBI

am 17.06.2008 17:11:26 von steffen haugk

Hi,
trying to install DBI for use with mysql I can't seem to be able to manage.

- ppm tells me everything is OK
- cpan tells me it can't write makefile

when I run my script, it tells me that it

"Can't locate DBI.pm in @INC"

This is on Mac OS 10.4.

Any ideas?

Cheers, Steffen
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: install DBI

am 17.06.2008 20:38:43 von Brian Raven

Steffen Haugk <> wrote:
> Hi,
> trying to install DBI for use with mysql I can't seem to be able to
> manage. =

> =

> - ppm tells me everything is OK
> - cpan tells me it can't write makefile

Recent versions of Activestate Perl come with DBI already installed (I
believe that ppm uses it). Which version of Activstate Perl are you
using?

> =

> when I run my script, it tells me that it
> =

> "Can't locate DBI.pm in @INC"
> =

> This is on Mac OS 10.4.
> =

> Any ideas?

Could be an old version and DBI isn't installed, a new version
installation that is broken, something wrong with your code, something
else. Its hard to say without more info. =


HTH

-- =

Brian Raven =


==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================

The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.

Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =

Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.

L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.

Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: install DBI

am 18.06.2008 13:02:07 von steffen haugk

Thanks, Brian,

apologies for replying to you directly, I somehow imagined the mailing list=
had posted it on your behalf. You can tell I am new around here.

It turned out it was an INC problem. I had three installations of Perl on t=
he machine, the one that comes with mac os, activePerl 5.8 and ActivePerl 5=
..10.

The first line of my script called /usr/bin/perl which must be the one that=
comes with Mac OS.

Once I had figured out what perl to use it worked.

Thanks for your help. I should have been able to figure that one out by mys=
elf.

Cheers, Steffen

________________________________________
From: activeperl-bounces@listserv.ActiveState.com [activeperl-bounces@lists=
erv.ActiveState.com] On Behalf Of Brian Raven [Brian.Raven@aems.net]
Sent: 17 June 2008 19:38
To: activeperl@listserv.ActiveState.com
Subject: RE: install DBI

Steffen Haugk <> wrote:
> Hi,
> trying to install DBI for use with mysql I can't seem to be able to
> manage.
>
> - ppm tells me everything is OK
> - cpan tells me it can't write makefile

Recent versions of Activestate Perl come with DBI already installed (I
believe that ppm uses it). Which version of Activstate Perl are you
using?

>
> when I run my script, it tells me that it
>
> "Can't locate DBI.pm in @INC"
>
> This is on Mac OS 10.4.
>
> Any ideas?

Could be an old version and DBI isn't installed, a new version
installation that is broken, something wrong with your code, something
else. Its hard to say without more info.

HTH

--
Brian Raven

==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================

The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.

Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom.
Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.

L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.

Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: install DBI

am 18.06.2008 13:11:14 von Brian Raven

Steffen Haugk <> wrote:
> Thanks, Brian,
> =

> apologies for replying to you directly, I somehow imagined the
> mailing list had posted it on your behalf. You can tell I am new
> around here. =

> =

> It turned out it was an INC problem. I had three installations of
> Perl on the machine, the one that comes with mac os, activePerl 5.8
> and ActivePerl 5.10. =

> =

> The first line of my script called /usr/bin/perl which must be the
> one that comes with Mac OS. =


Yes, that would do it.

> =

> Once I had figured out what perl to use it worked.
> =

> Thanks for your help. I should have been able to figure that one out
> by myself. =


No problem. Glad you figured it out.

HAND

-- =

Brian Raven =


==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================

The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.

Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =

Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.

L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.

Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs