Instaling DBI 1.42 on Mac OS X Server version 10.2.4 I

hajjem_at_vif.com
Date: 05/13/04


Date: Thu, 13 May 2004 14:24:43 -0400
To: dbi-users@perl.org

Hello
After instaling the package DBI 1.42 on Mac OS X Server version 10.2.4 I have
want to install the package DBD::ODBC 1.09 but I have found thise problems :
-1 after entering the command: Perl Makefile.PL I have obtained the following
message:
-------------------------
Useless use of private variable in void context at Makefile.PL line 430.

Configuring DBD::ODBC ...

>>> Remember to actually *READ* the README file!
        And re-read it if you have any problems.

Using DBI 1.42 (for perl 5.006 on darwin) installed in
/Library/Perl/darwin/auto/DBI

The DBD::ODBC module needs to link with an ODBC 'Driver Manager'.
(The Driver Manager, in turn, needs one or more database specific ODBC drivers.
The DBD::ODBC module does _not_ include any ODBC drivers!)

You need to indicate where your ODBC Driver Manager is installed.
You can do this ether by setting the ODBCHOME environment variable
or by runing 'perl Makefile.PL -o odbcdir'.

If you do not have an ODBC Driver Manager you can try building
the free iODBC Driver Manager in the iodbcsrc directory.
 ----------------------
Thus I have indicate the path of my Manager ODBC while entering the following
command: Perl Makefile.PL - O /applications/utilitaires but problem is not
resolved and I have the following message:
-----------------------
Useless use of private variable in void context at Makefile.PL line 430.
Overriding ODBC Directory with command line option: /applications/utilitaires

Configuring DBD::ODBC ...

>>> Remember to actually *READ* the README file!
        And re-read it if you have any problems.

Using DBI 1.42 (for perl 5.006 on darwin) installed in
/Library/Perl/darwin/auto/DBI
Overriding ODBC Directory with command line option: /applications/utilitaires
ODBCHOME environment variable (/applications/utilitaires) does not refer to a
directory.
---------------------------
I want to know what I should in order to resolve the problem and to install
correctly the package DBD::ODBC,

this is tue output of the command perl -v
---------------
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=6.0, archname=darwin
    uname='darwin traffic 6.0 darwin kernel version 6.0: sat jul 27 13:18:52 pdt
2002; root:xnuxnu-344.obj~1release_ppc power macintosh powerpc '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags='
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-Os', gccversion=Apple cpp-precomp 6.14
    cppflags='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
    ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/usr/lib
    libs=-lm -lc
    libc=/System/Library/Frameworks/System.framework/System, so=dylib,
useshrplib=true, libperl=libperl.dylib
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-bundle -flat_namespace -undefined suppress'

Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Nov 12 2002 06:25:38
  @INC:
    /System/Library/Perl/darwin
    /System/Library/Perl
    /Library/Perl/darwin
    /Library/Perl
    /Library/Perl
    /Network/Library/Perl/darwin
    /Network/Library/Perl
    /Network/Library/Perl

--------------
Thanks;

Chawki Hajjem



Relevant Pages

  • Setting up the DBD::ODBC module
    ... I then also installed the Perl DBI. ... test and install Perl 5 ... some Paradox ODBC drivers *could* fail, ...
    (perl.beginners)
  • AHHH M$Sql DBD unixODBC freetds
    ... Is there some secert handshake to get dbi to work with a microsoft sql 2000 ... The DBD::ODBC module needs to link with an ODBC 'Driver Manager'. ... If you do not have an ODBC Driver Manager you can try building the free iODBC Driver Manager in the iodbcsrc directory. ... Won't test Running make install ...
    (perl.beginners)
  • Newbie problem connecting to MS SQL Server
    ... I am trying to connect to an MS SQL Server database, ... The DBD::ODBC module needs to link with an ODBC 'Driver Manager'. ... You need to indicate where your ODBC Driver Manager is installed. ... Cannot install iodbcsrc, ...
    (perl.dbi.users)
  • Cannot find ODBC driver
    ... I have installed unixODBC for use as a driver manager for DBD::ODBC. ... Hmm...I cannot find an ODBC driver manager that I recognize. ... Make had some problems, won't install ...
    (perl.dbi.users)
  • Problem in using MSDASQL (ODBC) provider
    ... A client of ours is facing a problem when the following code is getting ... The HRESULT returned is -2147024769 ... his ODBC drivers are not properly installed or registered. ... separate redistributable available that would install the ODBC drivers and ...
    (microsoft.public.data.odbc)