Michael Glaesemann <[EMAIL PROTECTED]> wrote on 3/31/03 at 11:25p:

> Hello! I'm trying to install perl 5.6.1 on my Mac running 10.2.x

I just went through this last night. :^)


> I keep getting
>      make: *** No rule to make target `<built-in>', needed by 
> `miniperlmain.o'.  Stop.

Yup.


> I've been following the instructions posted by Ray Zimmerman
> <http://archive.develooper.com/[EMAIL PROTECTED]/msg00895.html>
> and David Wheeler <http://david.wheeler.net/osx.html>
> with the variation to use the gcc2 compiler
> <http://archive.develooper.com/[EMAIL PROTECTED]/msg03679.html>
> (exact same "no rule to make target" error back in October 2002.)
> but of course that didn't work because I don't have a gcc2 compiler. 

Are you sure you don't? You should have gcc2 here:

    /usr/bin/gcc2

What happens if you type "which gcc2" at a command prompt? The
machine I was working on had a clean install of 10.2, an upgrade to
10.2.4, and the latest developer tools. (You have installed the
developer tools, right?)

I got 5.6.1 to install cleanly (where by "cleanly", I mean with the
small handful of known test failures mentioned in the above
articles).

As per the aforementioned message to this list from Errol
Lewthwaite, all I needed to do was follow these instructions:

    http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html

*and* add -Dcc=gcc2 to the Configure switches:

sudo sh Configure -des -Dfirstmakefile=GNUmakefile \
-Dldflags="-flat_namespace" -Dcc=gcc2

Hope this helps.

-- 
John Gruber         |   Daring Fireball: Mac Punditry and Curmudgeonry
[EMAIL PROTECTED]   |                        http://daringfireball.net

Reply via email to