Redwood Hyd
2014-Jan-06 11:43 UTC
[Samba] Samba 4.1.3 native compile error mips (Could not find the python development headers)
Hello Sir,
Please help me resolve configure error with latest samba. Because
cross compile did not work so I am doing native compilation.
./configure --prefix=/usr/lib/python2.6
--includedir=/usr/include/python2.6/ --host=mips-linux
--target=mips-linux
Checking for HAVE_IFACE_GETIFADDRS
: ok
Checking for getpwnam_r
: ok
Checking for getpwuid_r
: ok
Checking for getpwent_r
: ok
Checking for declaration of getpwent_r
: ok
Checking C prototype for getpwent_r
: not found
Checking for declaration of getgrent_r
: ok
Checking C prototype for getgrent_r
: not found
Checking C prototype for getpwent_r
: not found
Checking C prototype for getgrent_r
: not found
Checking for getgrouplist
: ok
Checking for program perl
: /usr/bin/perl
Checking for program xsltproc
: not found
Checking for program python
: /usr/bin/python
Checking for program python
: /usr/bin/python
Checking for program python
: /usr/bin/python
Checking for Python version >= 2.5.0
: ok 2.6.6
Checking for library python2.6
: not found
Checking for library python2.6
: not found
Checking for library python26
: not found
Checking for program python2.6-config
: /usr/bin/python2.6-config
Checking for custom code
: Could not find the python development headers
/root/samba-4.1.3/wscript:93: error: the configuration failed (see
'/root/samba-4.1.3/bin/config.log')
thanks
Redwood Hyder