Re: New to Mac - need help compiling a package

2009-04-28 Thread Chas. Owens
On Tue, Apr 28, 2009 at 12:52, Shai Simchi  wrote:
> I would love to look into this option as well. Do you have any documented
> procedure to share?
snip

It should be as simple as saying

cpan Net::Twitter

The problem is that you must either setup a place that a non-root user
can install to (what I am trying to walk you through) or you must run
it as root.  There are many dangers to running it as root, not the
least of which is the fact that you are modifying stuff that Apple
claims as its own.  If you heard about the recent mess involving the
latest update to OS X breaking Perl, well, that is the sort of thing
that can happen when you install modules as root.  I find it much
better to install as a normal user, that way my modules are safe from
OS updates screwing with them.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.


Re: New to Mac - need help compiling a package

2009-04-28 Thread Jeremiah Foster


On Apr 28, 2009, at 18:52, Shai Simchi wrote:

I would love to look into this option as well. Do you have any  
documented

procedure to share?


Sure, try the command `cpan` on the command line. I think it is pre- 
installed on the Mac. If not, it is not hard to install.


Here is more info on CPAN;
http://theoryx5.uwinnipeg.ca/CPAN/perl/lib/CPAN.html

To install something, i.e. a module. issue this command;
perl -MCPAN -e shell My::Module

Hope that helps, if not, post any questions you have here.

Jeremiah


Thanks,

Shai


On 4/28/09 1:50 AM, "Jeremiah Foster"   
wrote:




On Apr 27, 2009, at 22:23, Shai Simchi wrote:


Hi,
I am new to Mac (not to perl). I have a package Net-
Twitter-2.12.tar.gz
which I want to start using but not sure how to make the package
available
on my perl installation.


Have you looked at installing with CPAN?

Jeremiah








Re: New to Mac - need help compiling a package

2009-04-28 Thread Shai Simchi
I would love to look into this option as well. Do you have any documented
procedure to share?

Thanks,

Shai


On 4/28/09 1:50 AM, "Jeremiah Foster"  wrote:

> 
> On Apr 27, 2009, at 22:23, Shai Simchi wrote:
> 
>> Hi,
>> I am new to Mac (not to perl). I have a package Net-
>> Twitter-2.12.tar.gz
>> which I want to start using but not sure how to make the package
>> available
>> on my perl installation.
> 
> Have you looked at installing with CPAN? 
> 
> Jeremiah




Re: New to Mac - need help compiling a package

2009-04-28 Thread Jeremiah Foster


On Apr 27, 2009, at 22:23, Shai Simchi wrote:


Hi,
I am new to Mac (not to perl). I have a package Net- 
Twitter-2.12.tar.gz
which I want to start using but not sure how to make the package  
available

on my perl installation.


Have you looked at installing with CPAN?

Jeremiah