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.



What sort of trouble?  I don't have access to my 10.4.4 machine from the
office, but I have my own version of Perl and I don't think I rebuilt it
after installing Tiger - nor have I run into trouble with it.  What I don't
recall is which version of gcc I used to build it; I have sometimes upgraded
GCC independently of Apple's code (though I'm currently using Xcode 2.2).

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.

See also: http://www.catb.org/~esr/faqs/smart-questions.html

--
Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

Reply via email to