in reply to Really stumped trying to compile DBD::ODBC

Prior to the errors you quoted, was there any mention of a header file (or any other file, for that matter) that could not be found ?

Cheers,
Rob
  • Comment on Re: Really stumped trying to compile DBD::ODBC

Replies are listed 'Best First'.
Re^2: Really stumped trying to compile DBD::ODBC
by blairkutz (Initiate) on Feb 19, 2008 at 21:26 UTC
    Hi Rob,

    Thanks for the help! I can't find any errors about missing files, but I'll attach the make output from using regular perl then using ActivePerl (sorry about all this text!)

    $ make realclean > /dev/null 2>&1
    $ perl Makefile.PL -o /var/root/perforce_install/ODBC/libiodbc_install_dir
    Useless use of private variable in void context at Makefile.PL line 52 +4. You are using a Perl configured with threading enabled. Please read the warnings in DBI about this. You should also be aware that on non-Windows platforms ODBC drivers co +me in two forms, thread-safe and non-thread-safe drivers and you may need to make sure you are using the right one. Press return to continue... Overriding ODBC Directory with command line option: /var/root/perforce +_install/ODBC/libiodbc_install_dir >>> Remember to actually *READ* the README file! And re-read it if you have any problems. Overriding ODBC Directory with command line option: /var/root/perforce +_install/ODBC/libiodbc_install_dir Using ODBC in /var/root/perforce_install/ODBC/libiodbc_install_dir Umm, this looks like a unixodbc type of driver manager. We expect to find the sql.h, sqlext.h and (which were supplied with unixODBC) in $ODBCHOME/include directory alongside the /var/root/perforce_install/ODBC/libiodbc_install_dir/lib/libodbc.a + library in $ODBCHOME/lib Warning: LD_LIBRARY_PATH doesn't include /var/root/perforce_install/OD +BC/libiodbc_install_dir Checking if your kit is complete... Looks good Using DBI 1.52 (for perl 5.008008 on darwin-thread-multi-2level) insta +lled in /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/ +auto/DBI/ Using DBI 1.52 (for perl 5.008008 on darwin-thread-multi-2level) insta +lled in /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/ +auto/DBI/ Writing Makefile for DBD::ODBC The DBD::ODBC tests will use these values for the database connection: DBI_DSN= e.g. dbi:ODBC:demo DBI_USER= DBI_PASS= Warning: not all required environment variables are set.
    $ make