[Samba] Need help Compiling Samba

Garland McAlexander garland at linear.nyc
Sun Jul 3 07:11:10 UTC 2016


https://lists.samba.org/archive/samba/2011-August/163647.html

Relevant

On Sun, Jul 3, 2016 at 3:04 AM, Rowland penny <rpenny at samba.org> wrote:

> On 02/07/16 23:47, TM wrote:
>
>> Hi Rowland,
>>
>> I have attached the config.log.
>>
>> Thanks,
>> Tony
>>
>>
> The OP set me his config.log and I believe this is the relevant part:
>
> <==
> [1/2] Compiling  [32mtest.c [0m
> In file included from /opt/include/python2.7/Python.h:44,
>                  from ../test.c:2:
> /usr/include/unistd.h:935: error: parse error before '[' token
> /usr/include/unistd.h:936: error: parse error before 'rid_t'
> ['/usr/bin/gcc', '-MD', '-fno-strict-aliasing', '-I/usr/local/include',
> '-I/opt/include/python2.7', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
> '-D_ALL_SOURCE=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
> '../test.c', '-c', '-o', 'default/test_1.o']
> command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc
> test.c -> test_1.o}'Could not find the python development headers
>
> Not being a 'C' expert, not sure, but it appears that the python
> development package (python-devel ?) isn't installed.
>
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
*Sincerely,*
*Garland McAlexander*
*O: 212-271-0198*
*C: 321-315-9948*


More information about the samba mailing list