configure python problem.
Jeremy Allison
jra at samba.org
Mon Dec 17 21:19:39 UTC 2018
On Tue, Dec 18, 2018 at 10:15:01AM +1300, Andrew Bartlett wrote:
> On Mon, 2018-12-17 at 13:07 -0800, Jeremy Allison via samba-technical
> wrote:
> > After most recent git update in master.
> >
> > Previously working system.
> >
> > git clean -d -f -x
> >
> > buildtools/bin/waf configure --enable-pthreadpool --with-acl-support --enable-developer --enable-selftest --picky-developer --accel-aes=intelaesni
> >
> > Checking for python version >= 2.6.0 : 3.5.4
> > python-config : not found
> > Checking for library python3.5m in LIBDIR : not found
> > Checking for library python3.5m in python_LIBPL : yes
> > Checking for header Python.h : Distutils not installed? Broken python installation? Get python-config now!
> >
> > However:
> >
> > $ python-config
> > Usage: /usr/bin/python-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir
> >
> > What got broken ? What am I missing ?
>
> python3-dev?
python3-all-dev seemed to do the trick, thanks a *LOT* Andrew !
However, waf configure spitting out:
python-config : not found
when doing:
$ python-config returns
Usage: /usr/bin/python-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir
seems to be a problem to me.
No time to fix random python2 -> python3 breakage
now though, sorry.
However the Samba python3 people might want to
think about improving the debug messages around
this.
More information about the samba-technical
mailing list