Compilation Troubles on OS X 10.7

2011-11-21 Thread Skye Shaw!@#$
I'm running into some problems compiling Perl 5.10.1 on a clean install of OS X 10.7 (Darwin 11), Xcode 4.1 (though the problem is affecting any version of perl I try to build). Configure -d does not find the prototypes for gethostent and shmatprototype. In the case of gethostent, it looks like

Re: New Perl-Installation on new OS X

2011-06-10 Thread David Cantrell
On Thu, Jun 09, 2011 at 12:43:43PM +0200, Marek Stepanek wrote: But perhaps this list could help me, to get @INC and $PERL5LIB clean of /sw ... How is it possible, that I have $PERL5LIB set to %ENV: PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin in [my .profile] I only have one line:

Re: New Perl-Installation on new OS X

2011-06-10 Thread John Delacour
At 11:45 +0100 10/06/2011, David Cantrell wrote: Several fixes come to mind: ... 4. just set PERl5LIB to whatever you fancy after that line. This will, however, mean that you override any changes that may be made to your startup files elsewhere at a later date. What would be the effect

Re: New Perl-Installation on new OS X

2011-06-10 Thread Sherm Pendley
On Fri, Jun 10, 2011 at 10:34 AM, John Delacour j...@bd8.com wrote: At 11:45 +0100 10/06/2011, David Cantrell wrote: Several fixes come to mind: ... 4. just set PERl5LIB to whatever you fancy after that line.  This will,   however, mean that you override any changes that may be made to your

Re: New Perl-Installation on new OS X

2011-06-10 Thread John Delacour
At 10:38 -0400 10/06/2011, Sherm Pendley wrote: What would be the effect of setting a value (or no value) for PERL5LIB in ~/.MacOSX/environment.plist? That plist is for setting up environment variables for GUI apps. It has no effect on shell sessions. Obviously I'm missing something.

Re: New Perl-Installation on new OS X

2011-06-10 Thread Doug McNutt
At 10:38 -0400 6/10/11, Sherm Pendley wrote: On Fri, Jun 10, 2011 at 10:34 AM, John Delacour j...@bd8.com wrote: What would be the effect of setting a value (or no value) for PERL5LIB in ~/.MacOSX/environment.plist? That plist is for setting up environment variables for GUI apps. It has no

Re: New Perl-Installation on new OS X

2011-06-10 Thread Sherm Pendley
On Fri, Jun 10, 2011 at 11:11 AM, John Delacour j...@bd8.com wrote: At 10:38 -0400 10/06/2011, Sherm Pendley wrote:   What would be the effect of setting a value (or no value) for PERL5LIB in  ~/.MacOSX/environment.plist? That plist is for setting up environment variables for GUI apps. It

Re: New Perl-Installation on new OS X

2011-06-10 Thread David Cantrell
On Fri, Jun 10, 2011 at 04:11:43PM +0100, John Delacour wrote: At 10:38 -0400 10/06/2011, Sherm Pendley wrote: What would be the effect of setting a value (or no value) for PERL5LIB in ~/.MacOSX/environment.plist? That plist is for setting up environment variables for GUI apps. It has

Re: New Perl-Installation on new OS X

2011-06-10 Thread John Delacour
At 16:47 +0100 10/06/2011, David Cantrell wrote: Are you using Terminal.app? That's a GUI application, so it takes effect, and is then inherited by the shell. Try sshing into your Mac from elsewhere. Right. I ran a script from cgi-bin on my local server and indeed this key was missing.

RE: New Perl-Installation on new OS X

2011-06-10 Thread Jan Dubois
On Fri, 10 Jun 2011, Sherm Pendley wrote: Yes, but since .profile is evaluated later, whatever it does will override what's set in the plist. Thus, changes in the plist will have no effect on shell sessions that set the same variable. I use this line in my .bash_profile to make sure I use the

Re: New Perl-Installation on new OS X

2011-06-10 Thread Sherm Pendley
- their init.sh used PERL5LIB to add their Perl module directories, which had modules they'd compiled with 5.6 - when Apple then released a version of Mac OS X that used Perl 5.8.1, those Fink-provided modules no longer worked. There was much wailing and gnashing of teeth over Fink breaking Apple's Perl

RE: New Perl-Installation on new OS X

2011-06-10 Thread Jan Dubois
On Fri, 10 Jun 2011, Sherm Pendley wrote: But the question is, should it be done for PERL5LIB? That affects *all* Perls, and if you've included the path to modules compiled for (say) 5.12, but you're running 5.10, those modules won't work. Ah, yes, sorry, lost track of the real topic of the

RE: New Perl-Installation on new OS X

2011-06-10 Thread John Delacour
At 13:21 -0700 10/06/2011, Jan Dubois wrote: I think a better way to modify your @INC is on a per-installation basis. For Apple's Perl you have the AppendToPath and PrependToPath mechanism... There is no PrependToPath file by default, but you can create one yourself, and all directories listed

Re: New Perl-Installation on new OS X

2011-06-09 Thread Marek Stepanek
On 09.06.2011 05:38, Sherm Pendley wrote: I'm probably over-cautious, but I never migrate - I always format and make a clean install, then do a clean install of all my apps. I back up my home directory, and copy it over, which preserves all my personal preferences and such. sherm-- Sherm,

Re: New Perl-Installation on new OS X

2011-06-09 Thread Sherm Pendley
for the system Perl to be able to see modules that Fink had installed under /sw/lib. I haven't used Fink in a while - I switched to MacPorts - but I *thought* they stopped doing that after a few Mac OS X releases, each with a new version of Perl that disagreed with those modules, showed them how problematic

Re: New Perl-Installation on new OS X

2011-06-09 Thread Daniel Staal
--As of June 8, 2011 5:39:57 PM -0400, Sherm Pendley is alleged to have said: Blaming other people for your ignorance is a habit with you, isn't it? Yes, I'm responsible for who *I* send emails to. I'm not responsible for who the list sends emails to. A correctly-configured list will look at

Re: New Perl-Installation on new OS X

2011-06-09 Thread Sherm Pendley
On Thu, Jun 9, 2011 at 7:40 AM, Daniel Staal dst...@usa.net wrote: Suffice it to say, if someone asks you to not CC them when you send to the list, it's polite not to.  (At least for that discussion.) In general, I'd agree - but I also think it's appropriate to consider the tone reason for

Re: New Perl-Installation on new OS X

2011-06-09 Thread Marek Stepanek
Thank you Sherm! This is a step in the right direction. But my cpanplus Perl is still broken, with messages like: Unable to create a new distribution object for 'Archive::Tar', although I have no /sw in the %ENV or @INC any more. % perl -V even does not show a %ENV at all. This is

Re: New Perl-Installation on new OS X

2011-06-09 Thread Vic Norton
* they stopped doing that after a few Mac OS X releases, each with a new version of Perl that disagreed with those modules, showed them how problematic that was. If you've been migrating for a while, that line in .profile could be a remnant from an old install. At any rate, delete (# or comment

Re: New Perl-Installation on new OS X

2011-06-09 Thread John Delacour
At 16:14 +0100 09/06/2011, Marek Stepanek wrote: Probably I will leave the apple Perl it as it is, and make a new install of perl-5.14.0 under /usr/local That is what I do, so that the two installations are independent. I configure simply like this: cd downloaded_directory ./Configure -de

Re: New Perl-Installation on new OS X

2011-06-09 Thread Charlie Garrison
Good morning, On 9/06/11 at 4:40 PM +0100, John Delacour j...@bd8.com wrote: One thing to remember, of course, is that to add modules with cpan to 5.14.0 so configured, rather than to Apple's installation, you need to cd /usr/local/bin; sudo ./cpan I haven't followed all of this thread

Re: New Perl-Installation on new OS X

2011-06-09 Thread Sherm Pendley
On Thu, Jun 9, 2011 at 8:14 AM, Marek Stepanek marekstepa...@yahoo.co.uk wrote: Thank you Sherm! This is a step in the right direction. But my cpanplus Perl is still broken, with messages like: Unable to create a new distribution object for 'Archive::Tar', although I have no /sw in the

Re: New Perl-Installation on new OS X

2011-06-09 Thread Sherm Pendley
On Thu, Jun 9, 2011 at 10:55 AM, Vic Norton v...@norton.name wrote: I recently installed Fink to see if it had pdffonts. This conversation has scared me; I have uninstalled Fink. I certainly don't want to start looking for Perl modules in /sw. Fear is the mind-killer. :-) Understanding what

Re: New Perl-Installation on new OS X

2011-06-09 Thread Sherm Pendley
On Thu, Jun 9, 2011 at 11:54 AM, Charlie Garrison garri...@zeta.org.au wrote: Good morning, I haven't followed all of this thread (it was digressing there for a while). Would perlbrew be a solution for the OP. I've only been using it a short while but it makes installing and using a custom

Re: New Perl-Installation on new OS X

2011-06-09 Thread Wayne Brissette
I haven't followed all of this thread (it was digressing there for a while). Would perlbrew be a solution for the OP. I've only been using it a short while but it makes installing and using a custom perl very simple. I installed the preconfigured version from active state recently and was

Re: New Perl-Installation on new OS X

2011-06-09 Thread Chas. Owens
On Thu, Jun 9, 2011 at 13:22, Sherm Pendley sherm.pend...@gmail.com wrote: On Thu, Jun 9, 2011 at 11:54 AM, Charlie Garrison garri...@zeta.org.au wrote: Good morning, I haven't followed all of this thread (it was digressing there for a while). Would perlbrew be a solution for the OP. I've

New Perl-Installation on new OS X

2011-06-08 Thread Marek Stepanek
Hello all! I have a new laptop. Apparently my Perl-Installation has problems. I tried to update all outdated modules with cpanplus; but I get on many, not all, modules error-messages, like: Unable to create a new distribution object for 'HTML::Entities' or format not a

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 10:02 AM, Marek Stepanek marekstepa...@yahoo.co.uk wrote: I have a new laptop. Congrats! I have a new iMac, so I know the feeling. :-)        1) The complier 'gcc-4.2' is not in your PATH. Add it        to the PATH and try again. OR        2) The compiler isn't

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 16:02 +0200 08/06/2011, Marek Stepanek wrote: ...So, gcc seems to be al right. Is it possible, that the migration assistant has mixed up, 32bit compiled modules with 64bit? Or is there a confusion with the Perl of Fink? Here my Perl: Built under darwin Compiled at Jan 26 2010

Re: New Perl-Installation on new OS X

2011-06-08 Thread Marek Stepanek
On 08.06.2011 17:31, John Delacour wrote: At 16:02 +0200 08/06/2011, Marek Stepanek wrote: ...So, gcc seems to be al right. Is it possible, that the migration assistant has mixed up, 32bit compiled modules with 64bit? Or is there a confusion with the Perl of Fink? Here my Perl: Built under

Re: New Perl-Installation on new OS X

2011-06-08 Thread Marek Stepanek
On 08.06.2011 18:03, Melton Low wrote: xCode 4 should have been included with your new Mac. Check in the Optional Application install disc. Mel Not here in Germany :-( In old times there was XCode on the optional installer DVD. Now there are only toys: iDVD, Sound Jingles, iPhoto ...

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 11:31 AM, John Delacour j...@bd8.com wrote: I think you're going to have trouble until you get rid of everything Fink has installed and everything it's changed in /usr/bin. Fink neither changes nor installs anything in /usr/anything. It's all under /sw. sherm-- --

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 17:55 +0200 08/06/2011, Marek Stepanek wrote: gcc-4.2 was installed with the latest XCode 4.0.2 Is Fink installing into /usr/bin ? Or is it a misunderstanding? I have both gcc-4.0 and gcc-4.2 in /usr/bin but gcc points to gcc-4.0. I have Xcode version 3.2.6 and I see in Get Info that

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 18:16 +0200 08/06/2011, Marek Stepanek wrote: On 08.06.2011 18:03, Melton Low wrote: xCode 4 should have been included with your new Mac. Check in the Optional Application install disc. XCode 4 is only for bleeding-edge developers. Not here in Germany :-( In old times there was XCode

Re: New Perl-Installation on new OS X

2011-06-08 Thread Melton Low
xCode 4 should have been included with your new Mac. Check in the Optional Application install disc. Mel On Wed, Jun 8, 2011 at 9:55 AM, Marek Stepanek marekstepa...@yahoo.co.ukwrote: On 08.06.2011 17:31, John Delacour wrote: At 16:02 +0200 08/06/2011, Marek Stepanek wrote: ...So, gcc

Re: New Perl-Installation on new OS X

2011-06-08 Thread Melton Low
I had a similar problem with my new MacBook Pro but I haven't had the time to look into it further. I use MacPort and I ended up deleting everything from MacPort before re-installing everything. As for deleting Perl from /usr/bin that is a VERY BAD IDEA. That came as part of the Apple OS so

Re: New Perl-Installation on new OS X

2011-06-08 Thread rd ackerman
On Jun 8, 2011, at 10:33 AM, John Delacour wrote: At 18:16 +0200 08/06/2011, Marek Stepanek wrote: On 08.06.2011 18:03, Melton Low wrote: xCode 4 should have been included with your new Mac. Check in the Optional Application install disc. XCode 4 is only for bleeding-edge developers.

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 10:54 -0700 08/06/2011, rd ackerman wrote: On Jun 8, 2011, at 10:33 AM, John Delacour wrote: If it's not on the disk you can get it free from http://developer.apple.com/devcenter/mac/index.action provided you are a member -- and this grade of membership is free. xcode4 is only

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 1:16 PM, John Delacour j...@bd8.com wrote: I have been thinking so all day after watching the announcement of iCloud, a complete non-happening designed, like everything Apple, for shop-happy groupees.  It is free, up to a point, once you have bought your latest Mac,

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 11:49 AM, Melton Low softw.d...@gmail.com wrote: I use MacPort and I ended up deleting everything from MacPort before re-installing everything. A pointless exercise - Like Fink, MacPorts doesn't touch /usr. Everything relevant to MacPorts is found under /opt/local.

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 15:18 -0400 08/06/2011, Sherm Pendley wrote: On Wed, Jun 8, 2011 at 11:49 AM, Melton Low softw.d...@gmail.com wrote: I use MacPort and I ended up deleting everything from MacPort before re-installing everything. A pointless exercise - Like Fink, MacPorts doesn't touch /usr. Everything

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 3:40 PM, John Delacour j...@bd8.com wrote: At 15:18 -0400 08/06/2011, Sherm Pendley wrote: On Wed, Jun 8, 2011 at 11:49 AM, Melton Low softw.d...@gmail.com wrote:  I use MacPort and I ended up deleting everything from MacPort before  re-installing everything. A

Re: New Perl-Installation on new OS X

2011-06-08 Thread John Delacour
At 16:17 -0400 08/06/2011, Sherm Pendley wrote: No. I'm saying that there are *many* ways to influence @INC without bothering any files under /usr. PERL5LIB, for one. I'm sure that's very clear to everyone who already knows what you are talking about. Are you saying that by editing

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 5:20 PM, John Delacour j...@bd8.com wrote: At 16:17 -0400 08/06/2011, Sherm Pendley wrote: PERL5LIB, for one. I'm sure that's very clear to everyone who already knows what you are talking about.  Are you saying that by editing ~/.bashrc or some such file one could

Re: New Perl-Installation on new OS X

2011-06-08 Thread Sherm Pendley
On Wed, Jun 8, 2011 at 11:55 AM, Marek Stepanek marekstepa...@yahoo.co.uk wrote: offtopicMy new laptop was a not really cheap: 2600 Euros Ouch! At the current rate, that translates to roughly $3800 USD - $1400 more than the highest-price MacBook Pro in the US store. I wonder, how much of that

Re: MacPerl Script on OS X

2008-08-27 Thread Eberhard Lisse
Actually, if g5hd is a mounted (external) hard drive than the /Volumes/gh5d is required. If it's the root, than it's not. el on 8/23/08 5:33 PM Doug McNutt said the following: At 08:43 +0100 8/23/08, Eberhard Lisse wrote: [...] open (TRANS, /Volumes/g5hd/newScansImages/trans) or die

Re: MacPerl Script on OS X

2008-08-23 Thread Eberhard Lisse
Ben, on 2/29/08 7:15 PM Jay Savage said the following: On Thu, Feb 28, 2008 at 7:13 PM, Ben Crane [EMAIL PROTECTED] wrote: Thanks for your response copied below. I really don't want to go to Perl 5.x and all that newfangled stuff. This can only be described as really shortsighted. Not only

Re: MacPerl Script on OS X

2008-08-23 Thread Doug McNutt
At 08:43 +0100 8/23/08, Eberhard Lisse wrote: 7 open (trans, g5hd:newScansImages:trans) or die Error, can't open; open (TRANS, /Volumes/g5hd/newScansImages/trans) or die Error can't open $!\n; Be really careful about that /Volumes/ directory. Apple uses it as a mount point for external

Re: MacPerl Script on OS X

2008-02-29 Thread Dominic Dunlop
On 2008–02–28, at 22:52, Jay Savage wrote: On Thu, Feb 28, 2008 at 4:03 PM, Ben Crane [EMAIL PROTECTED] wrote: I have a Perl 4.X script that runs using MacPerl in Classic on my G5 Mac but I can't get it to run using Perl in 10.4.11. What do I need to do to make it run? Thanks for any

Re: MacPerl Script on OS X

2008-02-29 Thread Jay Savage
Hi Ben, First, you rinstinct to convert to OS X/unix-style filenames was correct. Second, you'll want to add $! to your die messages. That will tell you *why* the operation failed: open (trans, g5hd:newScansImages:trans) or die Error, can't open: $!; In this case, it's probably because

MacPerl Script on OS X

2008-02-28 Thread Ben Crane
I have a Perl 4.X script that runs using MacPerl in Classic on my G5 Mac but I can't get it to run using Perl in 10.4.11. What do I need to do to make it run? Thanks for any suggestions. -- Ben Crane The Trade Card Placehttp://www.tradecards.com PO Box 4885

Re: MacPerl Script on OS X

2008-02-28 Thread John Delacour
At 15:03 -0600 28/2/08, Ben Crane wrote: I have a Perl 4.X script that runs using MacPerl in Classic on my G5 Mac but I can't get it to run using Perl in 10.4.11. What do I need to do to make it run? What errors do you get if you try to run it in BBEdit? JD

Re: MacPerl Script on OS X

2008-02-28 Thread Jay Savage
On Thu, Feb 28, 2008 at 4:03 PM, Ben Crane [EMAIL PROTECTED] wrote: I have a Perl 4.X script that runs using MacPerl in Classic on my G5 Mac but I can't get it to run using Perl in 10.4.11. What do I need to do to make it run? Thanks for any suggestions. Upgrade it work with Perl 5.x ;)

Re: MacPerl Script on OS X

2008-02-28 Thread Doug McNutt
At 16:52 -0500 2/28/08, Jay Savage wrote: On Thu, Feb 28, 2008 at 4:03 PM, Ben Crane [EMAIL PROTECTED] wrote: I have a Perl 4.X script that runs using MacPerl in Classic on my G5 Mac but I can't get it to run using Perl in 10.4.11. What do I need to do to make it run? Thanks for any

Re: Detecting OS X version from perl

2007-11-19 Thread brian d foy
In article [EMAIL PROTECTED], Michael Barto [EMAIL PROTECTED] wrote: Everyone has suggested system_profiler for the hardware stuff. But it appears that I will need do some parsing with $ grep -A1 'BundleShortVersion' /Library/Receipts/*.pkg/Contents/version.plist | grep string Why are

Re: Detecting OS X version from perl

2007-11-18 Thread kurtz le pirate
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Chris Devers) wrote: Quick report: $ system_profiler -detailLevel mini Obsessive detail report: $ system_profiler -detailLevel full a little more precise if use system_profiler : system_profiler SPSoftwareDataType|grep

Re: Detecting OS X version from perl

2007-11-18 Thread Peter N Lewis
At 17:52 -0700 15/10/07, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (David Cantrell) wrote: ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4. This is nice in that it doesn't depend on external processes (sw_vers, Finder)

Re: Detecting OS X version from perl

2007-11-18 Thread Michael Barto
Everyone has suggested "system_profiler" for the hardware stuff. But it appears that I will need do some parsing with $ grep -A1 'BundleShortVersion' /Library/Receipts/*.pkg/Contents/version.plist | grep string On Solaris you have pkginfo, in HP you have "swlist" and Linux you need to use

Re: Detecting OS X version from perl

2007-11-17 Thread Eberhard Lisse
think of to detect which major version of OS X my perl code is running on? ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4. This is nice in that it doesn't depend on external processes (sw_vers, Finder) or files. use Mac::Gestalt qw(%Gestalt

Re: Detecting OS X version from perl

2007-11-17 Thread Peter Hartmann
On my 800Mhz Dual Processor PPC the AS command system info returns the correct version (10.4.11). Am 17.11.2007 um 12:21 schrieb Eberhard Lisse: Very Cool, on my iMini Gestalt says it's 10.4.9 osascript/fider says 10.4.7 I guess this is the version for the application Finder, not the OS!

Re: Detecting OS X version from perl

2007-11-17 Thread Michael Barto
Just a quick question. Is there a command line at a terminal window of MacOSX that can do this- tell you more about the hardware? Also list software packages and their revisions and also patches? Peter Hartmann wrote: On my 800Mhz Dual Processor PPC the AS command system info

Re: Detecting OS X version from perl

2007-11-17 Thread Larry Prall
Try 'system_profiler'. Running it as 'system_profiler -detaillevel full' will probably provide more information than you really need. Run it with an unrecognized option (e.g. '-help') for more info. On Nov 17, 2007, at 7:37 PM, Michael Barto wrote: Just a quick question. Is there a

Re: Detecting OS X version from perl

2007-11-17 Thread Chris Devers
On Nov 17, 2007, at 7:37 PM, Michael Barto wrote: Just a quick question. Is there a command line at a terminal window of MacOSX that can do this- tell you more about the hardware? Quick report: $ system_profiler -detailLevel mini Obsessive detail report: $ system_profiler

Re: Detecting OS X version from perl

2007-10-15 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (David Cantrell) wrote: Is there any simple way that people can think of to detect which major version of OS X my perl code is running on? ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4

Detecting OS X version from perl

2007-10-14 Thread David Cantrell
Is there any simple way that people can think of to detect which major version of OS X my perl code is running on? ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4. -- David Cantrell | Hero of the Information Age I caught myself pulling grey hairs

Re: Detecting OS X version from perl

2007-10-14 Thread Edward Moy
version of OS X my perl code is running on? ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4. -- David Cantrell | Hero of the Information Age I caught myself pulling grey hairs out of my beard. I'm definitely not going grey, but I am going vain.

Re: Detecting OS X version from perl

2007-10-14 Thread John Delacour
At 17:29 +0100 14/10/07, David Cantrell wrote: Is there any simple way that people can think of to detect which major version of OS X my perl code is running on? ie whether it's 10.0, 10.1 etc, I don't care about the difference between 10.3.3 and 10.3.4. print `osascript -e 'tell app Finder

Re: Detecting OS X version from perl

2007-10-14 Thread David Cantrell
On Sun, Oct 14, 2007 at 10:45:30AM -0700, Edward Moy wrote: % perl -e 'chomp($vers = `sw_vers -productVersion`); print $vers\n' That will get you either 10.x or 10.x.y. You just need to strip off the .y if it is there. Perfect, thanks! -- David Cantrell | Nth greatest programmer in the

Re: Detecting OS X version from perl

2007-10-14 Thread Chris Devers
On Oct 14, 2007, at 6:56 PM, David Cantrell [EMAIL PROTECTED] wrote: On Sun, Oct 14, 2007 at 10:45:30AM -0700, Edward Moy wrote: % perl -e 'chomp($vers = `sw_vers -productVersion`); print $vers\n' That will get you either 10.x or 10.x.y. You just need to strip off the .y if it is there.

File::Path rmtree portability (works on OS X, fails on WinXP)

2007-09-28 Thread Jim
I have a bit of a curiosity here with a script I've been working on and am hoping that some others may have experienced and found a solution to a similar script portability issue. The script in question is intended to run on OS X Perl and WinXP ActiveState PERL. It seems simple enough 1

Re: File::Path rmtree portability (works on OS X, fails on WinXP)

2007-09-28 Thread Ken Williams
removal use File::Path; rmtree $buildDir,1,0; } Everything works as expected on OS X, but on WinXP, rmtree seems to fail with the following error... Can't call method rmtree without a package or object reference The problem is because of a different version

Re: Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6

2007-09-20 Thread Ricardo SIGNES
* [EMAIL PROTECTED] [2007-09-19T18:51:25] Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6 What versions of the modules listed here in PREREQ do you have? http://search.cpan.org/src/RJBS/Email-MIME-Modifier-1.442/Makefile.PL -- rjbs

Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6

2007-09-20 Thread macosx . perl . org
Thanks Bernhard On 20.09.2007, at 19:05, Ricardo SIGNES wrote: * [EMAIL PROTECTED] [2007-09-19T18:51:25] Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6 What versions of the modules listed here in PREREQ do you have? http://search.cpan.org/src/RJBS/Email-MIME

Re: Problem with installing DBD::MySQL (Mac OS X 10.4.10)

2007-09-20 Thread David Cantrell
Anthony Armstrong wrote: I attempted to install DBD::MySQL from the CPAN repositories. I received a ton of errors seen below: Can't exec mysql_config: No such file or directory at Makefile.PL line 76. Find mysql_config and put it in the $PATH, either by modifying $PATH or creating a

Problem with installing DBD::MySQL (Mac OS X 10.4.10)

2007-09-19 Thread Anthony Armstrong
, 7.14% okay. 423/426 subtests failed, 0.70% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK su: mysql_config: command not found The install failed along with nearly 100% of the test failing. I am running Mac OS X 10.4.10 on a PowerBook G4 with Perl 5.8.6 installed

Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6

2007-09-19 Thread macosx . perl . org
Problems installing Email::MIME::Modifier on Mac OS X Darwin 8.10.1, Perl 5.8.6 Find below: 1. OUTPUT OF CPAN 2. MY PERL CONFIG 3. UNAME -A 4. CPAN-Testers Thanks for your help Bernhard 1. OUTPUT OF CPAN - Running install for module 'Email::MIME::Modifier' Running make for R/RJ

Re: CGI to OS X?

2007-03-20 Thread Bill Stephenson
On Nov 5, 2005, at 7:21 PM, Bill Stephenson wrote: If there were a perl module that could let perl CGI scripts interact with a native Mac OS X window, that displayed web formated content like Safari (or perhaps a hacked FireFox), but also gave you access to the Main Menu, then any web

Re: GnuPG::Interface module on OS X

2006-09-24 Thread Wiggins d'Anconia
Dennis Putnam wrote: Although I don't think this is an OS X specific issue I can't find any place to seek help (there seems to be a GnuPG list but it is defunct or inactive). If someone knows of a better resource please let me know. I have installed GnuPG on a Tiger (10.4.7) server

Re: GnuPG::Interface module on OS X

2006-09-20 Thread Joel Rees
On 2006/09/20, at 2:45, Dennis Putnam wrote: Although I don't think this is an OS X specific issue I can't find any place to seek help (there seems to be a GnuPG list but it is defunct or inactive). If someone knows of a better resource please let me know. I have installed GnuPG

Re: GnuPG::Interface module on OS X

2006-09-20 Thread Dennis Putnam
wrote: Although I don't think this is an OS X specific issue I can't find any place to seek help (there seems to be a GnuPG list but it is defunct or inactive). If someone knows of a better resource please let me know. I have installed GnuPG on a Tiger (10.4.7) server and it seems

GnuPG::Interface module on OS X

2006-09-19 Thread Dennis Putnam
Although I don't think this is an OS X specific issue I can't find any place to seek help (there seems to be a GnuPG list but it is defunct or inactive). If someone knows of a better resource please let me know. I have installed GnuPG on a Tiger (10.4.7) server and it seems

Re: Has anyone built Math::Pari on OS X 10.4.7

2006-08-07 Thread Boysenberry Payne
A couple more notes, maybe these will jog something in someone: I can connect using Net::SSH::Perl via protocol 1, just not 2; which as someone pointed out uses Math::Pari, the mod I can't get to 'make test' correctly. I'm guessing protocol 1 relies on GMP, which I did get to 'make check'

Re: Has anyone built Math::Pari on OS X 10.4.7

2006-08-06 Thread Boysenberry Payne
It seems to list [EMAIL PROTECTED] for Math:Pari I'll try emailing it... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Aug 6, 2006, at 3:32 PM, Michael Barto wrote: Do not you think we should be reporting these error to the people who are maintaining this

Fwd: DBD::mysql OS X

2006-08-03 Thread Jay Savage
nd again with the reply-to. -- Forwarded message -- From: Jay Savage [EMAIL PROTECTED] Date: Aug 3, 2006 10:40 AM Subject: Re: DBD::mysql OS X To: Walter Copenhaver [EMAIL PROTECTED] On 8/3/06, Walter Copenhaver [EMAIL PROTECTED] wrote: Hello, Has someone manage

Re: DBD::mysql OS X

2006-08-03 Thread Sherm Pendley
On Aug 3, 2006, at 10:41 AM, Jay Savage wrote: On 8/3/06, Walter Copenhaver [EMAIL PROTECTED] wrote: Hello, Has someone manage to install DBD::mysql in Mac X Tiger. Can anyone point me to a tutorial or how to do this. Thanks Walter, Can you tell us specifically what problems you're

Re: DBD::mysql OS X

2006-08-03 Thread Jay Savage
On 8/3/06, Sherm Pendley [EMAIL PROTECTED] wrote: On Aug 3, 2006, at 10:41 AM, Jay Savage wrote: The only caveat I can think of is that the tests assume you're installing DBD::mysql against a fresh MySQL installation with the root password still unset. They assume no such thing. They

Re: DBD::mysql OS X

2006-08-03 Thread Sherm Pendley
On Aug 3, 2006, at 2:02 PM, Jay Savage wrote: On 8/3/06, Sherm Pendley [EMAIL PROTECTED] wrote: On Aug 3, 2006, at 10:41 AM, Jay Savage wrote: The only caveat I can think of is that the tests assume you're installing DBD::mysql against a fresh MySQL installation with the root password

FYI: Mac OS X Technology Guide to Spotlight

2006-03-09 Thread Rich Morin
David Hill and I are pleased to announce that our new eBook Mac OS X Technology Guide to Spotlight Rich Morin and David Hill SpiderWorks, 2006, ISBN 0-9777842-4-X is now available. I wrote the overview material and the chapter on Query Strings. David covered the programming issues

Re: CGI to OS X?

2006-03-05 Thread Bill Stephenson
On Nov 5, 2005, at 5:18 PM, Bill Stephenson wrote: I have a web based app that I've developed on my MacOS X desktop snip I was poking around and found this: http://developer.mozilla.org/en/docs/XUL Very interesting Kindest Regards, -- Bill

help: SIGALRM on OS X

2006-01-10 Thread Chris
Hello, I'm pretty much a newbie when it comes to Mac OS X so go easy on me. I have a Perl applicaton that communicates with the Asterisk VoIP phone system through AGI (Asterisk Gateway Interface) very similar to CGI. Asterisk starts my perl application and the two communicate over STDIN

Re: CPAN modules not included with OS X

2005-12-30 Thread Joseph Alotta
On Dec 29, 2005, at 8:06 PM, Joel Rees wrote: Maybe it would help to tell you it ain't that simple? To mention openssl again, it can be installed in a variety of places, and it depends in part on where other things you may have installed might have wanted to put the packages they depend

Re: CPAN modules not included with OS X

2005-12-30 Thread Ken Williams
On Dec 29, 2005, at 7:03 PM, James Reynolds wrote: Grumble. That is exactly what I wanted to know! Thanks! Does CPAN install C libraries to /usr/local/lib or somewhere else? I could search for all new files right after a CPAN install. Anything that gets installed during 'make install'

Re: CPAN modules not included with OS X

2005-12-30 Thread Joel Rees
On 2005.12.31, at 02:01 AM, Joseph Alotta wrote: On Dec 29, 2005, at 8:06 PM, Joel Rees wrote: Maybe it would help to tell you it ain't that simple? To mention openssl again, it can be installed in a variety of places, and it depends in part on where other things you may have installed

CPAN modules not included with OS X

2005-12-29 Thread James Reynolds
Does anyone know why Apple chooses or not chooses to include modules? I really dislike installing them. And more and more I find I need to. So how would I go about pressuring Apple to include more. -- Thanks, James Reynolds University of Utah Student Computing Labs [EMAIL PROTECTED]

Re: CPAN modules not included with OS X

2005-12-29 Thread Chris Devers
On Thu, 29 Dec 2005, James Reynolds wrote: Does anyone know why Apple chooses or not chooses to include modules? I really dislike installing them. And more and more I find I need to. So how would I go about pressuring Apple to include more. No vendor includes a full CPAN library with the

Re: CPAN modules not included with OS X

2005-12-29 Thread James Reynolds
is impossible anyway. Hm. I really do not want to install the Dev Tools on my Mac OS X Server boxes. I have been getting around this by installing the files on a client machine and coping them to the servers, but I don't believe this is ideal. Does anyone know what problems I could be causing

Re: CPAN modules not included with OS X

2005-12-29 Thread Adrian Hosey
On Thu, 29 Dec 2005, James Reynolds wrote: : : Hm. I really do not want to install the Dev Tools on my Mac OS X Server : boxes. I have been getting around this by installing the files on a client : machine and coping them to the servers, but I don't believe this is ideal. : Does anyone know

RE: CPAN modules not included with OS X

2005-12-29 Thread Jan Dubois
install -- new ones appear daily, so keeping up is impossible anyway. Hm. I really do not want to install the Dev Tools on my Mac OS X Server boxes. I have been getting around this by installing the files on a client machine and coping them to the servers, but I don't believe this is ideal

Re: CPAN modules not included with OS X

2005-12-29 Thread Joel Rees
Get used to CPAN. You aren't going to find a vendor that provides a full CPAN install -- new ones appear daily, so keeping up is impossible anyway. Hm. I really do not want to install the Dev Tools on my Mac OS X Server boxes. Why not? I'm not suggesting you install the dev tools

Re: CPAN modules not included with OS X

2005-12-29 Thread Danny Hembree
Many modules link to C libraries that must be installed as well. Simply copying the Perl directory over won't get everything that is needed. On Thu, 2005-12-29 at 13:05, James Reynolds wrote: Does anyone know why Apple chooses or not chooses to include modules? I really dislike installing

  1   2   3   4   5   6   >