----- Original Message -----
>
> On ubuntu I'm seeing build errors ...
>
> Makepkgs dies with
>
> === pmwebapi ===
> gcc -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all
> -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG
> -DPCP_VERSION=\"3.10.0\" -I../../src/include -I../../src/include/pcp -c -o
> main.o main.c
> In file included from main.c:17:0:
> pmwebapi.h:21:18: fatal error: string: No such file or directory
> #include <string>
> ^
This is a problem related to configure not being run on this build.
On a clean build, you should see "g++" being used over gcc (above)
and the C++ headers are then all found. I saw this here too, for a
Debian build.
> pmapi.c:27:20: fatal error: Python.h: No such file or directory
> #include <Python.h>
> ^
> compilation terminated.
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Yep, this is configure too - python support should have been switched
off auto-magically in the build (IIRC) if no devel headers were found
of appropriate version levels.
> configure differences ...
>
> kenj@bozo:~/src/pcp/build/deb/pcp-3.10.0/src/include$ diff -r .
Try "make distclean" and/or "rm -fr build/deb" and kick a fresh
build off?
cheers.
--
Nathan
|