<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Stephen,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I checked the developer tools....</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Courier New">Last login: Sat Oct  6 16:05:09 on console</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">Welcome to Darwin!</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">martins-powerbook:~ Martin$ gcc --version</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061)</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">Copyright (C) 2004 Free Software Foundation, Inc.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">This is free software; see the source for copying conditions.  There is NO</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">martins-powerbook:~ Martin$ make --version</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">GNU Make 3.80</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">Copyright (C) 2002  Free Software Foundation, Inc.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">This is free software; see the source for copying conditions.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">PARTICULAR PURPOSE.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">martins-powerbook:~ Martin$ </FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I then did..</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Courier New">sudo perl -MCPAN -e shell</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">o conf make /usr/bin/make</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">o conf commit</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">exit</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just to make sure, I turned off the Mac and turned it on again.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Which must have done the trick because I then did</DIV><DIV><FONT class="Apple-style-span" face="Courier New">sudo perl -MCPAN -e shell</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">install DateTime</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">install DateTime::Locale</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">install DateTime::TimeZone</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Which ended up with...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Courier New">Writing /Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DateTime/TimeZone/.packlist</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">  /usr/bin/make install  -- OK</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks to all who have taken the time to talk me through this.  I hope you understand that my frustrations are not directed at you guys, but rather at a process which, as you know, should be simple, but turned out to be nothing but. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>BTW the 10 months is 10 months of after-hours free time. And I'm not trying to re-invent functionalities, which is why I needed to get to grips with modules to start with.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now, I can get back to the math....</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 07/10/2007, at 12:26 AM, Stephen Steneker wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV>But I am getting the same error messages, which end up follows...</DIV><DIV><BR></DIV><DIV>Running make test</DIV><DIV>Can't test without successful make</DIV><DIV>Running make install</DIV><DIV>make had returned bad status, install seems impossible</DIV><DIV><BR></DIV><DIV><BR></DIV><DIV>This is a complete show-stopper, as far as my particular application is concerned, and I don't want to get to the point where I am regretting using Perl in the first place. I thought it would work as a cross platform open source coding language - have I made the wrong decision? If I have made the wrong decision, then I will have to consign about 10 months of work to the trash.</DIV><DIV><BR></DIV><DIV>Surely, there must be someone out there who has successfully installed Perl modules on a Mac (OS X 10.4.10)?</DIV> </BLOCKQUOTE><DIV><BR></DIV><DIV>Hi Martin,</DIV><DIV><BR></DIV><DIV>Did you confirm that you do, in fact, have the Developer Tools installed from</DIV><DIV>the OS X DVD?  Surely there is a more informative error than the above...</DIV><DIV>but from Terminal I would suggest doing:</DIV><DIV><BR></DIV><DIV>  gcc --version</DIV><DIV>  make --version</DIV><DIV><BR></DIV><DIV>.. both should return a version number, if installed (and would be installed</DIV><DIV>in /usr/bin, which should be in your path).</DIV><DIV><BR></DIV><DIV>Installation of some modules from CPAN will indeed be impossible without a</DIV><DIV>C compiler ;-).</DIV><DIV><BR></DIV><DIV>If you definitely have the above utilities, you can also explicitly tell CPAN</DIV><DIV>the location of make since this seems related to your issue, so:</DIV><DIV> sudo perl -MCPAN -e shell</DIV><DIV> o conf make /usr/bin/make</DIV><DIV> o conf commit</DIV><DIV> exit</DIV><DIV><BR></DIV><DIV>Lastly I would run the install manually to see what the detailed errors are :</DIV><DIV>  sudo perl -MCPAN -e shell</DIV><DIV>  look DateTime</DIV><DIV>  perl Makefile.PL</DIV><DIV>  make test</DIV><DIV><BR></DIV> <BLOCKQUOTE type="cite"><DIV>I really need to hear how it is done, from someone who has actually done it. The adage 'there's no reason why</DIV><DIV>it should not work' simply will not do.</DIV> </BLOCKQUOTE><DIV><BR></DIV><DIV>Unfortunately the installation should be about this simple:</DIV><DIV> - install OS X</DIV><DIV> - install Developer Tools</DIV><DIV> - install extra desired modules using CPAN shell</DIV><DIV><BR></DIV><DIV>If this seems too esoteric for your requirements, I would suggest either</DIV><DIV>revisiting the ActivePerl route (which also didn't seem to work out for you)</DIV><DIV>or possibly switching to a different cross-platform toolset which is better</DIV><DIV>suited for your purposes.  You might find something like PHP easier to</DIV><DIV>install .. you would lose out on the richness of modules available from</DIV><DIV>CPAN, but haven't figured out how to install these yet in any case ;-).</DIV><DIV><BR></DIV><DIV>There are plenty of folks using perl on OS X, but in general with</DIV><DIV>developer tools there is some presumption that you will be able</DIV><DIV>to work out how to drill down to the specific error that is preventing</DIV><DIV>your successful install.  Getting perl set up should not be a difficult</DIV><DIV>challenge, but your other attempts with ActivePerl and mucking</DIV><DIV>about with file permissions may also have introduced problems.</DIV><DIV><BR></DIV><DIV>Pretty hard to guess what else might have gone wrong at this point,</DIV><DIV>but I think since you've spent almost three weeks trying to sort out</DIV><DIV>your install it might be time to move on to something that will let</DIV><DIV>you get on with your project :-D.</DIV><DIV><BR></DIV><DIV>You did mention 10 months spent developing your application ..</DIV><DIV>without benefit of CPAN, you might find there is a fair bit of</DIV><DIV>functionality you've reinvented.  CPAN is definitely one of the</DIV><DIV>main reasons I would recommend using perl .. and essential</DIV><DIV>for any significant applications.</DIV><DIV><BR></DIV><DIV>Cheers,</DIV><DIV>Stephen</DIV><DIV><BR></DIV> </BLOCKQUOTE></DIV><BR><DIV> <DIV>Regards,</DIV><DIV>Martin</DIV><DIV>Visit my website...</DIV><DIV><A href="http://web.mac.com/martin_jacobs1">http://web.mac.com/martin_jacobs1</A> </DIV><BR class="Apple-interchange-newline"> </DIV><BR></DIV></BODY></HTML>