Mac OSX Tiger getting module to compile

Mac OSX Tiger getting module to compile

am 03.01.2006 18:45:03 von bpatton

I was starting a module on mac OSX 10.4.3 Tiger Perl version 5.8.6.
My module failed during the
make.

Here's what I did as a test.
h2xs -n dogs
cd dogs
perl Makefile.PL
make

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.

Re: Mac OSX Tiger getting module to compile

am 04.01.2006 01:06:02 von Sisyphus

"bpatton" 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

Re: Mac OSX Tiger getting module to compile

am 04.01.2006 19:51:43 von unknown

Sisyphus wrote:
> "bpatton" wrote in message
> .
> .
>
>>and the results are :
>>make: *** No rule to make target
>>`/System/Library/Perl/5.8.6/darwin-thread-multi-2level/COR E/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

Re: Mac OSX Tiger getting module to compile

am 05.01.2006 19:51:19 von Jim Gibson

In article <1136310303.088049.202070@g44g2000cwa.googlegroups.com>,
bpatton wrote:

> I was starting a module on mac OSX 10.4.3 Tiger Perl version 5.8.6.
> My module failed during the
> make.
>
> Here's what I did as a test.
> h2xs -n dogs
> cd dogs
> perl Makefile.PL
> make
>
> 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.
>

Then you must not have the developer XCode tools installed (the file is
in my directory). XCode is an optional package that is not installed
automatically when Tiger is installed. Look for it on the distribution
disk or the Apple website (requires free developer registration, IIRC).

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com