473,698 Members | 2,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

python-ldap for Python 2.5 on Windows?

Hi,

i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?

If not, how can i build it myself for Windows?

Thanks,
Benedict

Jun 8 '07 #1
10 2160
Benedict Verheyen wrote:
>
i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?

If not, how can i build it myself for Windows?
Depending on what you need you might want to dive into OpenLDAP's FAQ:

http://www.openldap.org/faq/data/cache/300.html

There has been some discussion on the python-ldap-dev mailing list about
that. But there were no contributions coming out of that.

Ciao, Michael.
Jun 8 '07 #2
On Jun 8, 6:36 am, Benedict Verheyen <benedict.verhe ...@gmail.com>
wrote:
Hi,

i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?

If not, how can i build it myself for Windows?
I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe

See if it will work for you

Waldemar
Jun 8 '07 #3
Waldemar Osuch wrote:
On Jun 8, 6:36 am, Benedict Verheyen <benedict.verhe ...@gmail.com>
wrote:
>Hi,

i found python-ldap for version Python 2.4.
Is there i place i can find a version for 2.5?

If not, how can i build it myself for Windows?

I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe
I'd appreciate if someone would provide Win32 builds of python-ldap on a
regular basis. Or at least a description what to do. I could add it to
python-ldap's web site.

Ciao, Michael.
Jun 9 '07 #4
Waldemar Osuch schreef:
<snip>
>
I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe

See if it will work for you

Waldemar
Hi Waldemar,

thanks for the installation file.
When i installed it, i got an error stating "The setup files are corrupt".
Anyway, i would be interested in knowing how to build the setup.
The only experience i have so far with building stuff via MinGW was with
a Qemu build.

Regards,
Benedict

Jun 11 '07 #5
* Benedict Verheyen (Mon, 11 Jun 2007 11:23:59 +0200)
Waldemar Osuch schreef:
I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe

See if it will work for you
thanks for the installation file.
When i installed it, i got an error stating "The setup files are corrupt".
I downloaded and installed them. They work fine...
Jun 11 '07 #6
Thorsten Kampe schreef:
* Benedict Verheyen (Mon, 11 Jun 2007 11:23:59 +0200)
>Waldemar Osuch schreef:
>>I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe

See if it will work for you
thanks for the installation file.
When i installed it, i got an error stating "The setup files are corrupt".

I downloaded and installed them. They work fine...
I'm on Vista (boohoo :(), what's your platform?

Jun 11 '07 #7
* Benedict Verheyen (Mon, 11 Jun 2007 11:32:26 +0200)
Thorsten Kampe schreef:
* Benedict Verheyen (Mon, 11 Jun 2007 11:23:59 +0200)
Waldemar Osuch schreef:
I have managed to build it for myself using MinGW:
http://www.osuch.org-a.googlepages.c...in32-py2.5.exe

See if it will work for you

thanks for the installation file.
When i installed it, i got an error stating "The setup files are corrupt".
I downloaded and installed them. They work fine...

I'm on Vista (boohoo :(), what's your platform?
XP SP2
Jun 11 '07 #8
Thorsten Kampe schreef:
<snip>
>I'm on Vista (boohoo :(), what's your platform?

XP SP2
Hmmm it thought so.
So in my case it would be interesting to know how to build it so i can
make a build that works on Vista too.

Regards,
Benedict

Jun 11 '07 #9
On Jun 11, 6:42 am, Benedict Verheyen <benedict.verhe ...@gmail.com>
wrote:
Thorsten Kampe schreef:
<snip>
I'm on Vista (boohoo :(), what's your platform?
XP SP2

Hmmm it thought so.
So in my case it would be interesting to know how to build it so i can
make a build that works on Vista too.
I have also build it on XP SP2.

I have wrapped the files from "setup.py build" and all required .dll
using Inno Setup.
Maybe Vista does not like the executable produced by Inno.

If you still want to try then unzip the following:
http://www.osuch.org/python-ldap.zip
into your "site-packages" and see how far you can get.

The detailed instructions on how to build would be quite long and I'm
sure I have forgotten some of the steps already but if you know about
"./configure make make install" dance and know how to use Google you
should be OK.

1. First install MinGW, Msys and msysDTK.
2. Then you need to compile openldap. See:
http://mail.gnome.org/archives/gnome.../msg00019.html
for reference. You will need regex but you can skip Berkley DB
before you start.
3. I have compiled openssl too but I have seen ready made libraries
for download.
I do not have link handy at the moment.
4. The last step would be to run "setup.py build" for python-ldap.
Remove sasl2 from setup.cfg
since cyrus-sasl does not seem to be available for MinGW.

See how far you can get with the above instructions. If you get stuck
send me a private email and I will try to help you.
If you could keep track of the steps and came up with better
instructions than my pitiful attempt above that would be great.

Waldemar

Jun 12 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2037
by: Timothy Martens | last post by:
When I run the Python-2.3.exe on my WIN2K box and go through the initial dialogues, the installer frezes at 1% when it's "Copying File C:\Python23\UNWISE.exe" Any ideas ANYONE? tim.
2
5266
by: Josh | last post by:
I've been trying to get Tix running with Python on Windows. Since there is no binary distributions of Tix for Windows, it seems the easiest way to install Tix is through IDiscovery's IDEStudio 1.9 (http://starship.python.net/crew/mike/Idle/). This went fine and I ran the "Install Tix into Python" option at the end of the installation, with the target Python installation being the Python 2.2 I just mentioned. I also ran the "Run Tix...
2
1513
by: Paradox | last post by:
This seems like a simple question but I keep looking and can't seem to find it anywhere. Do I have to check it out directly from CVS. Is there anywhere I can download the source already compiled. All I really want is to be able to compile PIL. Thanks Joey
4
2389
by: Steve | last post by:
I am developing an application for a client that will have data in a MS SQL Server database. Costs have to be kept down so I have to develop using the free version of any and all tools I may need. I have the SQL Server installed, running on Windows XP. I was going to develop the GUI using wxPython. My only obstacle so far is having Python (wxPython or just plain Python) connect to the database. Is there a way to use Python (installed...
3
1820
by: Brian Elmegaard | last post by:
Hi, I can find a few questions regarding the use of distutils for making non-python windows installers, but none of them really helps. Are there any pointers on how to do this? Can it be done? A little OT: What about making MSI installation files instead of .exe? Is it a good idea to consider at all?
3
2922
by: John Pye | last post by:
Hi all I have been working on some new code that embeds python in an C application. The embedding is working fine under Linux but crashing under Windows (XP) when I reach the following step. PyRun_AnyFile(f,name); If there's some python exception being thrown by the PyRun_AnyFile call, how can I retrieve it from C?
10
2286
by: notejam | last post by:
I am trying to get started with a interactive version of Python for windows and need some help. I have played with the tutorial, and now want to write a program. In basic language, I could write something like 10 print "hello" 20 print "Jim" and if I run it I would get hello
20
7788
by: W. Watson | last post by:
I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I understand there's a Win editor called pythonwin. I believe it's in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has just the editor or all of Python. Comments? If not how do I get the PythonWin editor by itself? BTW, one of the features I did not like of IDE is the limited file Print command. It puts everything in 16pt type, and...
5
3956
by: momobear | last post by:
I feel really puzzled about fellowing code, please help me finger out what problem here. import threading class workingthread(threading.Thread): def __init__(self): self.quitEvent = threading.Event() self.waitTime = 10 threading.Thread.__init__(self)
14
2210
by: TheFlyingDutchman | last post by:
I am trying to install Python 2.5 on Windows XP. It installs into the root directory on C:\ instead of C:\Python25 which it shows by default as what it plans to install to. Selecting D:\Python25 on a previous iteration put the exe in D:\ and did not create a Python25 directory. On the most recent iteration, when requesting an install to D: \Python25 it appears to have put files on C:\. I am installing on Windows XP Professional. When it...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8904
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.