Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: guest22 on September 30, 2007, 01:34:12 PM
-
Hi,
I need to install Net::LDAP but the when I am trying to use CPAN on the command line, no mirrors are found.
Does anybody know the manual way of installing Net::LDAP please? Detailed instructions are much appreciated!
Thanks,
guest
-
Hi HF
I have installed net::LDAP without problem with CPAN.
cpan> install Net::LDAP
If you want to add a mirror, edit the file /usr/lib/perl5/5.8.5/CPAN/Config.pm and add under urllist.
I you want to regenerate the cpan config file again, delete the same file, and you have prompted to reconfigure again.
I have use the mirror ftp://mirrors.localhost.net.ar/pub/mirrors/CPAN
Net::LDAP package can be found at ftp://mirrors.localhost.net.ar/pub/mirrors/CPAN/authors/Graham_Barr/perl-ldap-0.34.tar.gz
and the readme file ftp://mirrors.localhost.net.ar/pub/mirrors/CPAN/authors/Graham_Barr/perl-ldap-0.34.readme
In the readme file there are instructions about compile and install.
The page about package can be found at http://search.cpan.org/~gbarr/perl-ldap-0.34/lib/Net/LDAP.pod
-
Thanks,
for what it worth, the default (Stock 7.2 with latest updates to date) Config.pm points to:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/
Which doesn't appear to be a valid URL.
Shifting into manual mode as per your instructions. Thanks.
guest
-
MIRRORED.BY because cpan is not properly configurated. Remove Config.pm file, and run cpan again. When you prompted for configuration, hit enter to all prompts. Then, when you have a choice to select a mirror, select near you. Then, you have a choice to enter more than one mirror.
-
I need to install Net::LDAP but the when I am trying to use CPAN on the command line, no mirrors are found.
You are strongly advised not to use CPAN on the command line, but instead to only ever install software packaged as rpms.
In any case, Net::LDAP is already installed, via the perl-LDAP rpm.
-
You are strongly advised not to use CPAN on the command line, but instead to only ever install software packaged as rpms.
In any case, Net::LDAP is already installed, via the perl-LDAP rpm.
Charly, can you tell me where saying in the wiki or forums or bugzilla about not to use cpan?
Maybe I am a silly or stupid boy, because I can't found this rule about cpan.
-
Charly, can you tell me where saying in the wiki or forums or bugzilla about not to use cpan?
Maybe I am a silly or stupid boy, because I can't found this rule about cpan.
I don't claim that it appears anywhere in the places you reference. It's just something I strongly advise you about - and I think it would be a good thing for someone to add to the documentation.
-
I don't claim that it appears anywhere in the places you reference.
Then why you decrease my "Advice given"? And why I can't do the same?
-
maybe open a bug in the documentation for how/when/why to make a perl-foo rpm
possibly unnecessary
http://dag.wieers.com/rpm/packages/ has hundreds of perl-rpms
-+-+-
the developers have always said software should be installed from RPM
from bugzilla
>I agree. Binary packages should be upgraded via RPM
>(possibly via yum on top of that), not via PEAR/CPAN/whatever.
>I've resolving this invalid, since you are not reporting bugs in SME server
>software (you are no longer running SME server software, but some combination
>of SME server software, and perl modules installed via the CPAN shell).
-+-+-
don't worry about the bad advice
It's an honour to be corrected by Charlie ;-)
-
Thanks Snoble to try to make me feel better, but I am not in agreement with the negative vote towards my, or of Charly or God. It is unjust, since in no place something referring is mentioned not to use cpan.
When I gave the answer, in the first place it tries to look for rpm Perl-Net-LDAP and I did not find it, nonwise that it was Perl-LDAP, and for that reason I gave the answer on cpan.
I am very angered and frustrated with the treatment that I am receiving lately on the part of some members of contribs.
Anyway, thank you very much Snoble, you are a good man.
-
I strongly ADVICE to ditch the "advice system"
my 2 cents
regards
Dirk
-
I strongly ADVICE to ditch the "advice system"
my 2 cents
regards
Dirk
And I advice you not to yell and *motivate* why you think so in bug 3389 (http://bugs.contribs.org/show_bug.cgi?id=3389). Perhaps reading the comments there might enlighten you as well :-)
-
It is unjust, since in no place something referring is mentioned not to use cpan.
Please do not take any rating personally. I gave my (personal) opinion about a single piece of advice. I considered it bad. I don't consider you bad, or the advice that you generally give as being bad.
Here's an example of the type of trouble you can get into if you install software other than via RPMs:
http://bugs.contribs.org/show_bug.cgi?id=3442