On 13-May-2004 [EMAIL PROTECTED] wrote: > 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.
I don't think this is the problem. > 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, I don't have a MAC to hand at the moment but I thought it comes out of the box with a driver manager which is in /usr/lib and /usr/include. I think all you need to do is specify ODBCHOME as /usr. The Makefile.PL will examine ODBCHOME looking for various possibilities of ODBC driver managers and drivers to link with. Your ODBCHOME needs to match one of these - usually libodbc.so, libiodbc.so, sql.h, sqlext.h etc. <snipped perl -V output> BTW, isn't 10.2.4 a pre-release of MAC OS X? Martin -- Martin J. Evans Easysoft Ltd, UK Development
