Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install PythonLDAP on my remote server, and in order to do this I have to install OpenLDAP as a prerequisite.

I downloaded OpenLDAP, transferred it to my server, extracted it, ran the ./configure script, but when I type "make" in the home directory of OpenLDAP, it says:

make: * No targets specified and no makefile found. Stop.

And yet there is a configure script in this same directory, and there is also a Makefile.in file in this same directory. Why am I unable to run make? I have been building from source for years... and it usually runs smoothly. I don't understand why it won't run the make step.

This is the download site: http://www.openldap.org/software/download/

share|improve this question

migrated from stackoverflow.com Jan 7 '12 at 4:15

This question came from our site for professional and enthusiast programmers.

    
the configure script ran without errors ? (after configure you should have a Makefile without .in) –  edomaur Jan 5 '12 at 22:36
1  
Building and installing from source is highly ill-advised. You end up with files on your system that RPM isnt aware of and this causes all sorts of dependency issues. There are numerous sources you can obtain OpenLDAP packages from, like the official RedHat repos. –  Patrick Jan 7 '12 at 4:37
add comment

1 Answer

Did you try to just install OpenLDAP from RedHat repositories? If you need development libraries to compile or do something with PythonLDAP you can install those too.

yum install openldap
yum install openldap-devel
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.