I am trying to build the dependency pacakages for compiling Inkscape. I am stuck on libSigc++.
I can sucessfully run "./configure" but cannot make, the error is as following:
make all-recursive
make[1]: Entering directory `/home/baozi/Downloads/libsigc++-2.2.3'
Making all in sigc++
make[2]: Entering directory `/home/baozi/Downloads/libsigc++-2.2.3/sigc++'
make all-am
make[3]: Entering directory `/home/baozi/Downloads/libsigc++-2.2.3/sigc++'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c -o signal.lo signal.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.cc -fPIC -DPIC -o .libs/signal.o
In file included from ../sigc++/signal.h:8:0,
from signal.cc:20:
../sigc++/signal_base.h:46:11: error: ‘size_t’ does not name a type
../sigc++/signal_base.h:95:3: error: ‘size_type’ does not name a type
../sigc++/signal_base.h:239:11: error: ‘size_t’ does not name a type
../sigc++/signal_base.h:261:3: error: ‘size_type’ does not name a type
In file included from signal.cc:20:0:
../sigc++/signal.h:33:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:34:11: error: ‘ptrdiff_t’ does not name a type
../sigc++/signal.h:99:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:100:11: error: ‘ptrdiff_t’ does not name a type
../sigc++/signal.h:276:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:277:11: error: ‘ptrdiff_t’ does not name a type
../sigc++/signal.h:359:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:360:11: error: ‘ptrdiff_t’ does not name a type
../sigc++/signal.h:430:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:431:11: error: ‘ptrdiff_t’ does not name a type
../sigc++/signal.h:515:11: error: ‘size_t’ does not name a type
../sigc++/signal.h:516:11: error: ‘ptrdiff_t’ does not name a type
make[3]: *** [signal.lo] Error 1
make[3]: Leaving directory `/home/baozi/Downloads/libsigc++-2.2.3/sigc++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/baozi/Downloads/libsigc++-2.2.3/sigc++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/baozi/Downloads/libsigc++-2.2.3'
make: *** [all] Error 2
gcc -v outputs: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
I have searched the forum and wiki, but could not find a similar question or solution avalaible. Need help, thanks for reading.