473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How to install NET::LDAP modules in windows 2003?

147 100+
Hi,

I need to use perl-ldap. Before that, i need to install NET::LDAP modules in Windows 2003. How can i install it. I don't have idea.Thanks in advance
Jan 17 '11 #1
15 8874
numberwhun
3,509 Expert Mod 2GB
When you ask for help and you are using Windows version of Perl, you need to remember to specify which version of Perl you are using. The two possibilities are Active State and Strawberry Perl (which is my choice when using Perl on Windows).

Here is a link that shows you how to install using the Active State version. Don't forget that Google gives quite a few results for this search topic.

Always provide whatever information you can when asking a question. Too much info is better than not enough.

Regards,

Jeff
Jan 17 '11 #2
santhanalakshmi
147 100+
Hi,

I am running this in DOS Prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\sanlak>ppm
PPM interactive shell (2.1.5) - type 'help' for available commands.

PPM> install Perl-LDAP
Install package 'Perl-LDAP?' (y/N): y
Installing package 'Perl-LDAP'...
Error installing package 'Perl-LDAP': Could not locate a PPD file for package Perl-LDAP

I don't know, why i am receiving this error. i have installed Perl in E drive.
Jan 31 '11 #3
numberwhun
3,509 Expert Mod 2GB
Make sure that you have the correct name for the module. I don't use PPM, so I would not know where to look for the package names.

It does sound though, like you do not have the right name for the package.
Jan 31 '11 #4
santhanalakshmi
147 100+
Hi,
Thanks for your reply.
Expand|Select|Wrap|Line Numbers
  1. PPM>install Perl::LDAP
  2.  
  3.  
I think so, its get installed.


when i am using NET::LDAP in my code, i am facing the INTERNAL SERVER ERROR. When i am seeing the error log,
the error is, can't locate Net/LDAP.pm in @INC
BEGIN failed--compilation aborted. Thanks
Feb 1 '11 #5
numberwhun
3,509 Expert Mod 2GB
I don't think that it installed correctly if it is saying that it cannot find the .pm file. You may want to remove it and try again.
Feb 1 '11 #6
santhanalakshmi
147 100+
Hi,
I uninstalled Perl-ldap-0.4001 and Convert-ASN1-0.22. Again, i installed Convert-ASN1-0.22. The installation is successful by checking with this code
Expand|Select|Wrap|Line Numbers
  1. perl -e "use Convert::ASN1
.

When i am trying to install Perl-LDAP-0.4001 ?
Its showing me the error:
Expand|Select|Wrap|Line Numbers
  1. ERROR: perl: Version 5.006001 is installed, but we need version >= 5.008 at inc/
  2. Module/Install/Makefile.pm line 211, <STDIN> line 3.
  3.  
My Perl Version is ActivePerl-5_6_1_631-MSWin32-x86.msi and my Apache Verison is apache_1.3.22-win32-x86.msi. What can i do ? what changes i should make to complete my installation as successful.
Feb 2 '11 #7
numberwhun
3,509 Expert Mod 2GB
You need to upgrade your version of Perl. The current release of ActivePerl from ActiveState is 5.12, which corresponds to the current version of Perl. I would suggest you update your version to at least the version mentioned in the error, if not newer.

Regards,

Jeff
Feb 2 '11 #8
santhanalakshmi
147 100+
hi,

I installed successfully LDAP.
when i am running my program, why i am getting the output
Expand|Select|Wrap|Line Numbers
  1. Microsoft Windows XP [Version 5.1.2600]
  2. (C) Copyright 1985-2001 Microsoft Corp.
  3.  
  4. C:\Documents and Settings\Administrator>cd..
  5.  
  6. C:\Documents and Settings>cd..
  7.  
  8. C:\>cd perl
  9.  
  10. C:\Perl>cd bin
  11.  
  12. C:\Perl\bin>perl test.cgi
  13. Content-type: text/html
  14.  
  15. <body bgcolor="#ffcccc">hi
  16. C:\Perl\bin>
  17.  


I want the output only "hi"
Feb 3 '11 #9
numberwhun
3,509 Expert Mod 2GB
We cannot tell you what is wrong if you do not show us your code.
Feb 4 '11 #10
santhanalakshmi
147 100+
hi,
Please check my code

Expand|Select|Wrap|Line Numbers
  1. #!c:/perl/bin/perl
  2. use strict;
  3. use warnings;
  4. use CGI qw(:all);    #use for all code
  5.  
  6.  
  7. print "Content-type: text/html\n\n";
  8. print "<body bgcolor=\"#ffcccc\">";
  9. print "hi";
Feb 4 '11 #11
numberwhun
3,509 Expert Mod 2GB
Ok, it printed exactly what you told it to print. You are trying to do CGI, but you are going about it incorrectly. You are missing the basic structures of an HTML page. I highly suggest that you go through a tuturial on Perl/CGI before continuing. Once you look at that, you may see the error of your ways.

Regards,

Jeff
Feb 4 '11 #12
santhanalakshmi
147 100+
hi,

what is the main use of

Expand|Select|Wrap|Line Numbers
  1.  use CGI qw(:all)
Feb 5 '11 #13
numberwhun
3,509 Expert Mod 2GB
Ok, you need to seriously do some searching and reading on the CGI module. That is a call to the CGI.pm module. Here is a good tutorial and here is the documentation page for the CGI module. You need to read both as they should answer your questions.

I hope that once you go through those you will then understand why your script is not working as expected and you will then see what is missing.

Regards,

Jeff
Feb 5 '11 #14
santhanalakshmi
147 100+
Hi,
Thanks for your guide.
Feb 5 '11 #15
santhanalakshmi
147 100+
hi,
One more problem,

Expand|Select|Wrap|Line Numbers
  1. $value=A \B;
  2.  
I am passing this value to the next page through hidden

Expand|Select|Wrap|Line Numbers
  1. <input type="hidden" value=result name=$value>  
  2.  
In other page, getting this value
Expand|Select|Wrap|Line Numbers
  1. $result=param('result');
  2.  
  3.  
Now, my $result variable is

Expand|Select|Wrap|Line Numbers
  1. $result= A .Its wrong
  2.              I need this output
  3.              $result=A \B. Its correct.
  4.  
I don't know, what's a problem ?
Feb 6 '11 #16

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: pcman | last post by:
Dear all, How to install Oracle 9iR2 on Windows 2003 or Windows 2000? Pls help me! Thanks!
2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
0
by: elizabeth | last post by:
Is is possible to install Microsoft visual studio .NET Enterprise Developer 2002 on a Windows 2003 machine? If so what must one do besides install an earlier version of the ASP.NET extenstions?...
0
by: Dingding | last post by:
Hi, I got an error when I debug a asp.net program on a windows 2003 server. It said, 'Error while trying to run project: Unable to start debugging on the web server. You do not have permissions...
10
by: anthonymelillo | last post by:
What do I have to do to allow me to create ASP.NET Pages on a Windows 2003 Server ? I have installed IIS6, ASP.Net support, SQL 2000, ASP.Net remote components. I do not know what security to...
1
by: Ryan Moore | last post by:
Anyone have an article about setting up Index Server on IIS for Windows 2003? I can find plenty of articles on Windows 2000 server, but none on 2003 and it appears to be different. Thanks
1
by: Dale | last post by:
Hi, I got an error when I debug a asp.net program on a windows 2003 server. It said, 'Error while trying to run project: Unable to start debugging on the web server. You do not have permissions...
1
by: =?Utf-8?B?U2FpIFZhamph?= | last post by:
Hi I am working on a website in asp.net 2.0 with 2.0 framework and would like to deploy this to a windows 2003 64bit server and want it to run under 64bit framework., Is this really possible?...
1
by: visweswaran2830 | last post by:
Hi, I have windows 2003 server and I installed mcafee and service pack4. After that I tried to install dotnet framework. But I cannot Install successfully, it roll backed. I dont know how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.