Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Neil Beddoe wrote:
>
> Thanks for looking at this Martin.  I'm a bit out of my depth here.
>
> The line in ODBC.xsi is:
>
>     if (DBIc_CACHED_KIDS(imp_dbh)) {
>          SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));
      /* cast them to
> the winds */
>         DBIc_CACHED_KIDS(imp_dbh) = Nullhv;   #ERROR_GENERATED_HERE
>     }
>
> This is line 277, the same assignment fails in line 336.

Ok, I found this:

http://www.nntp.perl.org/group/perl...05/msg4987.html

which suggests there is something I need to look into further.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

> -----Original Message-----
> From: Martin Evans [mailto:martin.evans@easysoft.com]
> Sent: 21 April 2008 13:17
> To: dbi-users@perl.org
> Subject: Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
>
> Martin Evans wrote: 
> 
> -I/usr/local/include 
> 'strcpy' 
> 'strcpy' 
>
> I've managed to blag an ssh session on a MAC running 10.5.2, Perl 5.8.8
> and DBI 1.52. I made no changes at all to the Makefile and it built ok.
> However, it fails to run with:
>
> t/01base................ok 1/5install_driver(ODBC) failed: Can't load
> '/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bundle' for
> module DBD::ODBC:
> dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bundl
> e,
> 2): Symbol not found: ___CFConstantStringClassReference
>    Referenced from:
> /Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bundle
>    Expected in: dynamic lookup
>   at (eval 7) line 3
> Compilation failed in require at (eval 7) line 3.
>
> If I then change the Makefile to include -framework CoreFoundation in
> EXTRALIBS and LDLOADLIBS it gets further but unfortunately the mac I was
> using was Intel based (I didn't realise this at first) and the only
> driver I could find was built for ppc so it gave:
>
> mach-o, but wrong architecture
>
> for the ODBC driver shared library.
>
> If you can mail what is on the lines you got errors for in ODBC.xsi we
> may be able to wwork it out.
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
>
> .
>
> This message is intended only for the use of the person(s) to whom it is addressed
. It may contain information which is privileged and confidential. Accordingly any u
nauthorised use is strictly prohibited. If you are not the intended recipient, pleas
e c
ontact the sender as soon as possible.
>
> It is not intended as an offer or solicitation for the purchase or sale of any fin
ancial instrument or as an official confirmation of any transaction, unless specific
ally agreed otherwise. All market prices, data and other information are not warrant
ed
as to completeness or accuracy and are subject to change without notice. Any
 opinions or advice contained in this Internet email are subject to the term
s and conditions expressed in any applicable governing Marble Bar Asset Mana
gement LLP's  terms and con
ditions of business or client agreement letter. Any comments or statements made herein do n
ot necessarily reflect those of Marble Bar Asset Management LLP.
>
> Marble Bar Asset Management LLP is regulated and authorised by the FSA.
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Martin Evans
04-22-08 12:35 AM


RE: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Hi=20Martin. =20=20Just=20wondering=20if=20you=20got=
20any=20further=20with=
=20this.=20

-----Original=20Message-----
From:=20Martin=20Evans=20[mailto:martin.evans@easysoft.com]=20
Sent:=2021=20April=202008=2016:33
To:=20dbi-users@perl.org
 Subject:=20Re:=20Unable=20to=20install=2
0DBD::ODBC=20on=20OSX=20Leopard=20=
10.5.2

Neil=20Beddoe=20wrote:
>=20=20
> =20Thanks=20for=20looking=20at=20this=20
Martin.=20=20I'm=20a=20bit=20out=20=[/color
]
of=20my=20depth=20here.
>=20
>=20The=20line=20in=20ODBC.xsi=20is:
>=20
> =20=20=20=20=20if=20(DBIc_CACHED_KIDS(im
p_dbh))=20{
> =20=20=20=20=20=20=20=20=20SvREFCNT_dec(
DBIc_CACHED_KIDS(imp_dbh));=20=20=
=20=20=20=20/*=20cast=20them=20to
>=20the=20winds=20*/
> =20=20=20=20=20=20=20=20=20DBIc_CACHED_K
IDS(imp_dbh)=20=3D=20Nullhv;=20=20=
=20#ERROR_GENERATED_HERE
>=20=20=20=20=20}
>=20
> =20This=20is=20line=20277,=20the=20same=
20assignment=20fails=20in=20line=20=[/color
]
336.

Ok,=20I=20found=20this:

http://www.nntp.perl.org/group/perl...05/msg4987.html

 which=20suggests=20there=20is=20somethin
g=20I=20need=20to=20look=20into=20=
further.

Martin
--
Martin=20J.=20Evans
Easysoft=20Limited
http://www.easysoft.com

>=20-----Original=20Message-----
> =20From:=20Martin=20Evans=20[mailto:mart
in.evans@easysoft.com]
>=20Sent:=2021=20April=202008=2013:17
>=20To:=20dbi-users@perl.org
> =20Subject:=20Re:=20Unable=20to=20instal
l=20DBD::ODBC=20on=20OSX=20Leopar=
d=2010.5.2
>=20
>=20Martin=20Evans=20wrote: 
 
ymbols=20and=20that=20 
o=20>>(see=20README.osx=20 
ll=20no=20luck.=20=20I'm=20 
run=20perl=20 
this: 
LDLOADLIBS=20=3D
 
 ve=20told=20me=20but=20I=20[color=darkre
d] 
 as=20not=20got=20to=20the=20[color=darkr
ed] 
=20-=20see=20below. 
you=20can=20offer=20 
>=20 
i386
 
comp=20 
>=20-I/usr/local/include 
e=20build.=20What=20is
 
t=201=20of
>=20'strcpy' 
t=202=20of=20 
t=201=20of
>=20'strcpy' 
t=202=20of=20 
such=20file=20or 
>=20
> =20I've=20managed=20to=20blag=20an=20ssh
=20session=20on=20a=20MAC=20runni=
ng=2010.5.2,=20Perl=20
>=205.8.8=20and=20DBI=201.52. =20I=20made=20no=20changes=20at=20all=20
to=20=
the=20Makefile=20and=20it
built=20ok.
> =20However,=20it=20fails=20to=20run=20wi
th:
>=20
>=20t/01base................ok=201/ 5install_driver(ODBC)=20failed:=20Can't=

=20load=20
>=20'/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bundle'=20=

>=20for=20module=20DBD::ODBC:
>=20dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bun=

>=20dl
>=20e,
> =202):=20Symbol=20not=20found:=20___CFCo
nstantStringClassReference
>=20=20=20=20Referenced=20from:=20
>=20/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC.bundle
> =20=20=20=20Expected=20in:=20dynamic=20l
ookup
>=20=20=20at=20(eval=207)=20line=203
> =20Compilation=20failed=20in=20require=2
0at=20(eval=207)=20line=203.
>=20
> =20If=20I=20then=20change=20the=20Makefi
le=20to=20include=20-framework=20=
CoreFoundation=20in=20
> =20EXTRALIBS=20and=20LDLOADLIBS=20it=20g
ets=20further=20but=20unfortunate=
ly=20the=20mac=20I=20
> =20was=20using=20was=20Intel=20based=20(
I=20didn't=20realise=20this=20at=20=[/color
]
first)=20and=20the=20
> =20only=20driver=20I=20could=20find=20wa
s=20built=20for=20ppc=20so=20it=20=
gave:
>=20
>=20mach-o,=20but=20wrong=20architecture
>=20
> =20for=20the=20ODBC=20driver=20shared=20
library.
>=20
> =20If=20you=20can=20mail=20what=20is=20o
n=20the=20lines=20you=20got=20err=
ors=20for=20in=20ODBC.xsi=20we

> =20may=20be=20able=20to=20wwork=20it=20o
ut.
>=20
>=20Martin
>=20--
>=20Martin=20J.=20Evans
>=20Easysoft=20Limited
>=20http://www.easysoft.com
>=20
>=20.
>=20
> =20This=20message=20is=20intended=20only
=20for=20the=20use=20of=20the=20p=
erson(s)=20to=20whom=20it
is=20addressed. =20It=20may=20contain=20information=20wh
ich=20is=20privileg=
ed=20and
confidential. =20Accordingly=20any=20unauthorised=20us
e=20is=20strictly=20p=
rohibited.
 If=20you=20are=20not=20the=20intended=20
recipient,=20please=20contact=20th=
e=20sender=20as=20soon
as=20possible.
>=20
> =20It=20is=20not=20intended=20as=20an=20
offer=20or=20solicitation=20for=20=
the=20purchase=20or
 sale=20of=20any=20financial=20instrument
=20or=20as=20an=20official=20confi=
rmation=20of=20any
 transaction,=20unless=20specifically=20a
greed=20otherwise.=20All=20market=20
=
prices,
 data=20and=20other=20information=20are=2
0not=20warranted=20as=20to=20compl=
eteness=20or
 accuracy=20and=20are=20subject=20to=20ch
ange=20without=20notice.=20Any=20o=
pinions=20or
 advice=20contained=20in=20this=20Interne
t=20email=20are=20subject=20to=20t=
he=20terms=20and
 conditions=20expressed=20in=20any=20appl
icable=20governing=20Marble=20Bar=20
=
Asset
 Management=20LLP's=20=20terms=20and=20co
nditions=20of=20business=20or=20cl=
ient=20agreement
letter. =20Any=20comments=20or=20statements=20ma
de=20herein=20do=20not=20ne=
cessarily
 reflect=20those=20of=20Marble=20Bar=20As
set=20Management=20LLP.
>=20
> =20Marble=20Bar=20Asset=20Management=20L
LP=20is=20regulated=20and=20autho=
rised=20by=20the
FSA.
>=20
>=20

.

 This=20message=20is=20intended=20only=20
for=20the=20use=20of=20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain=20information=
 =20which=20is=20privileged=20and=20confi
dential.=20Accordingly=20any=20una=
 uthorised=20use=20is=20strictly=20prohib
ited.=20If=20you=20are=20not=20the=
 =20intended=20recipient,=20please=20cont
act=20the=20sender=20as=20soon=20a=
s=20possible.

 It=20is=20not=20intended=20as=20an=20off
er=20or=20solicitation=20for=20the=
 =20purchase=20or=20sale=20of=20any=20fin
ancial=20instrument=20or=20as=20an=
 =20official=20confirmation=20of=20any=20
transaction,=20unless=20specifical=
ly=20agreed=20otherwise. =20All=20market=20prices,=20data=20and=2
0other=20i=
 nformation=20are=20not=20warranted=20as=
20to=20completeness=20or=20accurac=
 y=20and=20are=20subject=20to=20change=20
without=20notice.=20Any=20opinions=
 =20or=20advice=20contained=20in=20this=2
0Internet=20email=20are=20subject=20
=
 to=20the=20terms=20and=20conditions=20ex
pressed=20in=20any=20applicable=20=
 governing=20Marble=20Bar=20Asset=20Manag
ement=20LLP's=20=20terms=20and=20c=
 onditions=20of=20business=20or=20client=
20agreement=20letter.=20Any=20comm=
 ents=20or=20statements=20made=20herein=2
0do=20not=20necessarily=20reflect=20
=
 those=20of=20Marble=20Bar=20Asset=20Mana
gement=20LLP.

 Marble=20Bar=20Asset=20Management=20LLP=
20is=20regulated=20and=20authorise=
d=20by=20the=20FSA.

Report this thread to moderator Post Follow-up to this message
Old Post
Neil Beddoe
05-06-08 09:40 AM


Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Neil Beddoe wrote:
> Hi Martin.  Just wondering if you got any further with this.

Did Tim's suggestion not work for you? He said:

I suspect you're using an old version of DBI (I'd guess <= 1.55).
Try using a more recent version.

Have you installed a newer DBI?

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

> -----Original Message-----
> From: Martin Evans [mailto:martin.evans@easysoft.com]
> Sent: 21 April 2008 16:33
> To: dbi-users@perl.org
> Subject: Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
>
> Neil Beddoe wrote: 
>
> Ok, I found this:
>
> http://www.nntp.perl.org/group/perl...05/msg4987.html
>
> which suggests there is something I need to look into further.
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
> 
> 
> 
> 
> built ok. 
> 
> is addressed. It may contain information which is privileged and
> confidential. Accordingly any unauthorised use is strictly prohibited.
> If you are not the intended recipient, please contact the sender as soon
> as possible. 
> sale of any financial instrument or as an official confirmation of any
> transaction, unless specifically agreed otherwise. All market prices,
> data and other information are not warranted as to completeness or
> accuracy and are subject to change without notice. Any opinions or
> advice contained in this Internet email are subject to the terms and
> conditions expressed in any applicable governing Marble Bar Asset
> Management LLP's  terms and conditions of business or client agreement
> letter. Any comments or statements made herein do not necessarily
> reflect those of Marble Bar Asset Management LLP. 
> FSA. 
>
> .
>
> This message is intended only for the use of the person(s) to whom it is addressed
. It may contain information which is privileged and confidential. Accordingly any u
nauthorised use is strictly prohibited. If you are not the intended recipient, pleas
e c
ontact the sender as soon as possible.
>
> It is not intended as an offer or solicitation for the purchase or sale of any fin
ancial instrument or as an official confirmation of any transaction, unless specific
ally agreed otherwise. All market prices, data and other information are not warrant
ed
as to completeness or accuracy and are subject to change without notice. Any
 opinions or advice contained in this Internet email are subject to the term
s and conditions expressed in any applicable governing Marble Bar Asset Mana
gement LLP's  terms and con
ditions of business or client agreement letter. Any comments or statements made herein do n
ot necessarily reflect those of Marble Bar Asset Management LLP.
>
> Marble Bar Asset Management LLP is regulated and authorised by the FSA.
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Martin Evans
05-06-08 01:10 PM


RE: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Sorry. =20=20Yes=20I=20did=20see=20Tim's=20sugg
estion=20.=20=20I'm=20was=20=
(am)=20using=20DBI=201.604.=20

I=20took=20a=20look=20at
http://www.nntp.perl.org/group/perl...html=20as=20we=
ll
 but=20I=20couldn't=20get=20Tim's=20sugge
stion=20to=20compile=20(failed=20w=
ith=20h
undefined).

=20

-----Original=20Message-----
From:=20Martin=20Evans=20[mailto:martin.evans@easysoft.com]=20
Sent:=2006=20May=202008=2010:32
To:=20Neil=20Beddoe
Cc:=20dbi-users@perl.org
 Subject:=20Re:=20Unable=20to=20install=2
0DBD::ODBC=20on=20OSX=20Leopard=20=
10.5.2

Neil=20Beddoe=20wrote:
>=20Hi=20Martin. =20=20Just=20wondering=20if=20you=20got=
20any=20further=20=
with=20this.=20

 Did=20Tim's=20suggestion=20not=20work=20
for=20you?=20He=20said:

 I=20suspect=20you're=20using=20an=20old=
20version=20of=20DBI=20(I'd=20gues=
s=20<=3D=201.55).
 Try=20using=20a=20more=20recent=20versio
n.

 Have=20you=20installed=20a=20newer=20DBI
?

Martin
--
Martin=20J.=20Evans
Easysoft=20Limited
http://www.easysoft.com

>=20-----Original=20Message-----
> =20From:=20Martin=20Evans=20[mailto:mart
in.evans@easysoft.com]
>=20Sent:=2021=20April=202008=2016:33
>=20To:=20dbi-users@perl.org
> =20Subject:=20Re:=20Unable=20to=20instal
l=20DBD::ODBC=20on=20OSX=20Leopar=
d=2010.5.2
>=20
>=20Neil=20Beddoe=20wrote: 
=20of=20my=20depth=20here. 
=20=20=20=20/*=20cast=20them=20to 
=20#ERROR_GENERATED_HERE 
=20336.
>=20
>=20Ok,=20I=20found=20this:
>=20
>=20http://www.nntp.perl.org/group/perl.dbi.dev/2007/05/msg4987.html
>=20
> =20which=20suggests=20there=20is=20somet
hing=20I=20need=20to=20look=20int=
o=20further.
>=20
>=20Martin
>=20--
>=20Martin=20J.=20Evans
>=20Easysoft=20Limited
>=20http://www.easysoft.com
>=20 
rd=2010.5.2 
" 
symbols=20and=20that
 
oo=20>>(see=20README.osx
 
ill=20no=20luck.=20=20I'm=20 
=20run=20perl=20 
this: 
=20LDLOADLIBS=20 
>=20 
 ave=20told=20me=20but=20I=20[color=darkr
ed] 
has=20not=20got=20to=20the
 
t=20-=20see=20below. 
you=20can=20offer=20 
 
>=20 
ecomp=20 
he=20build.=20What=20 
>=20 
nt=201=20of 
nt=202=20of=20 
nt=201=20of 
nt=202=20of=20 
=20such=20file=20 
ing=2010.5.2,=20Perl 
 the=20Makefile=20and=20it

>=20built=20ok. 
t=20load
 
 
CoreFoundation=20in
 
ely=20the=20mac=20I=20 
=20first)=20and=20the=20 
gave: 
rors=20for=20in=20ODBC.xsi=20 
>=20 
 person(s)=20to=20whom=20it[color=darkred
]
>=20is=20addressed. =20It=20may=20contain=20information=20wh
ich=20is=20priv=
ileged=20and=20
>=20confidential. =20Accordingly=20any=20unauthorised=20us
e=20is=20strictly=
=20prohibited.
> =20If=20you=20are=20not=20the=20intended
=20recipient,=20please=20contact=20=[/color
]
the=20sender=20as=20
>=20soon=20as=20possible. 
the=20purchase=20or
> =20sale=20of=20any=20financial=20instrum
ent=20or=20as=20an=20official=20c=
onfirmation=20of=20any

> =20transaction,=20unless=20specifically=
20agreed=20otherwise.=20All=20mar=
ket=20prices,=20
> =20data=20and=20other=20information=20ar
e=20not=20warranted=20as=20to=20c=
ompleteness=20or=20
> =20accuracy=20and=20are=20subject=20to=2
0change=20without=20notice.=20Any=
=20opinions=20or=20
> =20advice=20contained=20in=20this=20Inte
rnet=20email=20are=20subject=20to=
=20the=20terms=20and=20
> =20conditions=20expressed=20in=20any=20a
pplicable=20governing=20Marble=20=
Bar=20Asset=20
> =20Management=20LLP's=20=20terms=20and=2
0conditions=20of=20business=20or=20=[/color
]
client=20agreement

>=20letter. =20Any=20comments=20or=20statements=20ma
de=20herein=20do=20not=20=[/color
]
necessarily=20
> =20reflect=20those=20of=20Marble=20Bar=2
0Asset=20Management=20LLP. 
orised=20by=20the
>=20FSA. 
>=20
>=20.
>=20
> =20This=20message=20is=20intended=20only
=20for=20the=20use=20of=20the=20p=
erson(s)=20to=20whom=20it
is=20addressed. =20It=20may=20contain=20information=20wh
ich=20is=20privileg=
ed=20and
confidential. =20Accordingly=20any=20unauthorised=20us
e=20is=20strictly=20p=
rohibited.
 If=20you=20are=20not=20the=20intended=20
recipient,=20please=20contact=20th=
e=20sender=20as=20soon
as=20possible.
>=20
> =20It=20is=20not=20intended=20as=20an=20
offer=20or=20solicitation=20for=20=
the=20purchase=20or
 sale=20of=20any=20financial=20instrument
=20or=20as=20an=20official=20confi=
rmation=20of=20any
 transaction,=20unless=20specifically=20a
greed=20otherwise.=20All=20market=20
=
prices,
 data=20and=20other=20information=20are=2
0not=20warranted=20as=20to=20compl=
eteness=20or
 accuracy=20and=20are=20subject=20to=20ch
ange=20without=20notice.=20Any=20o=
pinions=20or
 advice=20contained=20in=20this=20Interne
t=20email=20are=20subject=20to=20t=
he=20terms=20and
 conditions=20expressed=20in=20any=20appl
icable=20governing=20Marble=20Bar=20
=
Asset
 Management=20LLP's=20=20terms=20and=20co
nditions=20of=20business=20or=20cl=
ient=20agreement
letter. =20Any=20comments=20or=20statements=20ma
de=20herein=20do=20not=20ne=
cessarily
 reflect=20those=20of=20Marble=20Bar=20As
set=20Management=20LLP.
>=20
> =20Marble=20Bar=20Asset=20Management=20L
LP=20is=20regulated=20and=20autho=
rised=20by=20the
FSA.
>=20
>=20

.

 This=20message=20is=20intended=20only=20
for=20the=20use=20of=20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain=20information=
 =20which=20is=20privileged=20and=20confi
dential.=20Accordingly=20any=20una=
 uthorised=20use=20is=20strictly=20prohib
ited.=20If=20you=20are=20not=20the=
 =20intended=20recipient,=20please=20cont
act=20the=20sender=20as=20soon=20a=
s=20possible.

 It=20is=20not=20intended=20as=20an=20off
er=20or=20solicitation=20for=20the=
 =20purchase=20or=20sale=20of=20any=20fin
ancial=20instrument=20or=20as=20an=
 =20official=20confirmation=20of=20any=20
transaction,=20unless=20specifical=
ly=20agreed=20otherwise. =20All=20market=20prices,=20data=20and=2
0other=20i=
 nformation=20are=20not=20warranted=20as=
20to=20completeness=20or=20accurac=
 y=20and=20are=20subject=20to=20change=20
without=20notice.=20Any=20opinions=
 =20or=20advice=20contained=20in=20this=2
0Internet=20email=20are=20subject=20
=
 to=20the=20terms=20and=20conditions=20ex
pressed=20in=20any=20applicable=20=
 governing=20Marble=20Bar=20Asset=20Manag
ement=20LLP's=20=20terms=20and=20c=
 onditions=20of=20business=20or=20client=
20agreement=20letter.=20Any=20comm=
 ents=20or=20statements=20made=20herein=2
0do=20not=20necessarily=20reflect=20
=
 those=20of=20Marble=20Bar=20Asset=20Mana
gement=20LLP.

 Marble=20Bar=20Asset=20Management=20LLP=
20is=20regulated=20and=20authorise=
d=20by=20the=20FSA.

Report this thread to moderator Post Follow-up to this message
Old Post
Neil Beddoe
05-06-08 01:10 PM


Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Neil Beddoe wrote:
> Sorry.  Yes I did see Tim's suggestion .  I'm was (am) using DBI 1.604.
>
> I took a look at
> http://www.nntp.perl.org/group/perl...05/msg4987.html as well
> but I couldn't get Tim's suggestion to compile (failed with h
> undefined).
>

I'm not at all sure then. The original post I found:

http://www.nntp.perl.org/group/perl...05/msg4987.html

suggests something was wrong but Tim's follow up to you suggests he
thought you have an old DBI. Are you absolutely sure DBI 1.604 is
installed in an accessible path? What does the following say in the same
session as your attempt to build DBD::ODBC:

perl -MDBI -le 'print $DBI::VERSION;'

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

>
>
> -----Original Message-----
> From: Martin Evans [mailto:martin.evans@easysoft.com]
> Sent: 06 May 2008 10:32
> To: Neil Beddoe
> Cc: dbi-users@perl.org
> Subject: Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
>
> Neil Beddoe wrote: 
>
> Did Tim's suggestion not work for you? He said:
>
> I suspect you're using an old version of DBI (I'd guess <= 1.55).
> Try using a more recent version.
>
> Have you installed a newer DBI?
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
> 
> 
> 
> 
> 
> 
> 
> 
> is addressed. It may contain information which is privileged and
> confidential. Accordingly any unauthorised use is strictly prohibited.
> If you are not the intended recipient, please contact the sender as soon
> as possible. 
> sale of any financial instrument or as an official confirmation of any
> transaction, unless specifically agreed otherwise. All market prices,
> data and other information are not warranted as to completeness or
> accuracy and are subject to change without notice. Any opinions or
> advice contained in this Internet email are subject to the terms and
> conditions expressed in any applicable governing Marble Bar Asset
> Management LLP's  terms and conditions of business or client agreement
> letter. Any comments or statements made herein do not necessarily
> reflect those of Marble Bar Asset Management LLP. 
> FSA. 
>
> .
>
> This message is intended only for the use of the person(s) to whom it is addressed
. It may contain information which is privileged and confidential. Accordingly any u
nauthorised use is strictly prohibited. If you are not the intended recipient, pleas
e c
ontact the sender as soon as possible.
>
> It is not intended as an offer or solicitation for the purchase or sale of any fin
ancial instrument or as an official confirmation of any transaction, unless specific
ally agreed otherwise. All market prices, data and other information are not warrant
ed
as to completeness or accuracy and are subject to change without notice. Any
 opinions or advice contained in this Internet email are subject to the term
s and conditions expressed in any applicable governing Marble Bar Asset Mana
gement LLP's  terms and con
ditions of business or client agreement letter. Any comments or statements made herein do n
ot necessarily reflect those of Marble Bar Asset Management LLP.
>
> Marble Bar Asset Management LLP is regulated and authorised by the FSA.
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Martin Evans
05-06-08 01:10 PM


RE: Unable to install DBD::ODBC on OSX Leopard 10.5.2
=20
Hi=20Martin.

 I=20wondered=20if=20I=20had=20an=20old=2
0version=20but=20so=20that's=20wha=
t=20I=20did=20when=20I=20sent
 the=20last=20email:=20it's=20definitely=
20=201.604.=20=20

I'm=20using=20iODBC=20version=203.52.5.=20=20Would=20that=20make=20any=20d=
ifference?

Sorry=20to=20keep=20bugging=20you.=20=20



-----Original=20Message-----
From:=20Martin=20Evans=20[mailto:martin.evans@easysoft.com]=20
Sent:=2006=20May=202008=2012:37
To:=20dbi-users@perl.org
 Subject:=20Re:=20Unable=20to=20install=2
0DBD::ODBC=20on=20OSX=20Leopard=20=
10.5.2

Neil=20Beddoe=20wrote:
>=20Sorry. =20=20Yes=20I=20did=20see=20Tim's=20sugg
estion=20.=20=20I'm=20wa=
s=20(am)=20using=20DBI
1.604.=20
>=20
>=20I=20took=20a=20look=20at
>=20http://www.nntp.perl.org/group/perl.dbi.dev/2007/05/msg4987.html=20as=20=[/color
]

> =20well=20but=20I=20couldn't=20get=20Tim
's=20suggestion=20to=20compile=20=
(failed=20with=20h=20
>=20undefined).
>=20

I'm=20not=20at=20all=20sure=20then.=20The=20original=20post=20I=20found:

http://www.nntp.perl.org/group/perl...05/msg4987.html

 suggests=20something=20was=20wrong=20but
=20Tim's=20follow=20up=20to=20you=20
=
suggests=20he
thought=20you=20have=20an=20old=20DBI.=20Are=20you=20absolutely=20sure=20D=
BI=201.604=20is
installed=20in=20an=20accessible=20path?=20What=20does=20the=20following=20=
say=20in=20the=20same
 session=20as=20your=20attempt=20to=20bui
ld=20DBD::ODBC:

perl=20-MDBI=20-le=20'print=20$DBI::VERSION;'

Martin
--
Martin=20J.=20Evans
Easysoft=20Limited
http://www.easysoft.com

>=20=20
>=20
>=20-----Original=20Message-----
> =20From:=20Martin=20Evans=20[mailto:mart
in.evans@easysoft.com]
>=20Sent:=2006=20May=202008=2010:32
>=20To:=20Neil=20Beddoe
>=20Cc:=20dbi-users@perl.org
> =20Subject:=20Re:=20Unable=20to=20instal
l=20DBD::ODBC=20on=20OSX=20Leopar=
d=2010.5.2
>=20
>=20Neil=20Beddoe=20wrote: 
with=20this.=20
>=20
> =20Did=20Tim's=20suggestion=20not=20work
=20for=20you?=20He=20said:
>=20
> =20I=20suspect=20you're=20using=20an=20o
ld=20version=20of=20DBI=20(I'd=20=
guess=20<=3D=201.55).
> =20Try=20using=20a=20more=20recent=20ver
sion.
>=20
> =20Have=20you=20installed=20a=20newer=20
DBI?
>=20
>=20Martin
>=20--
>=20Martin=20J.=20Evans
>=20Easysoft=20Limited
>=20http://www.easysoft.com
>=20 
rd=2010.5.2 
t=20of=20my=20depth=20here. 
=20=20=20=20/*=20cast=20them
to 
 =20=20#ERROR_GENERATED_HERE[color=darkre
d] 
e=20336. 
to=20further. 
ard=2010.5.2 
n" 
symbols=20and=20 
>=20 
too=20>>(see=20 
>=20 
till=20no=20luck.=20=20I'm
 
I=20run=20perl=20 
this: 
n=20LDLOADLIBS
 
 have=20told=20me=20but=20I=20[color=dark
red] 
has=20not=20got=20to=20 
>=20 
et=20-=20see=20below. 
you=20can=20offer=20 
recomp=20 
the=20build.=20What=20 
ent=201=20of 
ent=202=20of=20 
ent=201=20of 
ent=202=20of=20 
o=20such=20file=20 
ning=2010.5.2,=20Perl 
 the=20Makefile=20and=20it
 
't=20 
>=20 
 
 
CoreFoundation=20 
>=20 
tely=20the=20mac=20I
 
 t=20first)=20and=20the=20
 
=20gave: 
rrors=20for=20in=20ODBC.xsi=20 
person(s)=20to=20whom=20 
vileged=20and=20 
y
prohibited. 
=20the=20sender=20as=20 
=20the=20purchase=20or 
confirmation=20of=20 
>=20 
rket=20prices,
 
completeness=20or=20 
y=20opinions=20or=20 
o=20the=20terms=20and=20 
Bar=20Asset=20 
=20client=20 
>=20 
=20necessarily=20 
horised=20by=20the 
 person(s)=20to=20whom=20it[color=darkred
]
>=20is=20addressed. =20It=20may=20contain=20information=20wh
ich=20is=20priv=
ileged=20and=20
>=20confidential. =20Accordingly=20any=20unauthorised=20us
e=20is=20strictly=
=20prohibited.
> =20If=20you=20are=20not=20the=20intended
=20recipient,=20please=20contact=20=[/color
]
the=20sender=20as=20
>=20soon=20as=20possible. 
the=20purchase=20or
> =20sale=20of=20any=20financial=20instrum
ent=20or=20as=20an=20official=20c=
onfirmation=20of=20any

> =20transaction,=20unless=20specifically=
20agreed=20otherwise.=20All=20mar=
ket=20prices,=20
> =20data=20and=20other=20information=20ar
e=20not=20warranted=20as=20to=20c=
ompleteness=20or=20
> =20accuracy=20and=20are=20subject=20to=2
0change=20without=20notice.=20Any=
=20opinions=20or=20
> =20advice=20contained=20in=20this=20Inte
rnet=20email=20are=20subject=20to=
=20the=20terms=20and=20
> =20conditions=20expressed=20in=20any=20a
pplicable=20governing=20Marble=20=
Bar=20Asset=20
> =20Management=20LLP's=20=20terms=20and=2
0conditions=20of=20business=20or=20=[/color
]
client=20agreement

>=20letter. =20Any=20comments=20or=20statements=20ma
de=20herein=20do=20not=20=[/color
]
necessarily=20
> =20reflect=20those=20of=20Marble=20Bar=2
0Asset=20Management=20LLP. 
orised=20by=20the
>=20FSA. 
>=20
>=20.
>=20
> =20This=20message=20is=20intended=20only
=20for=20the=20use=20of=20the=20p=
erson(s)=20to=20whom=20it
is=20addressed. =20It=20may=20contain=20information=20wh
ich=20is=20privileg=
ed=20and
confidential. =20Accordingly=20any=20unauthorised=20us
e=20is=20strictly=20p=
rohibited.
 If=20you=20are=20not=20the=20intended=20
recipient,=20please=20contact=20th=
e=20sender=20as=20soon
as=20possible.
>=20
> =20It=20is=20not=20intended=20as=20an=20
offer=20or=20solicitation=20for=20=
the=20purchase=20or
 sale=20of=20any=20financial=20instrument
=20or=20as=20an=20official=20confi=
rmation=20of=20any
 transaction,=20unless=20specifically=20a
greed=20otherwise.=20All=20market=20
=
prices,
 data=20and=20other=20information=20are=2
0not=20warranted=20as=20to=20compl=
eteness=20or
 accuracy=20and=20are=20subject=20to=20ch
ange=20without=20notice.=20Any=20o=
pinions=20or
 advice=20contained=20in=20this=20Interne
t=20email=20are=20subject=20to=20t=
he=20terms=20and
 conditions=20expressed=20in=20any=20appl
icable=20governing=20Marble=20Bar=20
=
Asset
 Management=20LLP's=20=20terms=20and=20co
nditions=20of=20business=20or=20cl=
ient=20agreement
letter. =20Any=20comments=20or=20statements=20ma
de=20herein=20do=20not=20ne=
cessarily
 reflect=20those=20of=20Marble=20Bar=20As
set=20Management=20LLP.
>=20
> =20Marble=20Bar=20Asset=20Management=20L
LP=20is=20regulated=20and=20autho=
rised=20by=20the
FSA.
>=20
>=20

.

 This=20message=20is=20intended=20only=20
for=20the=20use=20of=20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain=20information=
 =20which=20is=20privileged=20and=20confi
dential.=20Accordingly=20any=20una=
 uthorised=20use=20is=20strictly=20prohib
ited.=20If=20you=20are=20not=20the=
 =20intended=20recipient,=20please=20cont
act=20the=20sender=20as=20soon=20a=
s=20possible.

 It=20is=20not=20intended=20as=20an=20off
er=20or=20solicitation=20for=20the=
 =20purchase=20or=20sale=20of=20any=20fin
ancial=20instrument=20or=20as=20an=
 =20official=20confirmation=20of=20any=20
transaction,=20unless=20specifical=
ly=20agreed=20otherwise. =20All=20market=20prices,=20data=20and=2
0other=20i=
 nformation=20are=20not=20warranted=20as=
20to=20completeness=20or=20accurac=
 y=20and=20are=20subject=20to=20change=20
without=20notice.=20Any=20opinions=
 =20or=20advice=20contained=20in=20this=2
0Internet=20email=20are=20subject=20
=
 to=20the=20terms=20and=20conditions=20ex
pressed=20in=20any=20applicable=20=
 governing=20Marble=20Bar=20Asset=20Manag
ement=20LLP's=20=20terms=20and=20c=
 onditions=20of=20business=20or=20client=
20agreement=20letter.=20Any=20comm=
 ents=20or=20statements=20made=20herein=2
0do=20not=20necessarily=20reflect=20
=
 those=20of=20Marble=20Bar=20Asset=20Mana
gement=20LLP.

 Marble=20Bar=20Asset=20Management=20LLP=
20is=20regulated=20and=20authorise=
d=20by=20the=20FSA.

Report this thread to moderator Post Follow-up to this message
Old Post
Neil Beddoe
05-06-08 01:10 PM


Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
On Tue, May 06, 2008 at 12:36:39PM +0100, Martin Evans wrote:
> Neil Beddoe wrote: 
>
> I'm not at all sure then. The original post I found:
>
> http://www.nntp.perl.org/group/perl...05/msg4987.html
>
> suggests something was wrong but Tim's follow up to you suggests he though
t
> you have an old DBI. Are you absolutely sure DBI 1.604 is installed in an
> accessible path?

Just installing DBI 1.604 is not enough.  The key point is that the
driver must be recompiled *after DBI 1.604 is installed* in order
for the driver to pick up this particular change.

Tim.

Report this thread to moderator Post Follow-up to this message
Old Post
Tim Bunce
05-07-08 12:17 AM


RE: Unable to install DBD::ODBC on OSX Leopard 10.5.2
Thanks=20Martin=20and=20Tim=20=20you=20p
ointed=20me=20in=20the=20right=20d=
irection=20and
 DBD::ODBC=20now=20works=20on=20my=20Mac=
20OS=20X=20Leopard=20machine.=20

 For=20anyone=20having=20trouble=20gettin
g=20it=20to=20work,=20this=20is=20=
what=20I=20did.

Rebuild=20DBI=20v1.604=20- =20I=20did=20this=20with=20a=20cpan=20fo
rce=20in=
stall

export=20LD_LIBRARY_PATH=3D/usr/local/iODBC/lib
cd=20DBD-ODBC-1.16_1
perl=20Makefile.pl

 On=20my=20machine,=20this=20gave=20a=20s
eries=20of=20warnings=20about=20du=
plicate=20copies=20of
Driver.xst=20so=20I=20did=20an=20rm=20-rf=20on=20all=20Driver.xst=20locati=
ons=20warned=20about
except=20/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/.

make=20clean
perl=20Makefile. pl=20=20(ignoring=20DBI_DSN=20etc=20envi
ronment=20variable=
=20warnings)
make
sudo=20make=20install




-----Original=20Message-----
From:=20Tim=20Bunce=20[mailto:tim.bunce@gmail.com]=20On=20Behalf=20Of=20Ti=
m=20Bunce
Sent:=2006=20May=202008=2021:55
To:=20Martin=20Evans
Cc:=20dbi-users@perl.org
 Subject:=20Re:=20Unable=20to=20install=2
0DBD::ODBC=20on=20OSX=20Leopard=20=
10.5.2

 On=20Tue,=20May=2006,=202008=20at=2012:3
6:39PM=20+0100,=20Martin=20Evans=20=
wrote:
>=20Neil=20Beddoe=20wrote: 
as=20(am)=20using=20DBI
1.604.=20 
=20 
(failed=20with=20h=20 
>
>=20I'm=20not=20at=20all=20sure=20then.=20The=20original=20post=20I=20foun=
d:
>
>=20http://www.nntp.perl.org/group/perl.dbi.dev/2007/05/msg4987.html
>
> =20suggests=20something=20was=20wrong=20
but=20Tim's=20follow=20up=20to=20=
you=20suggests=20he=20
> =20thought=20you=20have=20an=20old=20DBI
.=20Are=20you=20absolutely=20sure=
=20DBI=201.604=20is=20
> =20installed=20in=20an=20accessible=20pa
th?

Just=20installing=20DBI=201.604=20is=20not=20enough.=20=20The=20key=20poin=
t=20is=20that=20the
 driver=20must=20be=20recompiled=20*after
=20DBI=201.604=20is=20installed*=20=
in=20order=20for
 the=20driver=20to=20pick=20up=20this=20p
articular=20change.

Tim.

.

 This=20message=20is=20intended=20only=20
for=20the=20use=20of=20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain=20information=
 =20which=20is=20privileged=20and=20confi
dential.=20Accordingly=20any=20una=
 uthorised=20use=20is=20strictly=20prohib
ited.=20If=20you=20are=20not=20the=
 =20intended=20recipient,=20please=20cont
act=20the=20sender=20as=20soon=20a=
s=20possible.

 It=20is=20not=20intended=20as=20an=20off
er=20or=20solicitation=20for=20the=
 =20purchase=20or=20sale=20of=20any=20fin
ancial=20instrument=20or=20as=20an=
 =20official=20confirmation=20of=20any=20
transaction,=20unless=20specifical=
ly=20agreed=20otherwise. =20All=20market=20prices,=20data=20and=2
0other=20i=
 nformation=20are=20not=20warranted=20as=
20to=20completeness=20or=20accurac=
 y=20and=20are=20subject=20to=20change=20
without=20notice.=20Any=20opinions=
 =20or=20advice=20contained=20in=20this=2
0Internet=20email=20are=20subject=20
=
 to=20the=20terms=20and=20conditions=20ex
pressed=20in=20any=20applicable=20=
 governing=20Marble=20Bar=20Asset=20Manag
ement=20LLP's=20=20terms=20and=20c=
 onditions=20of=20business=20or=20client=
20agreement=20letter.=20Any=20comm=
 ents=20or=20statements=20made=20herein=2
0do=20not=20necessarily=20reflect=20
=
 those=20of=20Marble=20Bar=20Asset=20Mana
gement=20LLP.

 Marble=20Bar=20Asset=20Management=20LLP=
20is=20regulated=20and=20authorise=
d=20by=20the=20FSA.

Report this thread to moderator Post Follow-up to this message
Old Post
Neil Beddoe
05-07-08 09:39 AM


Sponsored Links




Last Thread Next Thread Next
Pages (2): « 1 [2]
Search this forum -> 
Post New Thread

PERL DBI archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:50 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.