When I try to 'make' the libopensync-plugin-python-0.22 source I downloaded I get this error which I don't understand (pythonmakerror.txt)
Code:
make all-am
make[1]: Entering directory `/home/chrisportela/Downloads/libopensync-plugin-python-0.22'
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/python2.6 -DOPENSYNC_PYTHONPLG_DIR=\"/usr/local/lib/opensync/python-plugins\" -Wall -Werror -I/usr/local/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT python_module_la-python_module.lo -MD -MP -MF ".deps/python_module_la-python_module.Tpo" -c -o python_module_la-python_module.lo `test -f 'src/python_module.c' || echo './'`src/python_module.c; \
then mv -f ".deps/python_module_la-python_module.Tpo" ".deps/python_module_la-python_module.Plo"; else rm -f ".deps/python_module_la-python_module.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/python2.6 -DOPENSYNC_PYTHONPLG_DIR=\"/usr/local/lib/opensync/python-plugins\" -Wall -Werror -I/usr/local/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT python_module_la-python_module.lo -MD -MP -MF .deps/python_module_la-python_module.Tpo -c src/python_module.c -fPIC -DPIC -o .libs/python_module_la-python_module.o
make[1]: Leaving directory `/home/chrisportela/Downloads/libopensync-plugin-python-0.22'
src/python_module.c:23: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [python_module_la-python_module.lo] Error 1
make: *** [all] Error 2
I think that is causing this error when I try to compile the libopensync-plugin-synce-0.22 source and it complains (error.txt)
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.