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

Kevin Falcone falcone at bestpractical.com
Tue May 31 10:32:17 EDT 2011


On Tue, May 31, 2011 at 10:52:43AM +0100, Giuseppe Sollazzo wrote:
> >>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.
> 
> Uhm... weird as running from root. Also, what do you mean by
> "random"? Every time I run the install the port is the same, do I
> have any way of altering the seed?

Oh, this is you being unable to install Net::LDAP::Server::Test
If it hardcodes a port, you'll either need to tweak the test suite or
file a bug with the author.  We have no control over that.

> >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
> >
> Ok - I'll have a look at the README and experiment with the manual
> install, although I'd prefer a "packaged" release for the live
> server. Please let me know about your release plans.

You realize that the manual install is simply replicating what the
cpan shell does?  The cpan shell downloads, untars it, runs perl
Makefile.PL, runs tests, installs.  What you would do is download the
tarball, untar it, read the README, follow the instructions to run
Makefile.PL and install it.

The CPAN client will not configure the extension or add it to your
RT_SiteConfig.pm so you're still going to need to read the README and
do some manual things.  I'm not actually aware of any packages of this
extension.

-kevin
-------------- 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/20110531/18947433/attachment.sig>


More information about the rt-users mailing list