Hacker News new | past | comments | ask | show | jobs | submit login

Try using cpan to install basic modules like MySQL



I've never gotten CPAN to work reliably with any OS's included copy of Perl. As with Python and Ruby, if you want to use things not available via the OS's package manager, you're best off installing a separate copy.


Use cpanm - Easy bootstrapping documentation here http://search.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/Ap...


Works out of the box on Ubuntu LTS, Raspberry pi hell it even worked back in 2000 on Cygwin out of the box on win2k.


> Works out of the box on Ubuntu LTS

Well, that's one I can personally tell you I've had problems with in the past.

> even worked back in 2000 on Cygwin out of the box on win2k

And also this one. That's even back around the timeframe I was actively doing Perl development while using win2k.


Well I never had problems and the problems I had with mac where with basic stuff like the Perl MySQL DBI.

In the end after seeing the complex work arounds and all the warnings about buggering up your mac OS install I gave up and run a VM.

After all the nice people that employ me want me to do some nifty Machine learning tools to save a week a month running single adwords account.


Well, I've actually tried it with the included OS X Perl, and I can't seem to find a problem.

https://gist.github.com/anonymous/d69f5b0cee13102a9167

So, I've satisfied your request, "Try using cpan to install basic modules like MySQL". I guess that means you admit OS X "can do pretty much any Unix based task that GNU/Linux can"?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: