HI.
Excuse me if this question is repetitive.
I need to instal the DBI and DBD modules on my MacOSX 10.3.3 with Perl 5.8.1
and ever get errors.
Any can help me please.
I need this to run a perl script with connection to MySQL and need this
modules instaled.
Thanks in advanced to all.
On Fri, 14 May 2004, IXO wrote:
> Excuse me if this question is repetitive.
It won't be if you only ask it once :-)
> I need to instal the DBI and DBD modules on my MacOSX 10.3.3 with Perl 5.8.1
> and ever get errors.
> Any can help me please.
> I need this to run a perl script with connection to MySQL and need this
> modules instaled.
We can't help you unless we know what errors you are getting.
Please send a mail to the list with the exact commands you are trying to
run, and the exact errors you are getting as a result.
A good way to do this is by simply cutting & pasting the text from your
Terminal window into an email to the list.
If the list of errors is very long (a page or more), it might be a good
idea to put the output on a web page, if you have access to one, and
send a link to that page to the list.
If you don't have a web site, don't worry about it -- just put the error
messages directly into an email to the list and we will try to help you.

Signature
Chris Devers
Allen Hutchison - 14 May 2004 15:16 GMT
Fink ( http://fink.sourceforge.net/ ) had a ready to go port for DBI
and most DBD modules. I'd recommend using that to get started with your
install.
Allen
--
mail: allen@hutchison.org
blog: www.hutchison.org/allen
feed: www.hutchison.org/allen/rss.xml
> On Fri, 14 May 2004, IXO wrote:
>
[quoted text clipped - 27 lines]
> messages directly into an email to the list and we will try to help
> you.
Postmaster - 17 May 2004 08:36 GMT
thanks for your answer, here is the output of my terminal:
Last login: Fri May 14 14:55:31 on ttyp1
Welcome to Darwin!
xserver:~/.cpan/build/DBI-1.42 root# perl makefile.pl
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
Creating extra DBI::PurePerl test: t/zz_01basics_pp.t
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::PurePerl test: t/zz_03handle_pp.t
Creating extra DBI::PurePerl test: t/zz_04mods_pp.t
Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t (use threads)
Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t
Creating extra DBI::PurePerl test: t/zz_07kids_pp.t
Creating extra DBI::PurePerl test: t/zz_08keeperr_pp.t
Creating extra DBI::PurePerl test: t/zz_09trace_pp.t
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
Creating extra DBI::PurePerl test: t/zz_15array_pp.t
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t
Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t
Creating extra DBI::PurePerl test: t/zz_50dbm_pp.t
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
I see you're using perl 5.008001 on darwin-thread-multi-2level,
okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Writing Makefile for DBI
xserver:~/.cpan/build/DBI-1.42 root# make
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"1.42\"
-DXS_VERSION=\"1.42\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" -Wall
-Wno-comment DBI.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
DBI.xs: In function `set_err_sv':
DBI.xs:433: warning: unused variable `Perl___notused'
DBI.xs: In function `parse_trace_flags':
DBI.xs:631: warning: unused variable `Perl___notused'
DBI.xs: In function `set_trace':
DBI.xs:665: warning: implicit declaration of function `getpid'
DBI.xs: In function `dbih_clearcom':
DBI.xs:1129: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1265: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1437: warning: unused variable `Perl___notused'
DBI.xs:1345: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1574: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1986: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2807: warning: unused variable `Perl___notused'
DBI.xs:2911: warning: unused variable `Perl___notused'
DBI.xs:2274: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_constant':
DBI.c:3321: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__clone_dbis':
DBI.c:3339: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__setup_handle':
DBI.c:3354: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__get_imp_data':
DBI.c:3373: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__handles':
DBI.c:3389: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_neat':
DBI.c:3412: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_hash':
DBI.c:3434: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_looks_like_number':
DBI.c:3460: warning: implicit declaration of function `PERL_UNUSED_VAR'
DBI.c:3459: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__install_method':
DBI.c:3484: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_trace':
DBI.c:3559: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_dump_handle':
DBI.c:3618: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__svdump':
DBI.c:3647: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_dbi_time':
DBI.c:3668: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_dbi_profile':
DBI.c:3684: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI_dbi_profile_merge':
DBI.c:3713: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__var_FETCH':
DBI.c:3740: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____db_preparse':
DBI.c:3820: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____db_take_imp_data':
DBI.c:3847: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st__get_fbav':
DBI.c:3905: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBD_____st__set_fbav':
DBI.xs:3807: warning: unused variable `Perl___notused'
DBI.c:3922: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_bind_col':
DBI.c:3955: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_fetchrow_array':
DBI.c:3980: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_fetchrow_hashref':
DBI.c:4039: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_fetch':
DBI.c:4119: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_rows':
DBI.c:4157: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_finish':
DBI.c:4174: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_STORE':
DBI.c:4191: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_FETCH':
DBI.c:4210: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_private_data':
DBI.c:4226: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_err':
DBI.c:4242: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_state':
DBI.c:4259: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_errstr':
DBI.c:4277: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_set_err':
DBI.c:4298: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_trace':
DBI.c:4368: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_trace_msg':
DBI.c:4402: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____common_rows':
DBI.c:4447: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD___mem__common_DESTROY':
DBI.c:4464: warning: unused variable `Perl___notused'
DBI.c: In function `boot_DBI':
DBI.c:4485: warning: unused variable `Perl___notused'
/usr/include/stdio.h: At top level:
dbipport.h:529: warning: `my_sv_2pvbyte' defined but not used
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.bundle
ld: -undefined: unknown argument: dynamic_lookup
make: *** [blib/arch/auto/DBI/DBI.bundle] Error 1
xserver:~/.cpan/build/DBI-1.42 root#
> On Fri, 14 May 2004, IXO wrote:
>
[quoted text clipped - 27 lines]
> messages directly into an email to the list and we will try to help
> you.
---------------------------------------------------------------------------
Noticia legal
Este mensaje electronico contiene informacion de Ixo Publishing Iberica
que es privada y confidencial, siendo para el uso exclusivo de la persona(s)
o entidades arriba mencionadas. Si usted no es el destinatario mencionado, le
informamos que cualquier divulgacion, copia, distribucion o uso de los
contenidos esta prohibida. Si usted ha recibido este mensaje por error, por
favor borre su contenido y comuniquenoslo en la direcci?n postmaster@ixo.es.
Los acentos han sido omitidos voluntariamente
Gracias
Sherm Pendley - 17 May 2004 11:11 GMT
> LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
> dynamic_lookup -L/usr/local/lib DBI.o -o
> blib/arch/auto/DBI/DBI.bundle
> ld: -undefined: unknown argument: dynamic_lookup
Like I said - read and follow these directions;
<http://www.mail-archive.com/macosx@perl.org/msg05736.html>
sherm--
Hi,
IXO wrote on 14.05.2004:
>HI.
>Excuse me if this question is repetitive.
[quoted text clipped - 6 lines]
>
>Thanks in advanced to all.
this how-to helped me:
<http://www.truerwords.net/articles/osx/install_dbd_mysql.html>
Best,
Jan

Signature
There's no place like ~/
Sherm Pendley - 16 May 2004 15:42 GMT
> this how-to helped me:
>
> <http://www.truerwords.net/articles/osx/install_dbd_mysql.html>
The information in the above is good, as far as the arguments to use
when running 'perl Makefile.PL' goes. But, when it speaks of editing
the generated Makefile, it is incorrect. Editing the generated Makefile
is a band-aid over the symptoms, not a real solution to the problem.
The correct solution was posted here by Ed Moy (Apple's Perl guy), and
is in the list archives here:
<http://www.mail-archive.com/macosx@perl.org/msg05736.html>
sherm--
Jan Eden - 16 May 2004 18:44 GMT
Sherm Pendley wrote on 16.05.2004:
>> this how-to helped me:
>>
[quoted text clipped - 11 lines]
>
>sherm--
I stand corrected. Thanks, Sherm.
- Jan

Signature
Either this man is dead or my watch has stopped. - Groucho Marx