At 2:11 +0100 2004.11.13, Tommy Nordgren wrote: >I'm learning MacPerl, and is currently trying to find out how to call >C modules from MacPerl. >I've generated the h2xs tool from h2xs.PL, and generated a test project >Mytest. >However, when I try perl Makefile.PL to generate a makefile under the MPW >environment, I get a makefile that is incompatible with the MPW make tool. >How can I fix this?
The way I do it is to set up the MacPerl build environment as per: http://dev.macperl.org/?build And from there I just drop in an XS module and build. Kinda messy, but works for me. Thomas Wegner has an XS tutorial, however, which might be better: http://usemacperl.esmartweb.com/ Of course, most of us now use Mac OS X, where building is much simpler. :-) Good luck, -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/