Re: Best way to install perl modules

2014-10-09 Thread Shlomi Fish
Hi Benjamin, On Thu, 9 Oct 2014 22:11:41 +1300 Benjamin Fernandis wrote: > Hi Shlomi, > > Thanks. I also feel that centos/rhel perl seems brokern in terms of > dependencies issues and some others. You're welcome. Regards, Shlomi Fish -- -

Re: Best way to install perl modules

2014-10-09 Thread Sam
Take note at least on rehl, you have to run 'yum install perl perl-core' to get a full working perl (If I remember right). --Sam On 10/09/2014 04:11 AM, Benjamin Fernandis wrote: Hi Shlomi, Thanks. I also feel that centos/rhel perl seems brokern in terms of dependencies issues and some others

Re: Best way to install perl modules

2014-10-09 Thread Benjamin Fernandis
Hi Shlomi, Thanks. I also feel that centos/rhel perl seems brokern in terms of dependencies issues and some others. Regards On Thu, Oct 9, 2014 at 9:12 PM, Shlomi Fish wrote: > Hi Benjamin, > > On Sun, 5 Oct 2014 17:39:46 +1300 > Benjamin Fernandis wrote: > > > Hi Mike, > > > > Thanks for yo

Re: Best way to install perl modules

2014-10-09 Thread Shlomi Fish
Hi Benjamin, On Sun, 5 Oct 2014 17:39:46 +1300 Benjamin Fernandis wrote: > Hi Mike, > > Thanks for your kind response. I tried cpanm instead of cpan, but many > times, it does not install require dependencies for module. > > For example, when i was trying to install > cpanm XML::SAX -> it fai

Re: Best way to install perl modules

2014-10-06 Thread Kent Fredric
On 7 October 2014 16:07, Benjamin Fernandis wrote: > + Attaching log file. > Lacking Env.pm basically means your vendor's Perl is broken. Env.pm is shipped with Perl itself, and subsequently things may forget to depend on it ( at least, in a way that cpan tools recognise ) and be silently broke

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
+ Attaching log file. On Tue, Oct 7, 2014 at 2:59 PM, Mike wrote: > Please provide us with any errors from the installation log you've > received when using cpanm. > > > On 10/06/2014 08:58 PM, Benjamin Fernandis wrote: > > Hi, > > Today I face same previous problem to install package with cpa

Re: Best way to install perl modules

2014-10-06 Thread Mike
Please provide us with any errors from the installation log you've received when using cpanm. On 10/06/2014 08:58 PM, Benjamin Fernandis wrote: Hi, Today I face same previous problem to install package with cpanm. This time i have already installed Development Tools as suggested by Sam. For

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
Hi, Today I face same previous problem to install package with cpanm. This time i have already installed Development Tools as suggested by Sam. For testing it more, i was trying to install dancer by cpanm. First trial, i got failed and then looked into build log and found some dependent modules

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
Hi, Sam, Thanks, After installing development tools group, it works. Regards Ben On Sun, Oct 5, 2014 at 6:02 PM, Sam wrote: > You probably need to give us more info as both cpan and cpanm will auto > resolve and install needed dependencies. > > The dependency installs could be failing because

Re: Best way to install perl modules

2014-10-04 Thread Sam
You probably need to give us more info as both cpan and cpanm will auto resolve and install needed dependencies. The dependency installs could be failing because a compiler or something similar is missing. If you are on a redhat based system, trying running: yum groupinstall "Development Tool

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
Hi Mike, Thanks for your kind response. I tried cpanm instead of cpan, but many times, it does not install require dependencies for module. For example, when i was trying to install cpanm XML::SAX -> it failed and said no Fatal.pm module , then i manually first installed that module and then i t

Re: Best way to install perl modules

2014-10-04 Thread Mike
Use cpanminus. To install: sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus To use: sudo cpanm Here's the official documentation: http://search.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/App/cpanminus.pm On 10/4/14, 8:32 PM, Benjamin Fernandis wrote: Hi, Many times I face p