Re: Mac OSX Tiger getting module to compile



Sisyphus wrote:
"bpatton" <billypatton@xxxxxxxxxxxxx> wrote in message
.
.

and the results are :
make: *** No rule to make target
`/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h',
needed by `Makefile'.  Stop.

It's true that config.h does not exist in teh CORE directory.



I've no experience with Mac OSX. I suspect that there's a perl devel package
that contains the additional files you need, and that you need to install
that package. It would be on the OS installation disks - and probably other
places, too.

Cheers,
Rob


The existence of "make" implies that X Tools (the development package, which typically comes with the OS) was installed. Unless "make" comes from somewhere else (fink?). But maybe some option was missed.


I haven't made the step to Tiger yet, but the corresponding directory under Panther (a.k.a. Mac OS X 10.3) contains:

$ ls /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE
EXTERN.h      fakesdio.h    mg.h          perlsdio.h    scope.h
INTERN.h      fakethr.h     nostdio.h     perlsfio.h    sv.h
XSUB.h        form.h        op.h          perlvars.h    thrdvar.h
av.h          gv.h          opcode.h      perly.h       thread.h
cc_runtime.h  handy.h       opnames.h     pp.h          uconfig.h
config.h      hv.h          pad.h         pp_proto.h    unixish.h
cop.h         intrpvar.h    patchlevel.h  proto.h       utf8.h
cv.h          iperlsys.h    perl.h        reentr.h      utfebcdic.h
dosish.h      keywords.h    perlapi.h     regcomp.h     util.h
embed.h       libperl.dylib perlio.h      regexp.h      warnings.h
embedvar.h    malloc_ctl.h  perliol.h     regnodes.h

and I can apparently do a successful "make" on the output of "h2xs -n dogs" under both the default Perl (5.8.1 rc3) and Perl 5.8.6 (installed in /usr/local/bin).

On a different Panther machine that lacks X Tools, the CORE directory contains only "libperl.dylib".

I think I would look at the CORE directory to see what's there, but I suspect that in the end you'll end up removing X Tools (hint:

$ perl /Developer/Tools/uninstall_devtools.pl

) and then reinstalling, investigating any options and taking the ones that look appropriate. If you have reason to suspect your X Tools distribution you can download the latest from Apple. You have to sign up for their developers' network, but that's free.

Tom Wyant
.



Relevant Pages

  • Re: FreeBSD 5.3 - Write failure on transfer
    ... > I decided to install 5.3 from CD on a fourth box and I am having a problem. ... > 1) First stop was to suspect the freebsd iso I had burnt was suspect. ... Bluescreen leads to downtime. ...
    (freebsd-questions)
  • Re: FreeBSD 5.3 - Write failure on transfer
    ... >>I decided to install 5.3 from CD on a fourth box and I am having a problem. ... >>1) First stop was to suspect the freebsd iso I had burnt was suspect. ... >check the option in the disklabel program, but if the partitioning also ...
    (freebsd-questions)
  • Re: Kernel Panic, EXC_BAD_ACCESS and multiples applications Crashs
    ... would suspect bad RAM. ... The AHT (the Apple Hardwar Test) says that the RAM is OK, ... install the system onto it (which will go much faster than any 3 ...
    (comp.sys.mac.system)
  • RE: newbie... Trying to use .NET class library from VB6/COM
    ... I tried having the class library in the same folder and a separate folder. ... I suspect that you have both VB6 and VS.NET installed on ... The GAC install is still an issue because on the VB6 VM/partition there is ...
    (microsoft.public.dotnet.framework.interop)
  • FreeBSD 5.3 - Write failure on transfer
    ... I am installing FreeBSD 5.3 on a hp netserver LC2000r. ... I decided to install 5.3 from CD on a fourth box and I am having a problem. ... structure to the drives it does this in a around 1 second - this seems ... First stop was to suspect the freebsd iso I had burnt was suspect. ...
    (freebsd-questions)