Thank you Chris,
We tried applying this to one of our Tiger installs. We set the default
compiler to gcc-3.3.
the DBI stuff installed with the same warnings and , presumably
harmless, errors.
The DBD::Sybase (version 1.07) failed every make test.
Ohh well.
thanks for your help,
terry
Chris Sarnowski wrote:
On Feb 6, 2006, at 12:33 PM, Jonathan Leffler wrote:
On 2/6/06, Terence J. Young, D.C. <[EMAIL PROTECTED]> wrote:
I am have trouble loading DBI, and DBD modules on Tiger. I
upgraded to
tiger from 10.3.9.
perl -V indicates that perl was complied from gcc 3.3xxx. Is there a
problem trying to do an install of DBI using gcc 4.0??
The tiger Developer files come with both gcc 3.3 and gcc4.0. If I
have
to use gcc-3.3, how do I execute the perl Makefile.pm, make and make
test against DBI to use gcc-3.3 instead of gcc-4.0
Both cc and gcc symlinks to gcc-4.0 in /usr/bin.
If you need to use gcc-3.3 instead, but Perl identifies its compiler
(in
'perl -V' output) as 'gcc', then you'll have to rework thing so that
gcc
maps to gcc-3.3 -- either by creating a symlink gcc in (for example)
$HOME/bin (assuming $HOME/bin appears before /usr/bin on your PATH)
or by
replacing the symlink in /usr/bin at least temporarily.
There is an "official" way to change the default gcc compiler in Mac
OS 10.4:
man gcc_select
gcc_select changes the symlinks to cc, gcc, c++, g++, and a handful
of other files and
directories. It has to be run with sudo or as root.