[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need a little help installing perl module perl-Config-Std for F18 install of ledgersmb-1.3.29



After installing the perl-Config-Std from wieers' repository, and I dig
into some perl subdirectory, I found the following line inside some 
Config/Std/Setting (or so):

"From cpan.org"

That must explain why it still doesnt what it should.

Hold on, I'm still 'playing' with:

export PERL_MM_OPT="BASE_INSTALL=/usr/lib64/perl5";

in /etc/bashrc, then restart (I think with my x86_64 it should be lib64,
no?), and

$ sudo yum install cpan 

AND THAT is where the environment is set to /root/perl5 in /root/.bashrc
(if one answers thoughtlessly [yes] where it asks about it.
I think I could type [yes] there, but then immediately have to replace
/root/perl5 with /usr/lib64/perl5

correct?

Then

$ sudo cpan App::cpanminus

(so the perl 'system' will take care of dependencies).

and then the cpanm

$ sudo cpanm Config::Std

I'll post the result.


ario



On Sun, 2013-02-03 at 01:33 -0800, Chris Travers wrote:
> 
> 
> On Sat, Feb 2, 2013 at 7:42 AM, ario <..hidden..>
> wrote:
>         Ok, so I got a new VM with Fedora 18 minimal install on it,
>         and after
>         getting a copy of ledgersmb-1.3.29-1.noarch.rpm and to prevent
>         any
>         mismatch with CPAN I didn't use it altogether, but instead
>         did:
> 
> 
> Ok, so the best  
>         
>         $ sudo yum install mlocate perl perl-Class-Std
>         perl-ExtUtils-MakeMaker
>         perl-Test-Base perl-Test-Pod perl-Test-Pod-Coverage tar
>         
>         Get repoforge's perl-Config-Std:
>         $ curl
>         http://apt.sw.be/source/perl-Config-Std-0.900-1.rf.src.rpm --O
>         perl-Config-Std-0.900-1.rf.src.rpm
>         
>         $ rpm -Uvh perl-Config-Std-0.900-1.rf.src.rpm
>         $ cd rpmbuild/SOURCES/
>         $ tar xzf Config-Std-0.900-1.tar.gz
>         $ cd Config-Std-0.900
>         $ Makefile.PL
>         $ make
>         $ make test
>         $ sudo make install
>         
>         
>         $ cd ~
>         $ sudo yum localinstall ledgersmb-1.3.29-1.noarch.rpm
>         
>         
>         Then, still it says: Error: ... Requires: perl-Config-Std
>         even where '$ make test' terminated succesfully.
> 
> 
> 
> 
> Hmmm....  so rpm -q perl-Config-Std shows that it is installed but yum
> won't find it?
> 
> 
> Best Wishes,
> Chris Travers 
>         
>         
>         
>         
>         
>         
>         On Sat, 2013-02-02 at 14:04 +0000, ario wrote:
>         > On Thu, 2013-01-31 at 00:10 -0800, Chris Travers wrote:
>         > >
>         > >
>         > > On Wed, Jan 30, 2013 at 9:45 AM, ario
>         <..hidden..>
>         > > wrote:
>         > >         because I can't find it.
>         > >
>         > >         http://ledgersmb.org/download says: Enable the
>         EPEL
>         > >         repository, but I
>         > >         guess this only applies if one wants to install to
>         RHEL and
>         > >         its flavors
>         > >         CentOS & Scientific Linux.
>         > >
>         > >         Installing via cpan's cpanm results in that the
>         module
>         > >         (perl-Config-Std)
>         > >         isn't found by the rpm.
>         > >
>         > >
>         > > Yes, what actually happens is that it gets installed in
>         the local root
>         > > path.
>         > >
>         > >
>         > > The first thing you will have to do is get rid of it where
>         it is
>         > >
>         > >
>         > > for example
>         > >
>         > >
>         > > printenv | grep  PERL_MM_OPT
>         >
>         > returns an empty string
>         >
>         > So I thought let's install 'dag wieers'
>         >
>         http://pkgs.repoforge.org/perl-Config-Std/perl-Config-Std-0.900-1.rf.src.rpm
>         > which claims to be distro-independent.
>         >
>         > Then
>         >
>         > $ sudo rpm -Uvh it, then tar xzg the
>         perl-Config-Std-0.900.tar.gz file
>         >
>         > run
>         >
>         > $ perl Makefile.PL
>         > $ make
>         > $ make test
>         > $ sudo make install
>         > and then
>         > $ sudo yum localinstall ledgersmb-1.3.29-1.noarch.rpm
>         >
>         > But still it's complaining there is no perl-Config-Std
>         >
>         > bummer... what now?
>         >
>         >
>         > > Then delete that directory.
>         > >
>         > >
>         > > Then
>         > >
>         > >
>         > > PERL_MM_OPT=INSTALL_BASE=/usr/lib/perl5 cpan Config::Std
>         > >
>         > >
>         > > and the rest.....
>         > >
>         > >
>         > > Best wishes,
>         > > Chris Travers
>         > >
>         > >         A 'regular' Fedora 18 rpm for perl-Config-Std
>         doesn't show up
>         > >         in Google.
>         > >
>         > >         Any hints?
>         > >
>         > >
>         > >         thanks,
>         > >         ario
>         > >
>         > >
>         > >
>         > >
>         ------------------------------------------------------------------------------
>         > >         Everyone hates slow websites. So do we.
>         > >         Make your web apps faster with AppDynamics
>         > >         Download AppDynamics Lite for free today:
>         > >         http://p.sf.net/sfu/appdyn_d2d_jan
>         > >         _______________________________________________
>         > >         Ledger-smb-users mailing list
>         > >         ..hidden..
>         > >
>         https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>         > >
>         > >
>         ------------------------------------------------------------------------------
>         > > Everyone hates slow websites. So do we.
>         > > Make your web apps faster with AppDynamics
>         > > Download AppDynamics Lite for free today:
>         > > http://p.sf.net/sfu/appdyn_d2d_jan
>         > > _______________________________________________
>         Ledger-smb-users mailing list
>         ..hidden..
>         https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>         >
>         >
>         >
>         >
>         ------------------------------------------------------------------------------
>         > Everyone hates slow websites. So do we.
>         > Make your web apps faster with AppDynamics
>         > Download AppDynamics Lite for free today:
>         > http://p.sf.net/sfu/appdyn_d2d_jan
>         > _______________________________________________
>         > Ledger-smb-users mailing list
>         > ..hidden..
>         >
>         https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>         
>         
>         
>         ------------------------------------------------------------------------------
>         Everyone hates slow websites. So do we.
>         Make your web apps faster with AppDynamics
>         Download AppDynamics Lite for free today:
>         http://p.sf.net/sfu/appdyn_d2d_jan
>         _______________________________________________
>         Ledger-smb-users mailing list
>         ..hidden..
>         https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>         
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users