Click here to get back home

Mac OSX Tiger getting module to compile

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Mac OSX Tiger getting module to compile bpatton 01-03-2006
Posted by bpatton on January 3, 2006, 9:45 am
Please log in for more thread options


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.



Posted by Sisyphus on January 4, 2006, 11:06 am
Please log in for more thread options



.
..
>
> 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




Posted by harryfmudd [AT] comcast [DOT] on January 4, 2006, 1:51 pm
Please log in for more thread options


Sisyphus wrote:
> .
> .
>
>>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


Posted by Jim Gibson on January 5, 2006, 10:51 am
Please log in for more thread options



> 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


Similar ThreadsPosted
Module to trap undefined subroutines at compile time August 7, 2008, 8:34 am
Point me to MAC OS X Tiger GD instructions that work January 4, 2006, 8:50 pm
CPAN no longer working under Tiger April 1, 2006, 12:07 pm
Installing mod-perl on Tiger (OSX) issues May 31, 2006, 12:06 am
Net::Nessus 0.09 does not compile October 26, 2004, 9:04 am
How do we compile for perl? April 10, 2005, 11:01 pm
Compile of DB::DB2 on cygwin June 15, 2005, 7:38 pm
Conditional compile if 64-bit cpu, in .xs ? August 28, 2006, 12:00 am
Help with Math::GMP compile on AIX 5.3 September 11, 2007, 4:47 pm
compile problems with XML::LibXML December 22, 2004, 5:41 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap