472,975 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2123
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
Waldemar Osuch schreef:
<snip>
>
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
Hi Waldemar,

thanks for the instructions.
I will try to build it one of these days and see how far i get.

As for the zip, i installed it and it works, i can use the ldap lib now.
So as you said, it indeed seems to be a problem with the Inno setup.
Anyway, if the zip works, i'm happy :)

If i get around to building it and if i succeed, i will post a more
detailed report on how to do it.

Thanks,
Benedict

Jun 12 '07 #11

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

Similar topics

2
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
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...
2
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....
4
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....
3
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? ...
3
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. ...
10
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...
20
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...
5
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 =...
14
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.