Tags:
create new tag
view all tags

Question

Installed TWiki 4.2 on a Windows 2003 Server / Have Cygwin installed on the server / Trying to install LDAPContrib :o(

Im trying to run the .pl script for the LdapContrib_install.pl

It won't install the Net::LDAP package, Having a problem with dependencies. It goes all the way to Net::SSLeay and I get this and the installation process stops. Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm * Could not find OpenSSL? If it's already installed, please set the OPENSSL_PREFIX environment variable accordingly. If it isn't installed yet, get the latest version from http://www.openssl.org/.

Was trying to install LDAPContrib:

Having a lot of trouble with LDAP and Wiki / Getting this error when trying to open the wiki: Software error: Can't locate Net/LDAP.pm in @INC (@INC contains: c:\PROGRA~1\TWiki\twiki\lib . C:/perl/site/lib C:/perl/lib c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//arch c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//5.8.8/MSWin32-x86-multi-thread c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//5.8.8 c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib/) at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Contrib/LdapContrib.pm line 21. BEGIN failed--compilation aborted at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Contrib/LdapContrib.pm line 21. Compilation failed in require at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Users/LdapUserMapping.pm line 22. BEGIN failed--compilation aborted at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Users/LdapUserMapping.pm line 22. Compilation failed in require at (eval 33) line 3.

When I do this: To use an LDAP server for authentication you have to use the PasswordManager LdapUser. To Use groups defined in LDAP enable the UserMappingManager LdapUserMapping. (see the Security Setting section)

Is when I get the errors from above

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003 Server
Web server: Apache
Perl version: 5.6.1
Client OS: XP
Web Browser: IE
Categories: Authentication

-- StephenGarriques - 14 Mar 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

"Can't locate Net/LDAP.pm"

You can install the Net::LDAP package using cpan

-- HieuLeTrung - 16 Mar 2008

See HowToInstallCpanModules.

-- PeterThoeny - 16 Mar 2008

Okie so I was able to install modules but now magically any time I try to install a CPAN module at the end i get

Using Tar:C:\Cygwin\bin\tar.exe xvf LOCATION-OF-Tar/test-harness-3.10.tar: sh: C:Cygwinbintar.exe: command not found Couldn't untar LOCATION-OF-TAR/Test-Harness-3.10.tar

happens with ANY madule. I have no clue what is going on because last time I tried anything i was able to install a module no problem. I haven't touched the computer since then... :o\ fustrating

-- StephenGarriques - 18 Mar 2008

Also now all of a suddon nothing perl works. I try to go to CPAN and I type perl -MCPAN -e shell and i get perl: Command not found It worked friday when I opened cygwin

-- StephenGarriques - 18 Mar 2008

We also had a lot of sufferings trying to use TWiki on Windows, mostly because PERL and CPAN related problems. We manage to maintain a Windows TWiki installation for six moths until we reach 2000 topics and the system collapsed because the low grep performance in windows. Then we tried TWikiVMDebianStable and solve all our problems. The performance improved, the bugs stop and we work with CPAN modules without issues. If you have to stay in Windows 2003 anyway I strongly recommend you to use TWikiVMDebianStable. Make some test and you will see that performace CPU and RAM use is not an issue and you will have better perfomance.

-- EnriqueCadalso - 18 Mar 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-03-18 - EnriqueCadalso
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.