perl.macosx http://www.nntp.perl.org/group/perl.macosx/ ... Copyright 1998-2017 perl.org Mon, 26 Jun 2017 21:10:05 +0000 ask@perl.org Re: Memory.bundle will not compile. by Charlie Garrison Good morning, <br/> <br/>You have sent a personal reply rather than to the list (or if <br/>you did send to the list it hasn&#39;t come through yet). <br/> <br/>On 13/12/13 at 1:06 PM -0000, Alan Fry &lt;ajf@afco.demon.co.uk&gt; wrote: <br/> <br/>&gt;On 12 Dec 201323:11, at 23:11, Charlie Garrison wrote: <br/> <br/>&gt;I&#39;m so sorry you can&#39;t do a double click on your Mac to read a <br/>&gt;Perl error message. I thought that was pretty standard in the <br/>&gt;Mac world. <br/> <br/>I didn&#39;t say I can&#39;t; I said it was easier if I didn&#39;t have to, <br/>and since you&#39;re asking for free help, why not make it easier <br/>for those you&#39;re asking to help you. Basic common sense. <br/> <br/>And again, we&#39;re talking Perl here; I can&#39;t even work out how <br/>that screen shot is related at all; where did it come from. Just <br/>copy the error message from the text output. Again, we&#39;re <br/>talking Perl. <br/> <br/>&gt;That is way off the beam. The issue is a 32/64 bit one and can <br/>&gt;be resolved by a perl version plist &quot;Prefer-32-Bit&quot;. But that&#39;s <br/>&gt;nasty thing to do IMHO. <br/> <br/>Umm, you know the solution? Then why are you asking for help? <br/>Or, you know of &#39;a&#39; solution but don&#39;t share that with us so we <br/>can help you find a better solution? You&#39;ve got to put some <br/>effort into helping us to help you. If you don&#39;t give us all the <br/>facts that you know (or think) might be relevant, how do you <br/>expect non-mind readers to assist? <br/> <br/>&gt;The errors arise from a call &#39;use Mac::OSA;&#39;. It&#39;s broken and I gather will never be fixed. <br/> <br/>I&#39;m not the author, so can&#39;t say. What dit the author say? <br/> <br/>Hmm, that&#39;s part of the Mac::Carbon distro. Doesn&#39;t surprise me <br/>in the slightest that it&#39;s not getting ongoing love. There are <br/>newer (better?) ways of doing things these days. <br/> <br/>And from what I can tell; it&#39;s not broken at all. It&#39;s not <br/>advertised as 64-bit compatible. Maybe your system is broken <br/>since it doesn&#39;t have a 32-bit perl. You can compile for <br/>yourself you know. <br/> <br/>&gt;I have taken it out of the script and done the job another way. <br/> <br/>Since we&#39;re still having to be mind-readers to know what your <br/>ultimate goal is, and knowing that with Perl TIMTOWTDI almost <br/>always holds true, a different solution doesn&#39;t surprise me. <br/> <br/>I can take heaps of guesses at what you really wanted to do, but <br/>that&#39;s not what you asked. I suggested some ways to solve the <br/>question you asked. <br/> <br/> <br/>Charlie <br/> <br/>-- <br/> &#x13CA; Charlie Garrison &#x264A; &lt;garrison@zeta.org.au&gt; <br/> <br/>O&lt; ascii ribbon campaign - stop html mail - www.asciiribbon.org <br/>&#x3020; http://www.ietf.org/rfc/rfc1855.txt <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2013/12/msg11010.html Fri, 13 Dec 2013 23:41:31 +0000 Re: Memory.bundle will not compile. by Charlie Garrison Good morning, <br/> <br/>On 12/12/13 at 2:59 PM -0000, Alan Fry &lt;ajf@afco.demon.co.uk&gt; wrote: <br/> <br/>&gt;I have a script which runs fine on OS 10.6.8 but fails on 10.7.2. The error message is this: <br/> <br/>No idea what that screen shot is; we&#39;re talking perl so just use <br/>the command line. Also makes it heaps easier for us to help <br/>since we don&#39;t need to open another program to see what you&#39;re <br/>trying to tell us. <br/> <br/>Try installing Memory::Memory again. Make sure you run the <br/>tests. If the tests fail, there are probably compile options <br/>that need changing, show us the test output. If tests succeed <br/>and installs fine, and you still have the same errors, then <br/>there is something wrong with your (script) environment. In that <br/>case, test from cli and show us all error output (not a <br/>screenshot please). <br/> <br/> <br/>Charlie <br/> <br/>-- <br/> &#x13CA; Charlie Garrison &#x264A; &lt;garrison@zeta.org.au&gt; <br/> <br/>O&lt; ascii ribbon campaign - stop html mail - www.asciiribbon.org <br/>&#x3020; http://www.ietf.org/rfc/rfc1855.txt <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2013/12/msg11009.html Thu, 12 Dec 2013 23:11:58 +0000 Memory.bundle will not compile. by Alan Fry I have a script which runs fine on OS 10.6.8 but fails on 10.7.2. The error message is this: <br/> http://www.nntp.perl.org/group/perl.macosx/2013/12/msg11008.html Thu, 12 Dec 2013 14:59:50 +0000 ANNOUNCE: ActivePerl 5.14.4.1405 and 5.16.3.1603 released by Jan Dubois ActiveState is pleased to announce the release of<br/><br/> - ActivePerl 5.14.4 build 1405<br/> - ActivePerl 5.16.3 build 1603<br/><br/>complete, ready-to-install binary distributions of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s New?<br/>===========<br/><br/>All builds are based on the latest corresponding core release of Perl<br/>and include updated bundled modules as well.<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1603<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/> http://www.nntp.perl.org/group/perl.macosx/2013/03/msg11007.html Fri, 22 Mar 2013 20:49:39 +0000 ANNOUNCE: ActivePerl 5.12.5.1206, 5.14.3.1404, and 5.16.2.1602 released by Jan Dubois ActiveState is pleased to announce the release of<br/><br/> - ActivePerl 5.12.5 build 1206 (Business Edition only)<br/> - ActivePerl 5.14.3 build 1404<br/> - ActivePerl 5.16.2 build 1602<br/><br/>complete, ready-to-install binary distributions of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s New?<br/>===========<br/><br/>All builds are based on the latest corresponding core release of Perl<br/>and include updated bundled modules as well.<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1601<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/> http://www.nntp.perl.org/group/perl.macosx/2013/01/msg11006.html Thu, 10 Jan 2013 19:43:38 +0000 ActiveState announces ActivePerl 5.16.1 by Jan Dubois ActiveState is pleased to announce ActivePerl 5.16.1 build 1601,<br/>a complete, ready-to-install binary distribution of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s new in ActivePerl<br/>========================<br/><br/>ActivePerl 5.16 is now based on the 5.16.1 release. You can read about all<br/>the changes since Perl 5.16.0 in the perldelta document:<br/><br/> http://docs.activestate.com/activeperl/5.16/lib/pods/perl5161delta.html<br/><br/>In addition, the 64-bit version of ActivePerl 5.16.1 for Windows now<br/>automatically supports building and installing additional modules with<br/>MinGW64 and dmake. These tools are available via PPM the same way MinGW<br/>has already been supported in the 32-bit version.<br/><br/>Also improved is the way Perl will automatically configure itself on<br/>Mac OS X to the installed version of XCode to locate the GCC compiler<br/>and tools.<br/><br/>Getting Started<br/>===============<br/><br/>Whether you&#39;re a first-time user or a long-time fan, our free resources<br/>will help you get the most from ActivePerl.<br/><br/>Mailing list archives:<br/><br/> http://code.activestate.com/lists/activeperl/<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1601<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2012/09/msg11005.html Wed, 12 Sep 2012 09:57:05 +0000 CPAN failure in 5.16.1 (+ solution) by John Delacour <br/>It seems there have been no postings to the list for over a year, but <br/>here goes anyway.<br/><br/>Last night I installed Perl 5.16.1 in /usr/local/ and immediately <br/>encountered problems when I tried to install and update modules using <br/>CPAN. The error is copied below. I could see no solution to the <br/>problem and was expecting a very tiresome late night, until by some <br/>stroke of luck I thought of trying cpanplus to install the modules <br/>and to install CPAN itself.<br/><br/>You can imagine my relief when this worked, and now CPAN runs without a hitch.<br/><br/><br/>JD<br/><br/><br/><br/><br/>-&gt; sudo ./cpanp<br/>CPANPLUS::Shell::Default -- CPAN <br/>exploration and module <br/>installation (v0.9121)<br/>*** Please report bugs to <br/>&lt;bug-cpanplus@rt.cpan.org&gt;.<br/>*** Using CPANPLUS::Backend <br/>v0.9121. ReadLine support <br/>enabled.<br/><br/>*** Type &#39;p&#39; now to show start up log<br/><br/>Did you know...<br/> You can install modules by URL <br/>using &#39;i URL&#39;<br/>CPAN Terminal&gt; install Net::SMTP::SSL<br/><br/>[MSG] No &#39;/Users/jd/.cpanplus/custom-sources&#39; dir, skipping custom sources<br/>[MSG] No &#39;/Users/jd/.cpanplus/custom-sources&#39; dir, skipping custom sources<br/>[MSG] No &#39;/Users/jd/.cpanplus/custom-sources&#39; dir, skipping custom sources<br/>Installing Net::SMTP::SSL (1.01)<br/>*** Install log written to:<br/> /Users/jd/.cpanplus/install-logs/Net-SMTP-SSL-1.01-1347232926.log<br/><br/>Module &#39;Net::SMTP::SSL&#39; installed successfully<br/>No errors installing all modules<br/><br/>CPAN Terminal&gt; install Net::SSLeay<br/>Installing Net::SSLeay (1.48)<br/>...<br/>Module &#39;Net::SSLeay&#39; installed successfully<br/>No errors installing all modules<br/><br/>CPAN Terminal&gt; install CPAN<br/><br/>Installing CPAN (1.9800)<br/>*** Install log written to:<br/> /Users/jd/.cpanplus/install-logs/CPAN-1.9800-1347233052.log<br/><br/>Module &#39;CPAN&#39; installed successfully<br/>No errors installing all modules<br/><br/><br/>______________________________________________________<br/>00:17:39 User:jd Cwd: /usr/local/bin<br/>-&gt; sudo ./cpan<br/>Password:<br/>cpan[1]&gt; r <br/> <br/> <br/>Database was generated on Sun, 09 <br/>Sep 2012 14:59:47 GMT<br/>Catching error: &quot;Can&#39;t locate <br/>DBI.pm in \@INC (\@INC contains: <br/>/usr/local/lib/perl5/site_perl/5.16.1/darwin-2level <br/>/usr/local/lib/perl5/site_perl/5.16.1 <br/>/usr/local/lib/perl5/5.16.1/darwin-2level <br/>/usr/local/lib/perl5/5.16.1 <br/>/usr/local/lib/perl5/site_perl/5.14.2 <br/>/usr/local/lib/perl5/site_perl/5.14.0 <br/>/usr/local/lib/perl5/site_perl/5.12.3 <br/>/usr/local/lib/perl5/site_perl/5.12.2 <br/>/usr/local/lib/perl5/site_perl <br/>/usr/local/bin) at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite/DBI.pm <br/>line 7.\cJBEGIN <br/>failed--compilation aborted at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite/DBI.pm <br/>line 7.\cJCompilation failed in <br/>require at (eval 26) line <br/>2.\cJ\cI...propagated at <br/>/usr/local/lib/perl5/5.16.1/base.pm <br/>line 84.\cJBEGIN <br/>failed--compilation aborted at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite/DBI/Search.pm <br/>line 8.\cJCompilation failed in <br/>require at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite/Search.pm <br/>line 9.\cJBEGIN <br/>failed--compilation aborted at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite/Search.pm <br/>line 9.\cJCompilation failed in <br/>require at <br/>/usr/local/lib/perl5/site_perl/5.14.0/CPAN/SQLite.pm <br/>line 78.\cJ&quot; at <br/>/usr/local/lib/perl5/5.16.1/CPAN.pm <br/>line 392.<br/> CPAN::shell() called at <br/>/usr/local/lib/perl5/5.16.1/App/Cpan.pm <br/>line 295<br/> <br/> App::Cpan::_process_options(&#39;App::Cpan&#39;) <br/>called at <br/>/usr/local/lib/perl5/5.16.1/App/Cpan.pm <br/>line 364<br/> App::Cpan::run(&#39;App::Cpan&#39;) <br/>called at ./cpan line 11<br/> http://www.nntp.perl.org/group/perl.macosx/2012/09/msg11004.html Mon, 10 Sep 2012 05:31:25 +0000 ActiveState announces ActivePerl 5.16.0 by Jan Dubois ActiveState is pleased to announce ActivePerl 5.16.0 build 1600,<br/>a complete, ready-to-install binary distribution of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s new in ActivePerl<br/>========================<br/><br/>ActivePerl 5.16 is now based on the 5.16.0 release. You can read about all<br/>the changes since Perl 5.14.0 in the perldelta document:<br/><br/> http://docs.activestate.com/activeperl/5.16/lib/pods/perl5160delta.html<br/><br/><br/>Getting Started<br/>===============<br/><br/>Whether you&#39;re a first-time user or a long-time fan, our free resources<br/>will help you get the most from ActivePerl.<br/><br/>Mailing list archives:<br/><br/> http://code.activestate.com/lists/activeperl/<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1600<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2012/06/msg11003.html Tue, 19 Jun 2012 14:30:25 +0000 Re: Problems configuring Perl on Lion by Edmundo Alvarez Hello again, <br/> <br/>Just for future reference, I want to say that in the end it turned out that the problem was in my bash config files. I was setting GREP_OPTIONS to always show line numbers and that caused the problem. <br/> <br/>Best regards, <br/> <br/>Edmundo Alvarez <br/>e.alvarezj@gmail.com <br/> <br/> <br/> <br/>On 24 Apr 2012, at 17:35, Edmundo Alvarez wrote: <br/> <br/>&gt; Hello, <br/>&gt; <br/>&gt; I am a Perl newbie and I am experiencing a problem when I try to configure Perl on Lion. In first place, I tried to use perlbrew, but I was unable to install any perl version. Right now I am trying to configure Perl 5.14.2 manually with &quot;sh Configure -de -Dprefix=/tmp/perl&quot;, but I get the same result (I attach the whole output, just in case): <br/>&gt; <br/>&gt; Doing variable substitutions on .SH files... <br/>&gt; ./UU/extract: line 42: ./11:config_h.SH: No such file or directory <br/>&gt; <br/>&gt; After searching for that error and asking to some colleagues I couldn&#39;t find out what&#39;s going on. Could you give me a hand, please? <br/>&gt; <br/>&gt; By the way, I have XCode 4.3 with command line tools also installed. <br/>&gt; <br/>&gt; Thank you in advance. <br/>&gt; <br/>&gt; &lt;output.log&gt; <br/>&gt; Edmundo Alvarez <br/>&gt; e.alvarezj@gmail.com <br/>&gt; <br/>&gt; <br/>&gt; <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2012/05/msg11002.html Tue, 08 May 2012 06:27:46 +0000 Mac::Glue and Lion by Kim Helliwell Is is posslble to use Mac::Glue on Lion? I&#39;m having no luck with it or with Mac::AppleScript::Glue either. Am I out of luck, or is there an alternative?<br/><br/>Thanks,<br/><br/>Kim Helliwell<br/> http://www.nntp.perl.org/group/perl.macosx/2012/05/msg11001.html Thu, 03 May 2012 12:07:07 +0000 Problems configuring Perl on Lion by Edmundo Alvarez Hello, <br/> <br/>I am a Perl newbie and I am experiencing a problem when I try to configure Perl on Lion. In first place, I tried to use perlbrew, but I was unable to install any perl version. Right now I am trying to configure Perl 5.14.2 manually with &quot;sh Configure -de -Dprefix=/tmp/perl&quot;, but I get the same result (I attach the whole output, just in case): <br/> <br/>Doing variable substitutions on .SH files... <br/>./UU/extract: line 42: ./11:config_h.SH: No such file or directory <br/> <br/>After searching for that error and asking to some colleagues I couldn&#39;t find out what&#39;s going on. Could you give me a hand, please? <br/> <br/>By the way, I have XCode 4.3 with command line tools also installed. <br/> <br/>Thank you in advance. <br/> http://www.nntp.perl.org/group/perl.macosx/2012/04/msg11000.html Tue, 24 Apr 2012 08:35:44 +0000 Re: Need for Case-Sensitive File System? by Phil Dobbin On 15/1/12 20:42, &quot;Bruce Van Allen&quot; &lt;bva@cruzio.com&gt; wrote:<br/><br/>&gt; I&#39;ve been developing in Perl on OS X ever since the OS X Public<br/>&gt; Beta. Somewhere along the line I came to believe that I should<br/>&gt; set up my system with the boot drive formatted as Max OS<br/>&gt; Extended (Case-sensitive, Journaled).<br/>&gt; <br/>&gt; Emphasis here on &quot;Case-sensitive&quot;.<br/>&gt; <br/>&gt; My question is: Is this practice (still) needed?<br/><br/>[snip]<br/><br/>Hi, Bruce.<br/><br/>I remember the LWP question well...<br/><br/>I&#39;ve always formatted my OS X drives case-insensitive &amp; never had a problem<br/>&#39;til about a week ago when I tried to install Mojolicious which failed<br/>because the installer was looking for `Users` &amp; found `users`. Brought up<br/>the problem with the developer via a GitHub issue &amp; he basically just said<br/>it was case issue &amp; there was nothing he could do about it (it installed<br/>fine on both my Linux boxes).<br/><br/>So at a strike rate of just one fail strictly on case<br/>sensistivity/insensitivity I think I&#39;ll stick with what I&#39;ve got.<br/><br/>Cheers,<br/><br/> Phil...<br/><br/>-- <br/>Some [people] feel that the best way to improve Perl would be to go<br/>back in time and shoot the author before he wrote it.<br/> -Larry Wall<br/><br/> http://www.nntp.perl.org/group/perl.macosx/2012/01/msg10999.html Mon, 16 Jan 2012 03:58:21 +0000 Need for Case-Sensitive File System? by Bruce Van Allen Hi Friends, <br/> <br/>I&#39;ve been developing in Perl on OS X ever since the OS X Public <br/>Beta. Somewhere along the line I came to believe that I should <br/>set up my system with the boot drive formatted as Max OS <br/>Extended (Case-sensitive, Journaled). <br/> <br/>Emphasis here on &quot;Case-sensitive&quot;. <br/> <br/>My question is: Is this practice (still) needed? <br/> <br/>Background <br/>---------- <br/>I started doing this after some discussions on this list several <br/>years ago; the issue was that some Perl modules assume(d) <br/>file-system case-sensitivity. For example, here&#39;s a quote from a <br/>message by Ari Kahn on Mar 8 2002: <br/> <br/>&quot;... difficulties when installing a software package that was <br/>designed for a <br/>case-sensitive system. For example, libwww-perl by default <br/>installs an HTTP <br/>script called HEAD, which is used to make an HTTP HEAD request. <br/>If this is <br/>installed to /usr/bin, it can overwrite the BSD built-in /usr/bin/head <br/>command, used for reading the beginnings of files. To prevent <br/>this kind of <br/>collision when using HFS+, it&#39;s necessary to configure CPAN.pm <br/>to install <br/>modules to a private directory. &quot; <br/> <br/>I didn&#39;t choose the recommended solution at the time of always <br/>installing CPAN modules in a private directory. Instead, every <br/>time I formatted a new boot drive, I made it case-sensitive. <br/> <br/>Over the years this has caused a few difficulties, particularly <br/>with some commercial software such as Quark Xpress refusing to <br/>install, but I only use case-sensitive formatting on my dev <br/>machine, so it&#39;s not usually a problem. <br/> <br/>I am about to set up a Mac Mini OS X 10.7 server as a new dev <br/>machine, and am wondering whether I still need to re-format as <br/>case-sensitive before proceeding. I&#39;d like to avoid the <br/>limitations of case-sensitivity if possible. If I format as <br/>case-INsensitive, will CPAN now help me do the right thing? <br/> <br/>Thanks. <br/> <br/> <br/> <br/> <br/> <br/> - Bruce <br/> <br/>_bruce__van_allen__santa_cruz_ca_ <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2012/01/msg10998.html Sun, 15 Jan 2012 12:42:51 +0000 Re: SQLite over MySQL? by merlyn &gt;&gt;&gt;&gt;&gt; &quot;Eberhard&quot; == Eberhard W Lisse &lt;nospam@lisse.NA&gt; writes:<br/><br/>Eberhard&gt; I beg to differ, if one writes Perl code (and even if one only<br/>Eberhard&gt; dabbles like the elderly Gynaecologist writing this) one can figure out<br/>Eberhard&gt; how to set up and run mysql, which in my case involves fink or even<br/>Eberhard&gt; PostgreSQL which now comes with Lion.<br/><br/>Eberhard&gt; SQLite has its moments but if there ever is a need to upgrade to a<br/>Eberhard&gt; proper multi-user environment it may come back to bite me.<br/><br/>The problem is not knowledge of how to set up MySQL, but that MySQL is<br/>not the the thing to set up.<br/><br/>At a minimum, if you need MySQL, install MariaDB.<br/>If you need an actual database, consider whether SQLite will do, or<br/>whether you need more power, in which case, install PostgreSQL.<br/><br/>-- <br/>Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095<br/>&lt;merlyn@stonehenge.com&gt; &lt;URL:http://www.stonehenge.com/merlyn/&gt;<br/>Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.<br/>See http://methodsandmessages.posterous.com/ for Smalltalk discussion<br/> http://www.nntp.perl.org/group/perl.macosx/2011/12/msg10997.html Thu, 29 Dec 2011 15:29:06 +0000 Module installation issues. by Sean Murphy Hi All. <br/> <br/>I am using Perl5.12 under Lion. I am finding that I cannot install term::screen or Cursres. I get a pile of compiling errors. <br/> <br/>So what modules should I use to clear the screen in Perl under MAC Lion? <br/> <br/>On this topic. I am trying to build a menu. I was wondering how difficult is it to create a very simple GUI interface? Can you access the Xcode libraries do do this? <br/> <br/>I am fairly new to Perl and want to expand my knowledge/skill. I have created a very simple database. The interface has up to 4 levels of menus. Such as: <br/> <br/>Main menu <br/>| <br/>-- Insert records <br/>| <br/>| <br/>|- transaction menu -- select month -- display result. <br/>| <br/>| <br/>|-- budget report menu -- display result <br/>| <br/>| <br/>|-- create and update categories. <br/>| <br/>| <br/>exit <br/> <br/>My current menu is very basic. Any tips on making this a GUI or better Text menu I would be greatful. The biggest challenge is that I have to make it accessible for the user who is going to use the program. They are blind and use voice-over. They cannot use other MAC accounting apps because they are not acccessible. <br/> <br/>Cheers <br/>Sean http://www.nntp.perl.org/group/perl.macosx/2011/12/msg10996.html Tue, 27 Dec 2011 14:15:56 +0000 Re: [MacPerl-AnyPerl] Re: macperl-anyperl Digest 9 Dec 2011 11:43:02 -0000 Issue 112 by Sean Murphy Hi Joel <br/> <br/> <br/>Thanks for the heads up. The description of the list didn&#39;t indicate it was for the PowerPC version of Perl. <br/> <br/>I will move to the other list you indicated. <br/> <br/>Cheers <br/>Sean <br/>On 09/12/2011, at 11:26 PM, Joel Rees wrote: <br/> <br/>&gt; Joel <br/> http://www.nntp.perl.org/group/perl.macosx/2011/12/msg10995.html Fri, 09 Dec 2011 11:38:09 +0000 Re: macperl-anyperl Digest 9 Dec 2011 11:43:02 -0000 Issue 112 by Joel Rees &gt; <br/>&gt; From: Sean Murphy &lt;mhysnm1964@gmail.com&gt; <br/>&gt; Date: &#x5E73;&#x6210;23&#x5E74;12&#x6708;9&#x65E5; 20:42:49:JST <br/>&gt; To: macperl-anyperl@perl.org <br/>&gt; Subject: DBI under the MAC <br/>&gt; <br/>&gt; <br/>&gt; Hi All. <br/>&gt; <br/>&gt; I am having some strange behaviours. I have created a simple script <br/>&gt; to insert data into a SQLite database. When I use the prepare are <br/>&gt; statement. The DBI driver complains that there is no such table. <br/>&gt; <br/>&gt; The code looks like thus: <br/>&gt; <br/>&gt; #!/usr/bin/perl <br/>&gt; <br/>&gt; # Combining credit and savings sheets <br/>&gt; # to find expenses and income. <br/>&gt; <br/>&gt; <br/>&gt; use strict; <br/>&gt; use DBI; <br/>&gt; <br/>&gt; my $db_driver = &quot;SQLite&quot;; <br/>&gt; my $db_file = &quot;budget.db&quot;; <br/>&gt; my $dns = &quot;DBI:$db_driver:database=$db_file&quot;; <br/>&gt; <br/>&gt; my $dbh = DBI-&gt;connect ($dns, &#39;&#39;, &#39;&#39;, <br/>&gt; { RaiseError =&gt; 1, AutoCommit =&gt; 0}); <br/>&gt; <br/>&gt; my $sth1 = $dbh-&gt;prepare(&quot;insert into cat (name) values (?);&quot;) <br/>&gt; or die(&quot;Cannot prepare table: &quot; . DBI::errstr() ); <br/>&gt; <br/>&gt; my $sth2 = $dbh-&gt;prepare(&quot;insert into trans (accounts, <br/>&gt; transaction_date, description, amount, amount_type, <br/>&gt; transaction_type, serial, category_id) values <br/>&gt; (?, ?, ?, ?, ?, ?, ?, ?);&quot;) <br/>&gt; or die(&quot;Cannot prepare: &quot; . DBI::errstr() ); <br/>&gt; <br/>&gt; <br/>&gt; When the above is executed in the full script. We get the following <br/>&gt; error: <br/>&gt; <br/>&gt; DBD::SQLite::db prepare failed: table trans has no column named <br/>&gt; accounts at ./insert_budget.pl line 60. <br/>&gt; Cannot prepare: table trans has no column named accounts at ./ <br/>&gt; insert_budget.pl line 60. <br/>&gt; <br/>&gt; The Schema for the table shows trans being present. As follows: <br/>&gt; <br/>&gt; sqlite&gt; .schema trans <br/>&gt; CREATE TABLE trans (transaction_id int primary key, account int, <br/>&gt; transaction_date date, description varchar(80), amount decimal <br/>&gt; (11,2), amount_type varchar(3) not null, transaction_type varchar <br/>&gt; (40), serial varchar(40), category_id int); <br/>&gt; sqlite&gt; <br/>&gt; <br/>&gt; Any ideas what might be going on here? The drivers are being found. <br/>&gt; I have tested this by using the perl -d option with the script. <br/>&gt; <br/>&gt; Sean <br/> <br/> From the content of your question, I&#39;m guessing that you&#39;re working <br/>with Mac OS X and therefore non-MacPerl perl. <br/> <br/>This list is for MacPerl, which is perl on the old pre-Mac OS X Mac <br/>systems. <br/> <br/>The list you probably want is at macosx@perl.org . <br/> <br/>I really shouldn&#39;t forward this to that list, but I will. <br/> <br/>As far as your question is concerned, I&#39;m not familiar with SQLite, <br/>but it looks to me like your problem is not Mac OS X related. You <br/>might want to check your table definition again. <br/> <br/>Joel Rees <br/>(waiting for a 3+GHz ARM processor to come out, <br/>to test Tim&#39;s willingness to switch again.) <br/> <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2011/12/msg10994.html Fri, 09 Dec 2011 04:26:36 +0000 Compilation Troubles on OS X 10.7 by Skye Shaw!@#$ I&#39;m running into some problems compiling Perl 5.10.1 on a clean<br/>install of OS X 10.7 (Darwin 11), Xcode 4.1 (though the problem is<br/>affecting any version of perl I try to build).<br/><br/>Configure -d does not find the prototypes for gethostent and<br/>shmatprototype. In the case of gethostent, it looks like configure is<br/>finds netdb.h but the call to $hasproto is fails. Some of the relevant<br/>output from Configure:<br/><br/> gethostbyaddr() found.<br/> gethostbyname() found.<br/> gethostent() found.<br/> gethostname() found.<br/> uname() found.<br/><br/> Every now and then someone has a gethostname() that lies about the<br/>hostname<br/> but can&#39;t be fixed for political or economic reasons. If you<br/>wish, I can<br/> pretend gethostname() isn&#39;t there and maybe compute hostname at<br/>run-time<br/> thanks to the &#39;hostname&#39; command.<br/><br/> Shall I ignore gethostname() from now on? [n]<br/><br/> gethostbyaddr_r() NOT found.<br/> gethostbyname_r() NOT found.<br/> gethostent_r() NOT found.<br/> gethostent() prototype NOT found.<br/><br/><br/> shmctl() found.<br/> shmget() found.<br/> shmat() found.<br/> and it returns (void *).<br/> Hmm. Based on the hints in hints/darwin.sh,<br/> the recommended value for $d_shmatprototype on this machine was<br/>&quot;define&quot;!<br/> Keep the recommended value? [y]<br/><br/> shmdt() found.<br/><br/><br/>I can get perl to compile by setting these 2 to &#39;define&#39; in config.sh<br/>but one of the locale test cases fails, or so it seems:<br/><br/><br/><br/> # The following locales<br/><br/> &lt;snip locale list&gt;<br/><br/> # tested okay.<br/> #<br/> # None of your locales were broken.<br/> ../lib/<br/>locale.t ..................................................<br/> Failed 1/117 subtests<br/><br/> And, in the test summary:<br/><br/> Test Summary Report<br/> -------------------<br/> ../ext/POSIX/t/posix.t<br/>(Wstat: 0 Tests: 66 Failed: 0)<br/> TODO passed: 11<br/> ../lib/locale.t<br/>(Wstat: 0 Tests: 117 Failed: 1)<br/> Failed test: 99<br/> Files=1711, Tests=227037, 585 wallclock secs (32.87 usr 11.05 sys<br/>+ 281.40 cusr 55.22 csys = 380.54 CPU)<br/> Result: FAIL<br/> Failed 1/1711 test programs. 1/227037 subtests failed<br/><br/><br/>I never had these problems on 10.5 or 10.6 so I assume it&#39;s a 10.7<br/>thing. Has anyone been able to successfully compile Perl on 10.7?<br/><br/>On a possibly related note Configure -d outputs the following message:<br/>egrep: conflicting matchers specified<br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/11/msg10993.html Mon, 21 Nov 2011 00:03:59 +0000 Re: ActiveState announces ActivePerl 5.14.2 by Xiao Yafeng Congratulations~~<br/>by the way, is MinGW built into this version? or I&#39;d rather stay in 5.12. ;)<br/><br/><br/>On Fri, Oct 14, 2011 at 2:57 AM, Jan Dubois &lt;jand@activestate.com&gt; wrote:<br/><br/>&gt; ActiveState is pleased to announce ActivePerl 5.14.2 build 1402,<br/>&gt; a complete, ready-to-install binary distributions of Perl.<br/>&gt;<br/>&gt; Builds for Windows, Mac OS X and Linux are made freely available.<br/>&gt; Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>&gt; Edition. For detailed information or to download these releases, see:<br/>&gt;<br/>&gt; http://www.activestate.com/activeperl<br/>&gt;<br/>&gt;<br/>&gt; What&#39;s new in ActivePerl<br/>&gt; ========================<br/>&gt;<br/>&gt; ActivePerl 5.14 is now based on the 5.14.2 release. You can read about all<br/>&gt; the changes since Perl 5.14.1 in this perldelta document:<br/>&gt;<br/>&gt; http://docs.activestate.com/activeperl/5.14/lib/pods/perl5142delta.html<br/>&gt;<br/>&gt;<br/>&gt; Getting Started<br/>&gt; ===============<br/>&gt;<br/>&gt; Whether you&#39;re a first-time user or a long-time fan, our free resources<br/>&gt; will help you get the most from ActivePerl.<br/>&gt;<br/>&gt; Mailing list archives:<br/>&gt;<br/>&gt; http://code.activestate.com/lists/activeperl/<br/>&gt;<br/>&gt;<br/>&gt; Supported Platforms<br/>&gt; ===================<br/>&gt;<br/>&gt; ActivePerl is available for the following platforms:<br/>&gt;<br/>&gt; - Windows/x86 (32-bit)<br/>&gt; - Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>&gt; - Mac OS X<br/>&gt; - Linux/x86 (32 bit)<br/>&gt; - Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/>&gt;<br/>&gt; - Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>&gt; - Solaris/x86 (32-bit) (Business Edition only)<br/>&gt; - HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>&gt; - AIX/PowerPC (32-bit) (Business Edition only)<br/>&gt;<br/>&gt; More information about the Business Edition can be found here:<br/>&gt;<br/>&gt; http://www.activestate.com/business-edition<br/>&gt;<br/>&gt; Custom builds are available in the Enterprise Edition:<br/>&gt;<br/>&gt; http://www.activestate.com/enterprise-edition<br/>&gt;<br/>&gt;<br/>&gt; Feedback<br/>&gt; ========<br/>&gt;<br/>&gt; Everyone is encouraged to participate in making Perl an even better<br/>&gt; language.<br/>&gt;<br/>&gt; For bugs related to ActiveState use:<br/>&gt;<br/>&gt; http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1402<br/>&gt;<br/>&gt; For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/>&gt;<br/>&gt; Enjoy!<br/>&gt;<br/>&gt;<br/>&gt; _______________________________________________<br/>&gt; ActivePerl mailing list<br/>&gt; ActivePerl@listserv.ActiveState.com<br/>&gt; To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs<br/>&gt; http://www.nntp.perl.org/group/perl.macosx/2011/10/msg10992.html Fri, 14 Oct 2011 07:31:23 +0000 ActiveState announces ActivePerl 5.14.2 by Jan Dubois ActiveState is pleased to announce ActivePerl 5.14.2 build 1402,<br/>a complete, ready-to-install binary distributions of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s new in ActivePerl<br/>========================<br/><br/>ActivePerl 5.14 is now based on the 5.14.2 release. You can read about all<br/>the changes since Perl 5.14.1 in this perldelta document:<br/><br/> http://docs.activestate.com/activeperl/5.14/lib/pods/perl5142delta.html<br/><br/><br/>Getting Started<br/>===============<br/><br/>Whether you&#39;re a first-time user or a long-time fan, our free resources<br/>will help you get the most from ActivePerl.<br/><br/>Mailing list archives:<br/><br/> http://code.activestate.com/lists/activeperl/<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1402<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/10/msg10991.html Thu, 13 Oct 2011 11:57:58 +0000 Re:9 by Celeste Suliin Burris ...I&#xFFFD;ve never thought that one site can solve all my problems. http://cairlos.zymichost.com/com.friend.php?gsid=46q3 <br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10990.html Fri, 30 Sep 2011 10:04:25 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by Adrian Hosey On Sep 28, 2011, at 1:41 PM, Lola Lee Beno wrote: <br/>&gt; <br/>&gt; Looks like I need to install make. This means, I need to get XCode so I can install make, right? <br/> <br/>Yes, but - you should also read this http://deflatermouse.livejournal.com/149721.html <br/> <br/> - alh <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10989.html Thu, 29 Sep 2011 01:50:27 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by Charlie Garrison Good morning, <br/> <br/>On 28/09/11 at 3:59 PM -0400, Lola Lee Beno &lt;lola@his.com&gt; wrote: <br/> <br/>&gt;That&#39;s what I was afraid of. Apparently a previous install of <br/>&gt;make got blown away. In the process of downloading XCode from <br/>&gt;App Store (uggggh) . . . <br/> <br/>I had to install Xcode twice (not download, just install twice). <br/>And I seem to recall some reports from others saying the same <br/>thing. Installing twice also fixed borked xcode for a colleague. <br/>I never bothered to find out why that fixed things; just <br/>proceeded and kept working. <br/> <br/> <br/>Charlie <br/> <br/>-- <br/> &#x13CA; Charlie Garrison &#x264A; &lt;garrison@zeta.org.au&gt; <br/> <br/>O&lt; ascii ribbon campaign - stop html mail - www.asciiribbon.org <br/>&#x3020; http://www.ietf.org/rfc/rfc1855.txt <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10988.html Wed, 28 Sep 2011 17:23:48 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by Lola Lee Beno That&#39;s what I was afraid of. Apparently a previous install of make got <br/>blown away. In the process of downloading XCode from App Store (uggggh) <br/>. . .<br/><br/><br/>On 9/28/11 3:48 PM, Bruce Van Allen wrote:<br/>&gt; On 2011-09-28, Lola Lee Beno wrote:<br/>&gt;<br/>&gt;&gt; Looks like I need to install make. This means, I need to get XCode <br/>&gt;&gt; so I can install make, right?<br/>&gt;<br/>&gt; Other than the huge download of a bunch of XCode stuff you might never <br/>&gt; use, that&#39;s probably the best way to install make.<br/>&gt;<br/><br/><br/>-- <br/>Lola J. Lee Beno<br/>LinkedIn: http://www.linkedin.com/in/lolajleebeno<br/>Facebook: http://www.facebook.com/profile.php?id=714355583<br/>Blog: http://www.lolajl.net/blog/<br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10987.html Wed, 28 Sep 2011 12:59:34 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by Elizabeth Mattijsen On Sep 28, 2011, at 7:41 PM, Lola Lee Beno wrote: <br/>&gt; I upgraded to Lion. I have pre-existing Perl modules that I had installed, but I hadn&#39;t yet installed DBD::mysql. <br/>&gt; <br/>&gt; When I try to install DBD::mysql, I get this: <br/>&gt; <br/>&gt; Checking if your kit is complete... <br/>&gt; Looks good <br/>&gt; Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/ <br/>&gt; Writing Makefile for DBD::mysql <br/>&gt; Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. <br/>&gt; CAPTTOFU/DBD-mysql-4.020.tar.gz <br/>&gt; /usr/bin/make -- NOT OK <br/>&gt; Running make test <br/>&gt; Can&#39;t test without successful make <br/>&gt; Running make install <br/>&gt; Make had returned bad status, install seems impossible <br/>&gt; Failed during this command: <br/>&gt; CAPTTOFU/DBD-mysql-4.020.tar.gz : make NO <br/>&gt; <br/>&gt; <br/>&gt; When I try to update CPAN, I get this: <br/>&gt; <br/>&gt; Warning: Prerequisite &#39;File::HomeDir =&gt; 0.69&#39; for &#39;ANDK/CPAN-1.9800.tar.gz&#39; failed when processing &#39;ADAMK/File-HomeDir-0.98.tar.gz&#39; with &#39;make =&gt; NO&#39;. Continuing, but chances to succeed are limited. <br/>&gt; Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. <br/>&gt; ANDK/CPAN-1.9800.tar.gz <br/>&gt; /usr/bin/make -- NOT OK <br/>&gt; Running make test <br/>&gt; Can&#39;t test without successful make <br/>&gt; Running make install <br/>&gt; Make had returned bad status, install seems impossible <br/>&gt; Failed during this command: <br/>&gt; ADAMK/Test-Script-1.07.tar.gz : make NO <br/>&gt; CHANSEN/Mac-SystemDirectory-0.06.tar.gz : writemakefile NO -- No &#39;Makefile&#39; created <br/>&gt; <br/>&gt; ANDK/CPAN-1.9800.tar.gz : make NO <br/>&gt; ADAMK/File-HomeDir-0.98.tar.gz : make NO <br/>&gt; RJBS/IPC-Run3-0.044.tar.gz : make NO <br/>&gt; ADAMK/File-Which-1.09.tar.gz : make NO <br/>&gt; <br/>&gt; So the common denominator is: Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. <br/>&gt; <br/>&gt; Looks like I need to install make. This means, I need to get XCode so I can install make, right? <br/> <br/>Yes, that would be a good start. :-) No guarantees after that though, but Xcode is essentially a prerequisite on Mac OS X. <br/> <br/> <br/> <br/>Liz http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10986.html Wed, 28 Sep 2011 12:54:00 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by Bruce Van Allen On 2011-09-28, Lola Lee Beno wrote: <br/> <br/>&gt;Looks like I need to install make. This means, I need to get XCode so I can install make, right? <br/> <br/>Other than the huge download of a bunch of XCode stuff you might <br/>never use, that&#39;s probably the best way to install make. <br/> <br/> <br/> <br/> - Bruce <br/> <br/>_bruce__van_allen__santa_cruz_ca_ <br/> <br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10985.html Wed, 28 Sep 2011 12:48:30 +0000 Re: Can't Update CPAN, Can't Install DBD::mysql by John Delacour At 13:41 -0400 28/9/11, Lola Lee Beno wrote:<br/><br/>&gt;...Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at<br/><br/>&gt;Looks like I need to install make. This means, I need to get XCode <br/>&gt;so I can install make, right?<br/><br/>Absolutely! Isn&#39;t it on your Mac OS X install disks?<br/><br/>JD<br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10984.html Wed, 28 Sep 2011 12:30:45 +0000 Can't Update CPAN, Can't Install DBD::mysql by Lola Lee Beno I upgraded to Lion. I have pre-existing Perl modules that I had <br/>installed, but I hadn&#39;t yet installed DBD::mysql.<br/><br/>When I try to install DBD::mysql, I get this:<br/><br/>Checking if your kit is complete...<br/>Looks good<br/>Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level) <br/>installed in <br/>/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/<br/>Writing Makefile for DBD::mysql<br/>Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at <br/>/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.<br/> CAPTTOFU/DBD-mysql-4.020.tar.gz<br/> /usr/bin/make -- NOT OK<br/>Running make test<br/> Can&#39;t test without successful make<br/>Running make install<br/> Make had returned bad status, install seems impossible<br/>Failed during this command:<br/> CAPTTOFU/DBD-mysql-4.020.tar.gz : make NO<br/><br/><br/>When I try to update CPAN, I get this:<br/><br/>Warning: Prerequisite &#39;File::HomeDir =&gt; 0.69&#39; for <br/>&#39;ANDK/CPAN-1.9800.tar.gz&#39; failed when processing <br/>&#39;ADAMK/File-HomeDir-0.98.tar.gz&#39; with &#39;make =&gt; NO&#39;. Continuing, but <br/>chances to succeed are limited.<br/>Can&#39;t exec &quot;/usr/bin/make&quot;: No such file or directory at <br/>/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.<br/> ANDK/CPAN-1.9800.tar.gz<br/> /usr/bin/make -- NOT OK<br/>Running make test<br/> Can&#39;t test without successful make<br/>Running make install<br/> Make had returned bad status, install seems impossible<br/>Failed during this command:<br/> ADAMK/Test-Script-1.07.tar.gz : make NO<br/> CHANSEN/Mac-SystemDirectory-0.06.tar.gz : writemakefile NO -- No <br/>&#39;Makefile&#39; created<br/><br/> ANDK/CPAN-1.9800.tar.gz : make NO<br/> ADAMK/File-HomeDir-0.98.tar.gz : make NO<br/> RJBS/IPC-Run3-0.044.tar.gz : make NO<br/> ADAMK/File-Which-1.09.tar.gz : make NO<br/><br/>So the common denominator is: Can&#39;t exec &quot;/usr/bin/make&quot;: No such file <br/>or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.<br/><br/>Looks like I need to install make. This means, I need to get XCode so I <br/>can install make, right?<br/><br/>-- <br/>Lola J. Lee Beno<br/>LinkedIn: http://www.linkedin.com/in/lolajleebeno<br/>Facebook: http://www.facebook.com/profile.php?id=714355583<br/>Blog: http://www.lolajl.net/blog/<br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/09/msg10983.html Wed, 28 Sep 2011 10:42:00 +0000 Re: perl modules on osx by John Delacour At 11:38 -0700 27/07/2011, Noah wrote:<br/><br/>&gt;...this is a beginners question. I am trying to figure out the best <br/>&gt;cpan strategy for OSX. what is the best installation option for <br/>&gt;installing a cpan module to mac osx? I cant find the module in <br/>&gt;macports or fink packages.<br/>&gt;<br/>&gt;I did download it and attempting to install manually but found I <br/>&gt;have a bunch of prerequisites that are not found. Is there a way to <br/>&gt;automate their installation. Should I be looking to do this entire <br/>&gt;perl module installation with installing cpan through perl directly?<br/><br/>Yes, provided you are using the Perl Apple installed or, which is <br/>most unlikely from what you have said, a version you have installed <br/>in /usr/local.<br/><br/>Make sure you have installed the Developer Tools from your Mac OS X <br/>disks, without which you won&#39;t be able to compile the modules.<br/><br/>Then, in Terminal, type<br/><br/>sudo cpan<br/><br/>and you will be asked for info needed to set up CPAN for use. You can <br/>choose to have prerequisites installed for modules, and I think this <br/>is the default.<br/><br/>Once you are set up, then installing modules is very straightforward. <br/>Just type sudo cpan and then<br/><br/>install Some::Module<br/><br/>When you have finished with CPAN make sure always to do<br/><br/>exit<br/><br/>or<br/><br/>q<br/><br/>To exit to the bash shell otherwise you will have problems with a locked file.<br/><br/>JD<br/> http://www.nntp.perl.org/group/perl.macosx/2011/07/msg10982.html Wed, 27 Jul 2011 13:00:06 +0000 perl modules on osx by Noah Hi there,<br/><br/>okay this is a beginners question. I am trying to figure out the best <br/>cpan strategy for OSX. what is the best installation option for <br/>installing a cpan module to mac osx? I cant find the module in macports <br/>or fink packages.<br/><br/>I did download it and attempting to install manually but found I have a <br/>bunch of prerequisites that are not found. Is there a way to automate <br/>their installation. Should I be looking to do this entire perl module <br/>installation with installing cpan through perl directly?<br/><br/>Warning: prerequisite HTML::Form 0.02 not found.<br/>Warning: prerequisite HTML::TreeBuilder 0 not found.<br/>Warning: prerequisite HTTP::Cookies 0 not found.<br/>Warning: prerequisite HTTP::Request 0 not found.<br/>Warning: prerequisite HTTP::Response 0 not found.<br/>Warning: prerequisite HTTP::Status 0 not found.<br/>Warning: prerequisite LWP 5.48 not found.<br/>Warning: prerequisite LWP::RobotUA 0 not found.<br/>Warning: prerequisite LWP::UserAgent 0 not found.<br/>Warning: prerequisite Tie::Persistent 0.901 not found.<br/>Warning: prerequisite URI 0 not found.<br/>Warning: prerequisite URI::Escape 0 not found.<br/>Warning: prerequisite URI::URL 0 not found.<br/>Warning: prerequisite URI::http 0 not found.<br/>Warning: prerequisite User 1.05 not found.<br/>Warning: prerequisite WWW::Search 2.35 not found.<br/>Warning: prerequisite XML::XPath 0 not found.<br/><br/>Cheers<br/> http://www.nntp.perl.org/group/perl.macosx/2011/07/msg10981.html Wed, 27 Jul 2011 11:39:00 +0000 Re: SQLite over MySQL? by merlyn &gt;&gt;&gt;&gt;&gt; &quot;Chas&quot; == &quot;Chas Owens&quot; &lt;chas.owens@gmail.com&gt; writes:<br/><br/>Chas&gt; That said, it doesn&#39;t provide some things you might expect. So far as<br/>Chas&gt; I know, it provides no security layer. there is no username or<br/>Chas&gt; password to connect, no users own tables (and therefore there are no<br/>Chas&gt; privileges to grant). The database does no type checking. If you<br/>Chas&gt; declare a column as being an integer, there is nothing to stop you<br/>Chas&gt; from storing a string in it (this is a simplification of its dynamic<br/>Chas&gt; typing, but an integer column can contain &quot;fred&quot;).<br/><br/>There is no longer a gap between SQLite and PostgreSQL that MySQL could<br/>fill nicely, as it had in the past. They overlap in the middle.<br/><br/>MySQL should not be used for new starts.<br/><br/>Or, as I say, &quot;Friends don&#39;t let friends use MySQL&quot;.<br/><br/>-- <br/>Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095<br/>&lt;merlyn@stonehenge.com&gt; &lt;URL:http://www.stonehenge.com/merlyn/&gt;<br/>Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.<br/>See http://methodsandmessages.posterous.com/ for Smalltalk discussion<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10980.html Thu, 23 Jun 2011 16:27:52 +0000 ActiveState announces ActivePerl 5.14.1 and 5.12.4 by Jan Dubois ActiveState is pleased to announce ActivePerl 5.14.1 build 1401 and<br/>ActivePerl 5.12.4.1205, complete, ready-to-install binary<br/>distributions of Perl.<br/><br/>Builds for Windows, Mac OS X and Linux are made freely available.<br/>Builds for Solaris, HP-UX and AIX are available with ActivePerl Business<br/>Edition. For detailed information or to download these releases, see:<br/><br/> http://www.activestate.com/activeperl<br/><br/><br/>What&#39;s new in ActivePerl<br/>========================<br/><br/>ActivePerl 5.14 is now based on the 5.14.1 release. You can read about all<br/>the changes since Perl 5.14.0 in this perldelta document:<br/><br/> http://docs.activestate.com/activeperl/5.14/lib/pods/perl5141delta.html<br/><br/>In addition, PerlScript and Perl for ISAPI support have been fixed in<br/>build 1401 for Windows as well.<br/><br/>ActivePerl 5.12 is now based on the 5.12.4 release. You can read about all<br/>the changes since Perl 5.12.3 in this perldelta document:<br/><br/> http://docs.activestate.com/activeperl/5.12/lib/pods/perl5124delta.html<br/><br/><br/>Getting Started<br/>===============<br/><br/>Whether you&#39;re a first-time user or a long-time fan, our free resources<br/>will help you get the most from ActivePerl.<br/><br/>Mailing list archives:<br/><br/> http://code.activestate.com/lists/activeperl/<br/><br/><br/>Supported Platforms<br/>===================<br/><br/>ActivePerl is available for the following platforms:<br/><br/>- Windows/x86 (32-bit)<br/>- Windows/x64 (64-bit) (aka &quot;AMD64&quot;)<br/>- Mac OS X<br/>- Linux/x86 (32 bit)<br/>- Linux/x86_64 (64-bit) (aka &quot;AMD64&quot;)<br/><br/>- Solaris/SPARC (32-bit and 64-bit) (Business Edition only)<br/>- Solaris/x86 (32-bit) (Business Edition only)<br/>- HP-UX/PA-RISC (32-bit) (Business Edition only)<br/>- AIX/PowerPC (32-bit) (Business Edition only)<br/><br/>More information about the Business Edition can be found here:<br/><br/> http://www.activestate.com/business-edition<br/><br/>Custom builds are available in the Enterprise Edition:<br/><br/> http://www.activestate.com/enterprise-edition<br/><br/><br/>Feedback<br/>========<br/><br/>Everyone is encouraged to participate in making Perl an even better<br/>language.<br/><br/>For bugs related to ActiveState use:<br/><br/> http://bugs.activestate.com/enter_bug.cgi?product=ActivePerl&amp;version=1401<br/><br/>For bugs related directly to Perl please use the &#39;perlbug&#39; utility.<br/><br/>Enjoy!<br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10979.html Wed, 22 Jun 2011 13:46:53 +0000 Re: SQLite over MySQL? by Chas. Owens On Fri, Jun 17, 2011 at 18:43, Bruce Van Allen &lt;bva@cruzio.com&gt; wrote:<br/>&gt; Hey John (or anyone else),<br/>&gt;<br/>&gt; On 2011-06-17, John Delacour wrote:<br/>&gt;&gt;<br/>&gt;&gt; I&#39;m afraid I can&#39;t advise since I can&#39;t stand MySQL and find life much<br/>&gt;&gt; easier with SQLite.<br/>&gt;<br/>&gt; This aroused my curiosity because I have to switch some Perl programs<br/>&gt; written long ago with various flat-file data tables accessed via howe-brew<br/>&gt; parsing to something more transferable. None of my uses has more than a few<br/>&gt; hundred thousand records, and most have far fewer.<br/>&gt;<br/>&gt; Would you care to say a bit more about your preference? Do you use the Perl<br/>&gt; DBI with SQLite? If something that reflects your views can be read<br/>&gt; elsewhere, please point.<br/>&gt;<br/>&gt; CAUTION: I&#39;m not interested in enflaming a huge debate about the merits and<br/>&gt; demerits of these and other database systems, their developers, companies<br/>&gt; that &quot;own&quot; them, etc. Just a bit of practical curiosity...<br/>snip<br/><br/>SQLite is definitely more of a pleasure to work with than MySQL, but<br/>it is not suitable for all applications. This text from [SQLite&#39;s<br/>site][1] sums it up nicely:<br/><br/> There are advantages and disadvantages to being serverless. The main<br/> advantage is that there is no separate server process to install,<br/> setup, configure, initialize, manage, and troubleshoot. This is one<br/> reason why SQLite is a &quot;zero-configuration&quot; database engine. Programs<br/> that use SQLite require no administrative support for setting up the<br/> database engine before they are run. Any program that is able to<br/> access the disk is able to use an SQLite database.<br/><br/> On the other hand, a database engine that uses a server can provide<br/> better protection from bugs in the client application - stray pointers<br/> in a client cannot corrupt memory on the server. And because a server<br/> is a single persistent process, it is able to control database access<br/> with more precision, allowing for finer grain locking and better<br/> concurrency.<br/><br/>You access SQLite DBs in Perl the same way as MySQL DBs, with a DBD<br/>module using the DBI. The primary difference is that the entire DB<br/>engine is contained within the DBD::SQLite module. There is no setup,<br/>you just say<br/><br/> #!/usr/bin/perl<br/><br/> use strict;<br/> use warnings;<br/> use DBI;<br/><br/> my $dbh = DBI-&gt;connect(&quot;dbi:SQLite:dbname=foo.db&quot;, &quot;&quot;, &quot;&quot;);<br/><br/>and if the file foo.db didn&#39;t exist already, it is created. That is<br/>it; you have a database now.<br/><br/>That said, it doesn&#39;t provide some things you might expect. So far as<br/>I know, it provides no security layer. there is no username or<br/>password to connect, no users own tables (and therefore there are no<br/>privileges to grant). The database does no type checking. If you<br/>declare a column as being an integer, there is nothing to stop you<br/>from storing a string in it (this is a simplification of its dynamic<br/>typing, but an integer column can contain &quot;fred&quot;).<br/><br/>[1]: http://www.sqlite.org/serverless.html<br/><br/><br/><br/>-- <br/>Chas. Owens<br/>wonkden.net<br/>The most important skill a programmer can have is the ability to read.<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10978.html Sun, 19 Jun 2011 16:37:46 +0000 Re: Clean Install by John Delacour At 13:23 +0200 18/06/2011, Marek Stepanek wrote:<br/><br/>&gt;And now I spend a lot of time again ... I forgot the hint of Chas. doing:<br/>&gt;<br/>&gt;% ./intro6.pl<br/>&gt;<br/>&gt;Which is not working with my<br/>&gt;<br/>&gt;#!/usr/bin/perl<br/>&gt;<br/>&gt;so I have to do it like that:<br/>&gt;<br/>&gt;% perl intro6.pl<br/>&gt;<br/>&gt;!!<br/>&gt;<br/>&gt;or I have to change like follows:<br/>&gt;<br/>&gt;#!/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/bin/perl<br/><br/>Yes, well portablility is a great thing and that&#39;s why I install Perl <br/>in the default location /usr/local/bin, which is linked to from <br/>/usr/bin on most servers. I am sure perlbrew has its uses but I have <br/>a poor memory and if I install things in the usual places I can more <br/>easily find the answers to my problems. In the home environment I <br/>simply use either #!/usr/bin/perl or #!/usr/local/bin/perl depending <br/>which perl I want to use. On most remote servers the two are <br/>equivalent and I have no control over which Perl they have installed.<br/><br/>&gt;Thank you all for your great help!<br/><br/>Glad it worked. If you want some real fun, try installing PDL :-)<br/><br/>JD<br/><br/><br/><br/><br/><br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10977.html Sat, 18 Jun 2011 04:48:02 +0000 Re: Clean Install by Marek Stepanek On 6/18/11 12:42 PM, John Delacour wrote:<br/><br/>&gt; $ sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib<br/>&gt; /usr/lib/libmysqlclient.18.dylib<br/>&gt;<br/><br/>Ahhh, I have had this link on my old laptop already. Thank you John!!! <br/>This link made it possible that the manual install succeeded :-) I am <br/>wondering, how I managed before.<br/><br/>And now I spend a lot of time again ... I forgot the hint of Chas. doing:<br/><br/>% ./intro6.pl<br/><br/>Which is not working with my<br/><br/>#!/usr/bin/perl<br/><br/>so I have to do it like that:<br/><br/>% perl intro6.pl<br/><br/>!!<br/><br/>or I have to change like follows:<br/><br/>#!/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/bin/perl<br/><br/><br/>Thank you all for your great help!<br/><br/><br/><br/>marek<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10976.html Sat, 18 Jun 2011 04:24:04 +0000 Re: Clean Install by John Delacour At 12:51 +0200 18/06/2011, Marek Stepanek wrote:<br/><br/>&gt;...and with cpanp<br/>&gt;<br/>&gt;DBI<br/>&gt;<br/>&gt;and manually DBD::mysql<br/>&gt;<br/>&gt;% perl Makefile.PL --testuser=mstep --testpassword=s3kr1t<br/>&gt;<br/>&gt;......Library not loaded: libmysqlclient.18.dylib<br/><br/><br/>Just create the symbolic link as I have just (not originally) suggested:<br/><br/>sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib<br/><br/>You will then get:<br/><br/>$ cd /usr/lib; ls -al | grep *mysql*<br/>lrwxr-xr-x 1 root wheel 44 18 Jun 11:22 <br/>libmysqlclient.18.dylib -&gt; <br/>/usr/local/mysql/lib/libmysqlclient.18.dylib<br/><br/><br/>DBD::mysql and install using CPAN.<br/><br/>JD<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10975.html Sat, 18 Jun 2011 04:20:00 +0000 Re: Clean Install by Marek Stepanek Ok, Sherm, I did reinstall everything now.<br/><br/>% which perl<br/>/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/bin/perl<br/><br/>mysql-5.5.13-osx10.6-x86_64.dmg<br/><br/>and with cpanp<br/><br/>DBI<br/><br/>and manually DBD::mysql<br/><br/>% perl Makefile.PL --testuser=mstep --testpassword=s3kr1t<br/><br/>% make<br/><br/>% make test<br/><br/>with the result:<br/><br/><br/>PERL_DL_NONLAZY=1 /Users/mstep/perl5/perlbrew/perls/perl-5.14.0/bin/perl <br/>&quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#39;blib/lib&#39;, <br/>&#39;blib/arch&#39;)&quot; t/*.t<br/>t/00base.t .................. 1/6<br/># Failed test &#39;use DBD::mysql;&#39;<br/># at t/00base.t line 21.<br/># Tried to use &#39;DBD::mysql&#39;.<br/># Error: Can&#39;t load <br/>&#39;/Users/mstep/.cpanplus/5.14.0/build/DBD-mysql-4.019/blib/arch/auto/DBD/mysql/mysql.bundle&#39; <br/>for module DBD::mysql: <br/>dlopen(/Users/mstep/.cpanplus/5.14.0/build/DBD-mysql-4.019/blib/arch/auto/DBD/mysql/mysql.bundle, <br/>2): Library not loaded: libmysqlclient.18.dylib<br/># Referenced from: <br/>/Users/mstep/.cpanplus/5.14.0/build/DBD-mysql-4.019/blib/arch/auto/DBD/mysql/mysql.bundle<br/># Reason: image not found at <br/>/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/darwin-2level/DynaLoader.pm <br/>line 194.<br/># at (eval 7) line 2<br/># Compilation failed in require at (eval 7) line 2.<br/># BEGIN failed--compilation aborted at (eval 7) line 2.<br/>Bailout called. Further testing stopped: Unable to load DBD::mysql<br/>FAILED--Further testing stopped: Unable to load DBD::mysql<br/>make: *** [test_dynamic] Error 255<br/>[Marek-Stepaneks-MacBook-Pro:5.14.0/build/DBD-mysql-4.019] mstep% which perl<br/>/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/bin/perl<br/><br/><br/>the mysql daemon is running ... Here too this mystic error of DynaLoader <br/>...<br/><br/><br/>marek<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10974.html Sat, 18 Jun 2011 03:53:36 +0000 Re: Clean Install by John Delacour At 10:46 +0200 18/06/2011, Marek Stepanek wrote:<br/><br/>&gt;MIA - I was googeling this abbreviation. Does it mean &quot;Miami<br/>&gt;Dolphins&quot; or &quot;Miami Airport&quot;?<br/><br/>Missing in Action == fatally absent<br/><br/><br/>I thought I&#39;d give myself a little useless suffering by installing <br/>MySQL (the Mac 64-bit .dmg) and then trying to install DBD::mysql <br/>with similar results to yours.<br/><br/>I then tried various supposed solutions to no effect.<br/><br/>Finally I discovered this suggestion and hey presto! success with <br/>both installations:<br/><br/><br/>$ cd /usr/local/bin<br/>$ sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib <br/>/usr/lib/libmysqlclient.18.dylib<br/>$ sudo ./cpan<br/>[...]<br/>cpan[1]&gt; install DBD::mysql<br/>[...]<br/>Appending installation info to <br/>/usr/local/lib/perl5/5.14.0/darwin-2level/perllocal.pod<br/> CAPTTOFU/DBD-mysql-4.019.tar.gz<br/> /usr/bin/make install -- OK<br/>_________________<br/><br/>$ cd<br/>$ sudo cpan<br/>[...]<br/>cpan[1]&gt; install DBD::mysql<br/>[...]<br/>Appending installation info to <br/>/Library/Perl/Updates/5.10.0/darwin-thread-multi-2level/perllocal.pod<br/> CAPTTOFU/DBD-mysql-4.019.tar.gz<br/> /usr/bin/make install -- OK<br/><br/><br/>JD<br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10973.html Sat, 18 Jun 2011 03:42:58 +0000 Re: Clean Install by Marek Stepanek On 6/17/11 11:58 PM, Sherm Pendley wrote:<br/><br/>&gt;<br/>&gt; Don&#39;t shoot the messenger! :-)<br/>&gt;<br/>&gt; DynaLoader is just doing its job and reporting the problem. DBD::mysql<br/>&gt; can&#39;t load, because it&#39;s linked against libmysqlclient.18.dylib, and<br/>&gt; that .dylib is MIA - that&#39;s the problem.<br/>&gt;<br/>&gt; Is MySQL installed in the same place it was when you built DBD::mysql?<br/>&gt;<br/>&gt; sherm--<br/>&gt;<br/><br/><br/>Thank you Sherm!<br/><br/><br/>Yes, first I was installing mysql, 64-bit, immediately after DBI, and <br/>than DBD::mysql, with some dirty tricks (see my first posting). And I <br/>have only one mysql installed on my HD ...<br/><br/> MIA - I was googeling this abbreviation. Does it mean &quot;Miami<br/> Dolphins&quot; or &quot;Miami Airport&quot;? Sorry for this question, but some<br/> times there are not only native speakers in such kind of<br/> mailing list.<br/><br/>Should I start over again, install everything for the 40th time? Perhaps <br/>I should try with use lib ... ??? pointing to the right <br/>libmysqlclient.18.dylib ???<br/><br/><br/>marek<br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10972.html Sat, 18 Jun 2011 01:46:27 +0000 Re: Clean Install by Marek Stepanek On 6/17/11 11:58 PM, John Delacour wrote:<br/>&gt; At 23:34 +0200 17/06/2011, Marek Stepanek wrote:<br/>&gt;<br/>&gt;&gt; Compilation failed in require at (eval 3) line 3.<br/>&gt;&gt; Perhaps a required shared library or dll isn&#39;t installed where expected<br/>&gt;&gt; at intro6.pl line 12<br/>&gt;&gt;<br/>&gt;<br/>&gt; Probably a silly question, but have you installed MySQL?<br/>&gt; &lt;http://www.mysql.com/downloads/mysql/&gt;<br/>&gt;<br/>&gt; I&#39;m afraid I can&#39;t advise since I can&#39;t stand MySQL and find life much<br/>&gt; easier with SQLite.<br/>&gt;<br/>&gt; JD<br/>&gt;<br/><br/>:-) I am meanwhile professional in installing mysql Databases. I am <br/>installing since one year now all possible variants of this software, <br/>32-bit, 64-bit. I am trying same time to install DBI module and <br/>DBD::mysql over it. DBI is installing always without any problem. But <br/>DBD::mysql only with many tricks. And the reason to change my one and a <br/>half year laptop, was also these troubles between 32-bit and 64-bit <br/>software, and all this Perl mess.<br/><br/>Probably you are right: I should learn an other Database. Or should I <br/>switch to PHP?<br/><br/>mysql daemon is running, when I start my script. The Database webdb is <br/>created:<br/><br/>$dbh = DBI-&gt;connect(&quot;DBI:mysql:host=localhost;database=webdb&quot;,<br/>&quot;webdev&quot;,&quot;webdevpass&quot;,<br/><br/>and there are four entries in &quot;teams&quot; ...<br/><br/>$sth = $dbh-&gt;prepare (&quot;SELECT name, wins, losses FROM teams&quot;);<br/><br/><br/>Thank you! Nice weekend!<br/><br/><br/>marek<br/><br/><br/><br/> http://www.nntp.perl.org/group/perl.macosx/2011/06/msg10971.html Fri, 17 Jun 2011 22:20:23 +0000