Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 7447
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: DROLSKY [...] cpan.org
Requestors: peter.mueller [...] elimpex.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.22
Fixed in: (no value)



Subject: Build Error on Solaris 2.6
Building DateTime 0.22 on Solaris 2.6 with gcc leads to an error "cant determine if you have a C compiler" because the Makefile.PL only tries to compile with "cc" but most Solaris 2.6 installations have a dummy "cc" which only coplies about bying cc from Sun! There should be a more clever check which also looks for gcc ....
Date: Tue, 24 Aug 2004 00:18:57 -0500 (CDT)
From: Dave Rolsky <autarch [...] urth.org>
To: Guest via RT <bug-DateTime [...] rt.cpan.org>
Subject: Re: [cpan #7447] Build Error on Solaris 2.6
RT-Send-Cc:
On Mon, 23 Aug 2004, Guest via RT wrote: Show quoted text
> > This message about DateTime was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=7447 > > > Building DateTime 0.22 on Solaris 2.6 with gcc leads to an error "cant determine if you have a C compiler" because the Makefile.PL only tries to > compile with "cc" but most Solaris 2.6 installations have a dummy "cc" which > only coplies about bying cc from Sun! There should be a more clever check > which also looks for gcc ....
Actually, it uses the Config module to call "make test.o". Without a Makefile, make tries to call cc. I think this is a problem with your make, then. /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
This can be worked around by creating a symlink between /usr/ucb/cc and gcc. [guest - Mon Aug 23 18:17:05 2004]: Show quoted text
> Building DateTime 0.22 on Solaris 2.6 with gcc leads to an error "cant > determine if you have a C compiler" because the Makefile.PL only tries > to > compile with "cc" but most Solaris 2.6 installations have a dummy "cc" > which > only coplies about bying cc from Sun! There should be a more clever > check > which also looks for gcc ....
From: peter.mueller [...] elimpex.com
[guest - Wed Dec 22 12:04:14 2004]: Show quoted text
> This can be worked around by creating a symlink between /usr/ucb/cc
and gcc. I allready found out that it is needed for many tools to build correctly to make a symlink from e.g. /usr/local/bin/gcc to /usr/local/bin/cc . Sorry for not publishing the solution here. Bye, Peter WOTLmade