Greetings,

I'm new to this list after strong recommendations from people like brian d
foy and Dan Sugalski at the Mac OS X conference. I'm trying to install Perl
5.6.1 on Jaguar and I'm having troubles. I've read the tutorial on David
Wheeler's site, the instructions in the Bricolage Readme for Mac OS X, and
the posting to this list made by Ray Zimmerman. All have almost identical
instructions, but none of the variations seem to work for me.

I'm rather new to the terminal in Mac OS X, so my mistake is probably quite
trivial. From what I can tell everything is fine until it gets to the point
of the sh Configure step.  I get a few warnings there. Then when I run
make, I get the message:

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

People mention problems with some of the make tests failing, but this
problem crops up before I get to the make step at all.
Here's a transcript of my terminal session with /bin/zsh as my shell. I've
indented the computer response and asterisked lines that trigger stuff to
come out of standard error, but to save space here I haven't listed the
complete transcript. If you'd like the transcript or a copy of the
makefile, I'll be glad to email it to you off list.

    Welcome to Darwin!
Macintosh% sudo -s
    Password:
Macintosh# gcc -v
    Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
    Thread model: posix
    Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 
(prerelease)
Macintosh# cd /usr/local/src
Macintosh# tar zxf perl-5.6.1.tar.gz
Macintosh# cd perl-5.6.1
Macintosh# export LC_ALL=C
Macintosh# export LANG="en_US"
Macintosh# perl -i.bak -p -e 's|Local/Library|Library|g' hints/darwin.sh
Macintosh# diff hints/darwin.sh hints/darwin.sh.bak
    22c22
    < sitelib='/Library/Perl';
    ---
    > sitelib='/Local/Library/Perl';
Macintosh# sh Configure -des -Dfirstmakefile=GNUmakefile -Dldflags="-flat_namespace" 
-Uinstallusrbinperl

[ Each of the asterisked lines below caused the following warning to be spit out on 
standard error:

    cpp0: warning: changing search order for system directory "/usr/local/include"
    cpp0: warning:   as it has already been specified as a non-system directory

  some lines had additional text that was sent to standard error ]


 *  <dirent.h> found.
 *  Your directory entries are struct dirent.
 *  <grp.h> found.
 *  <pwd.h> found.
 *  <memory.h> found.
 *  Finding dependencies for av.o.
 *  Finding dependencies for scope.o.
 *  Finding dependencies for op.o.
 *  Finding dependencies for doop.o.
 *  Finding dependencies for doio.o.
 *  Finding dependencies for dump.o.
    In file included from dump.c:4:
    regcomp.h:154:1: warning: "MASK" redefined
    In file included from /usr/include/machine/param.h:30,
                     from /usr/include/sys/param.h:102,
                     from perl.h:488,
                     from dump.c:3:
    /usr/include/ppc/param.h:120:1: warning: this is the location of the previous 
definition
 *  Finding dependencies for hv.o.
 *  Finding dependencies for mg.o.
 *  Finding dependencies for perl.o.
 *  Finding dependencies for perly.o.
 *  Finding dependencies for pp.o.
 *  Finding dependencies for pp_hot.o.
 *  Finding dependencies for pp_ctl.o.
 *  Finding dependencies for pp_sys.o.
 *  Finding dependencies for regcomp.o.
    In file included from regcomp.c:31:
    regcomp.h:154:1: warning: "MASK" redefined
    In file included from /usr/include/machine/param.h:30,
                     from /usr/include/sys/param.h:102,
                     from perl.h:488,
                     from regcomp.c:22:
    /usr/include/ppc/param.h:120:1: warning: this is the location of the previous 
definition
 *  Finding dependencies for regexec.o.
    In file included from regexec.c:26:
    regcomp.h:154:1: warning: "MASK" redefined
    In file included from /usr/include/machine/param.h:30,
                     from /usr/include/sys/param.h:102,
                     from perl.h:488,
                     from regexec.c:20:
    /usr/include/ppc/param.h:120:1: warning: this is the location of the previous 
definition
 *  Finding dependencies for utf8.o.
 *  Finding dependencies for gv.o.
 *  Finding dependencies for sv.o.
 *  Finding dependencies for taint.o.
 *  Finding dependencies for toke.o.
 *  Finding dependencies for util.o.
 *  Finding dependencies for deb.o.
 *  Finding dependencies for run.o.
 *  Finding dependencies for universal.o.
 *  Finding dependencies for xsutils.o.
 *  Finding dependencies for globals.o.
 *  Finding dependencies for perlio.o.
 *  Finding dependencies for perlapi.o.
 *  Finding dependencies for miniperlmain.o.
 *  Finding dependencies for perlmain.o.
 *  Finding dependencies for hash.o.
 *  Finding dependencies for str.o.
 *  Finding dependencies for util.o.
 *  Finding dependencies for walk.o.

[and finally here's the tail end of the output which appears normal to my eyes]

    echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
    Updating GNUmakefile...
    Now you must run 'make'.

    If you compile perl5 on a different machine or from a different object
    directory, copy the Policy.sh file from this object directory to the
    new one before you run Configure -- this will help you with most of
    the policy defaults.

Macintosh# make
    make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.  Stop.
Macintosh# make test
    make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.  Stop.
Macintosh#


Any ideas on what could be happening here? Thanks in advance for any help or 
enlightenment you can provide.

William Moss


Latest Atlanta News and Sports: http://www.ajc.com
Get The Atlanta Journal-Constitution delivered!
http://www.ajc.com/subscribe

Reply via email to