-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/27/10 12:00 PM, Paul Cantalupo wrote:
>> On 8/27/10 11:46 AM, Paul Cantalupo wrote:
>>
>>> Hello,
>>>
>>> I'm trying to set up my Perl environment on a new Mac Pro with Fink. It
>>> seems that Fink has Data::Stag
>>> (http://pdb.finkproject.org/pdb/package.php/data-stag-pm5100) but when I
>>> try the following, it can't find the package:
>>>
>>>
>>> Titan:~ pgc92$ fink install data-stag-pm5100
>>> Information about 3643 packages read in 0 seconds.
>>> Failed: no package found for specification 'data-stag-pm5100'!
>>>
>>> Titan:~ pgc92$ fink install data-stag-pm5100-0.11-1
>>> Information about 3643 packages read in 0 seconds.
>>> Failed: no package found for specification 'data-stag-pm5100-0.11-1'!
>>>
>>>
>>> What am I doing wrong? Thank you,
>>>
>>> Paul
>>>
>>>
>>>
>>
>> The package database page you referenced shows that the module is only
>> available in the unstable tree.  Did you enable unstable as per
>>
>> http://www.finkproject.org/faq/usage-fink.php?phpLang=en#unstable
>>
>> ?
>>
> 
> No, I didn't know about that.  This begs the question - since I'm new
> to Mac Perl development -  if I should be installing Perl modules from
> Fink or if I should just use CPAN on the command line? What are the
> pros and cons of these methods? Any advice would be appreciated. Thank
> you again,
> 
> Paul
> 

You might prefer CPAN from the command-line if you're _just_ going to be
doing Perl.  There's typically a lag between when packages update from
CPAN and when they get updated in Fink--we don't have an automatic way
to handle that.  Plus, if you install modules which aren't in Fink as
root via CPAN (for stuff we don't have yet), that can be problematic for
other builds if they bring in newer versions of modules which _are_ in
Fink.  I believe installing as a user may be OK (and the cpan-pm5100
package may be helpful in this regard--I mostly get by with the standard
Perl distribution, so I'm not sure)

On the other hand, if you're going to be bringing in non-Perl libraries
for any reason (e.g.  to work on bindings), Fink is superior to the CPAN
CLI in that situation because it tracks _all_ of the dependencies, not
just the Perl modules.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx39IcACgkQB8UpO3rKjQ+7vQCfRMH3/HY4Se51N64acJFJfeP1
rAYAn0xVKOMl1E8MbLGEn7B/+N2GU5YG
=50FU
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to