> > 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:
BTW, I almost skipped this message because your subject was about Installing DBI, not DBD::ODBC. You need to get a driver manager, such as iODBC or UnixODBC. I have tested neither on the Mac (although, I now have a very, very, very old MAC with OSX on it. I haven't had time to play with setting it up and getting used to it, so I don't, yet, know the issues revolving around the driver managers, etc. You will, also, need a driver to talk to the database. Since you do not specify what database you are trying to use, It's hard to help you there. Regards, Jeff > ------------------------- > 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 >
