On Tue, Oct 18, 2011 at 4:20 PM, Madrigal, Juan A <j.madrig...@miami.edu>wrote:

> Hi All!
>
> I'm having serious problems trying to install DateTime-0.70 along with
> pre-requisites Params-Validate-1.00
> on Mac OS X 10.6.8 via CPAN.
>
> I'm using the default install of Perl 5.10 (64bit). What jumps out to me
> is this: "Error: no compiler detected to compile 'lib/DateTime.c'.
> Aborting"
>
> I have gcc 4.2 installed and I've even reinstalled Xcode 4.0.2 and no
> luck. Here are the other errors:
>
> Warning: Prerequisite 'Params::Validate => 0.76' for
> 'D/DR/DROLSKY/DateTime-0.70.tar.gz' failed when processing
> 'D/DR/DROLSKY/Params-Validate-1.00.tar.gz' with 'make => NO'. Continuing,
> but chances to succeed are limited.
> Building DateTime
> Error: no compiler detected to compile 'lib/DateTime.c'.  Aborting
>  DROLSKY/DateTime-0.70.tar.gz
>  ./Build -- NOT OK
> Running Build test
>  Can't test without successful make
> Running Build install
>  Make had returned bad status, install seems impossible
> CPAN: Module::Build loaded ok (v0.38)
> Failed during this command:
>  DROLSKY/DateTime-Locale-0.45.tar.gz          : make_test FAILED but
> failure ignored because 'force' in effect
>  DROLSKY/DateTime-TimeZone-1.40.tar.gz        : make_test FAILED but
> failure ignored because 'force' in effect
>  DROLSKY/Params-Validate-1.00.tar.gz          : make NO
>  DROLSKY/DateTime-0.70.tar.gz                 : make NO
>
> Any ideas?
>
>
> What flags would I need to build and compile a separate install of perl
> for Mac OS X 10.6.8 (64bit), say under /usr/local/bin/perl along with cpan?
>
> Thanks,
>
> Juan
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>
Hi Juan,

You might have GCC installed but do you have it configured?

Error: no compiler detected to compile 'lib/DateTime.c'.  Aborting

Seems quite clear to me there is no C compiler found, you might want to have
a look at your CPAN settings and see if your compiler is set there. Normally
assuming you had the compiler installed before running CPAN setup it would
automatically detect the compiler. By the sound of it you might have
installed the compiler after running the CPAN setup in which case it will
simply have no compiler listed and will likely throw an error like this.

The other errors seems to stem from this problem so resolving that should
most likely fix the rest of the errors as well.

Regards,

Rob

Reply via email to