This question about Using an extension: Closed unanswered
unable to install LDAPContrib (Windows/Apache/Perl)
Greetings,
I seem to be having trouble installing the LDAPContrib extension.
I've got Foswiki installed on a
Win2K3 server with Apache and
ActivePerl. We're behind a proxy server that requires authentication so I set the configure page to use the proxy server in the form
http://username:pwd@proxyIP
I was then able to get a list of extensions and I scrolled down and clicked install for LDAPContrib. I then get the following screen:
Fetching
http://foswiki.org/pub/Extensions/LdapContrib/LdapContrib.tgz...
Unpacking...
data/
data/System/
Note: Existing data/System/LdapContrib.txt overwritten. Backup saved in D:/www/foswiki/data/System/LdapContrib.txt.bak
Note: Existing
LdapContrib _installer overwritten. Backup saved in D:\www\foswiki\LdapContrib_installer.bak
lib/
lib/Foswiki/
lib/Foswiki/Contrib/
lib/Foswiki/Contrib/LdapContrib/
Note: Existing lib/Foswiki/Contrib/LdapContrib/Config.spec overwritten. Backup saved in D:\www\foswiki\lib\Foswiki\Contrib\LdapContrib\Config.spec.bak
Note: Existing lib/Foswiki/Contrib/LdapContrib.pm overwritten. Backup saved in D:\www\foswiki\lib\Foswiki\Contrib\LdapContrib.pm.bak
lib/Foswiki/LoginManager/
Note: Existing lib/Foswiki/LoginManager/LdapApacheLogin.pm overwritten. Backup saved in D:\www\foswiki\lib\Foswiki\LoginManager\LdapApacheLogin.pm.bak
lib/Foswiki/Users/
Note: Existing lib/Foswiki/Users/LdapPasswdUser.pm overwritten. Backup saved in D:\www\foswiki\lib\Foswiki\Users\LdapPasswdUser.pm.bak
Note: Existing lib/Foswiki/Users/LdapUserMapping.pm overwritten. Backup saved in D:\www\foswiki\lib\Foswiki\Users\LdapUserMapping.pm.bak
pub/
pub/System/
pub/System/LdapContrib/
Note: Existing pub/System/LdapContrib/wikiringlogo40x40.png overwritten. Backup saved in D:/www/foswiki/pub/System/LdapContrib/wikiringlogo40x40.png.bak
CPAN is disabled, disabling CPAN
###
LdapContrib Installer ###
This installer must be run from the root directory of your Foswiki
installation.
* You can abort the script at any point and re-run it later
* If you answer 'no' to any questions you can always re-run
the script again later
##########################################################
Checking dependency on Authen::SASL....
***
LdapContrib depends on cpan package Authen::SASL >=2.00
which is described as "Optional"
But when I tried to find it I got this error:
Can't locate Authen/SASL.pm
##########################################################
Checking dependency on DB_File....
***
LdapContrib depends on cpan package DB_File >=1.00
which is described as "Required"
But when I tried to find it I got this error:
Can't locate DB_File.pm
##########################################################
Checking dependency on Digest::MD5....
Digest::MD5 v2.39 loaded
##########################################################
Checking dependency on Net::LDAP....
***
LdapContrib depends on cpan package Net::LDAP >=0.33
which is described as "Required"
But when I tried to find it I got this error:
Can't locate Net/LDAP.pm
##########################################################
Checking dependency on IO::Socket::SSL....
***
LdapContrib depends on cpan package IO::Socket::SSL >=1.0
which is described as "Optional"
But when I tried to find it I got this error:
Can't locate IO/Socket/SSL.pm
##########################################################
Checking dependency on Unicode::MapUTF8....
***
LdapContrib depends on cpan package Unicode::MapUTF8 >=1.11
which is described as "Required"
But when I tried to find it I got this error:
Can't locate Unicode/MapUTF8.pm
Archive has already been unpacked.
### Installation finished ###
Installer ran without errors
Installation finished.
Return to configuration
I went back to the configure page. The configure page was updated to have the additional "User Logins" section in it, but then I went back to the extensions list, but the LDAPConfig entry still has "Install" listed instead of the other entries for other extensions which say "Re-Install" I tried configuring the LDAP settings and switching on the LDAP password manager, but the Foswiki main page will no longer load and I get a long list of Software Errors. I don't have that error page on hand, but I can recreate it and post it if need be.
I'm a wiki newbie, I don't really know much about perl but I get the impression that some perl settings are not correct. If you need any more information, just ask.
Thanks in advance!
--
TimMenke - 29 Apr 2010
I've opened
Tasks.Item8979 for the problem that
LdapContrib is not reported as installed. The contrib is installed, but that status is not picked up by configure.
The dependencies reported by the online installer need to be manually installed using CPAN (or as specified by your particular perl installation).
- Authen::SASL
- DB_File
- Digest::MD5
- Net::LDAP
- IO::Socket::SSL
- Unicode::MapUTF8
You could try using the CPAN installer, such as:
perl -MCPAN -e shell
install Authen::SASL
--
GeorgeClark - 5 May 2010
Task
Tasks.Item8979 is waiting for release. This is fixed for 1.0.10, and 1.1.0. Extensions that are installed but missing dependencies will now be reported as installed.
--
GeorgeClark - 10 May 2010
Thanks for the assistance George. I was able to get into CPAN and have some success installing the dependancies. For example, the Authen::SASL appeared to install ok as did Unicode::MapUTF8, but others, there still seems to be something wrong. I installed DB_file and it claims to be installed (version 1.820) but when I go back to re-install LDAPcontrib, it claims that it still cannot find DB_File.pm same as before. In addition, Net::LDAP and IO::Socket::SSL don't seem to install at all. I have the error logs for both, but they contain extremely long walls of text that I'm guessing you don't want posted here but I will provide them on request or upload the error logs to the topic if that's ok. Oh and I got permission to make an exception in our proxy server for the server so I don't have to worry about proxy authentication issues anymore
Thanks again for the help
--
TimMenke - 12 May 2010
Hallo !
I am struggling with exactly the same "unresolved dependencies" named on top.
No Idea, how to set up the LDAPContrib in the same Windows enviroment.
It looks impossible to install all Deps that necessary - it's not provided by the CPAN.
Thanks for any help
Sorry, there seems to be too few people trying to use Foswiki under Windows to give you a sound answer on your support question.
--
MichaelDaum - 04 Jul 2014