[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



I was able to build the various RPMs needed to get perl-Config-Std to 
work as an RPM.
If someone wants I can post them both the RPMs and SRPMs.

I can now localinstall ledgersmb.
I have not tested it  but it installs without complaint.

On 02/04/2013 11:13 AM, ario wrote:
> I was trying to install lsmb on an F18 VM.
>
> Now yum install perl-Config-Std didn't work for me because I wasn't able
> to find *any* F18 repository which would me let install it.
>
> So I tried your 2nd suggestion: cpanm Config::Std but that, even after
> following the suggestions from this list in this same thread, still
> resulted in complaints from
> yum localinstall ledgersmb-1.3.29-1.noarch.rp
> saying that it can't find (or rather: needs) Config::Std.
>
> So I'm quite at a loss here, unless you could point me to a
> F18-repository that contains perl-Config-Std, which would be very
> welcome.
>
> regards,
> ario
>
>
> On Mon, 2013-02-04 at 14:07 +0000, Lyle wrote:
>> No, I'm not on F18. But as a Perl programmer I install a lot of Perl
>> modules.
>>
>>
>> Lyle
>>
>> On 04/02/2013 13:42, ario wrote:
>>
>>> Hi Lyle,
>>>
>>> did you actually try that? :)
>>>
>>> regards,
>>> ario
>>>
>>>
>>> On Sun, 2013-02-03 at 16:52 +0000, Lyle wrote:
>>>> yum perl-Config-Std
>>>>
>>>> failing that
>>>>
>>>> cpan Config::Std
>>>>
>>>>
>>>> Lyle
>>>>
>>>> On 03/02/2013 16:28, ario wrote:
>>>>> It just doesn't get to work.
>>>>> It *keeps* complaining that it can't find Config::Std.
>>>>>
>>>>> I don't know enough of perl and of lsmb to solve this.
>>>>> But o.t.o.h. I feel it shouldn't be as hard as it is now to install lsmb
>>>>> in F18, should it?
>>>>>
>>>>> ario
>>>>>
>>>>>
>>>>>
>>>>> On Sun, 2013-02-03 at 11:11 +0000, ario wrote:
>>>>>> 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
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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


-- 
Alvin Starr                   ||   voice: (416)585-9971x690
Interlink Connectivity        ||   fax:   (416)585-9974
..hidden..              ||


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users