Bug 5173 - can not compile - configure: WARNING: No python-config found
can not compile - configure: WARNING: No python-config found
Status: RESOLVED WORKSFORME
Product: Samba 4.0
Classification: Unclassified
Component: Other
unspecified
Other Windows XP
: P3 normal
: ---
Assigned To: Andrew Bartlett
Andrew Bartlett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-04 11:40 UTC by Chris Robinson
Modified: 2008-01-07 13:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Robinson 2008-01-04 11:40:51 UTC
Hi

I get:
configure: WARNING: No python-config found
when I try to compile.

Can you help or tell me what I need to pst?

Regards

Chris

Debian Linux etch samba4 alpha afetr running svn
Comment 1 Andrew Bartlett 2008-01-06 18:25:57 UTC
Python support is an ongoing project, and will soon be required to build Samba4.  Perhaps the messages in configure will need to be improved. 
Comment 2 Jelmer Vernooij 2008-01-06 21:24:59 UTC
This message is harmless. If python-config is not present, configure will try other ways to find out where the python includes and libs are. Perhaps we should make it a little bit less verbose?h
Comment 3 Chris Robinson 2008-01-07 04:45:53 UTC
The compile stops.  I have installed python and python-dev, it still stops.

Chris
Comment 4 Chris Robinson 2008-01-07 05:41:10 UTC
I have also tried installing python-samba, but get the same results.

Chris
Comment 5 Jelmer Vernooij 2008-01-07 08:21:22 UTC
Python-samba is unrelated to this. 

The message about python-config can be ignored if configure finishes ok. 

What's the last line before the compilation stops?
Comment 6 Chris Robinson 2008-01-07 08:52:05 UTC
Building shared libraries: yes                                                Using shared libraries internally: no (specify --enable-dso)                                                                                                To run binaries without installing, set the following environment variable:           LD_LIBRARY_PATH=./bin/shared   



I HAVE SET AND EXPORTED LD_LIBRARY_PATH.                                       

Chris
Comment 7 Jelmer Vernooij 2008-01-07 09:03:20 UTC
That looks perfectly fine. Configure has finished ok, it's just telling you what variable to set when you want to run Samba without installing it after you've built it.

You should be able to run make like you're used to.
Comment 8 Jelmer Vernooij 2008-01-07 13:15:58 UTC
Everything seems to be working on, please reopen if you still believe this is a bug.
Comment 9 Jelmer Vernooij 2008-01-07 13:16:12 UTC
Everything seems to be working ok, please reopen if you still believe this is a bug.
Comment 10 Chris Robinson 2008-01-07 13:45:50 UTC
It is compiling fine.  It has not finished yet -report results tomorrow.

May be we could do with a message to say configure OK ?

Chris