[rt-users] RT::Extension::LDAPImport install fails

Kevin Falcone falcone at bestpractical.com
Thu May 26 11:55:48 EDT 2011


On Thu, May 26, 2011 at 02:59:05PM +0100, Giuseppe Sollazzo wrote:
> The reason I answered "n" is that if I try and install the test
> package I get the following output (even if I try the install
> separately):
> 
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-load.t ....... 1/1 # Testing Net::LDAP::Server::Test 0.10, Perl
> 5.008008, /usr/bin/perl
> t/00-load.t ....... ok
> t/01-ldap.t ....... 1/12 Creating new LDAP server on port 10636 ...
> Accepted connection from: 127.0.0.1
> Creating new LDAP server on port 10636 ...
> Unable to listen on port 10636: Address already in use at /root/.cpan/build/Net-LDAP-Server-Test-0.10/blib/lib/Net/LDAP/Server/Test.pm
> line 844.
>  ... shutting down server

This is a random port, so either you have a conflict on the random
port it chose, or some other restriction from your OS.

You do understand that the test suite will need to create an rt3test
database and put data in it?

I suspect that you really do not want to run the test suite, and we'll
release an update that moves them to author tests.

I still suggest a manual installation since it will make it easier for
you to review the README

-kevin

> After which it stops there and never returns to prompt nor proceeds
> to the actual install of LDAPImport. I'm still happy to run through
> cpan rather than tarball so if you have any idea how to sort this
> out that would be awesome.
> 
> Many thanks,
> Giuseppe
> 
> On 26/05/11 14:41, Kevin Falcone wrote:
> >On Thu, May 26, 2011 at 01:58:00PM +0100, Giuseppe Sollazzo wrote:
> >>Hi,
> >>I'm trying to install LDAPImport and I'm stuck with an error which I
> >>can't properly understand stating " You tried to plan twice".
> >>Can anyone give me a hint?
> >This module is required to run the tests:
> >
> >>- Net::LDAP::Server::Test ...missing.
> >>==>  Auto-install the 1 optional module(s) from CPAN? [n] n
> >But you didn't install it, so they aren't going to work.
> >
> >If you want to run the tests, install all the deps on a dev server
> >where you have full access to a test database to run them.
> >
> >If you don't want to run the tests, download the tarball and follow
> >the instructions in the README instead of using the CPAN shell.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110526/78ff0c75/attachment.sig>


More information about the rt-users mailing list