Hi Kevin,
thanks for the clarification. I'm not practical with perl/cpan in general and trying to find my way trough.

I'm surprised no other users have experienced a similar problem when installing Net::LDAP::Server::Test, but I'll give a look - it seems to try using that port even upon rebooting.

Thanks,
G

On 31/05/11 15:32, Kevin Falcone wrote:
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


--
____________________________________

Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsoll...@sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583


Reply via email to