Compiling on Ubuntu - libSigc make Error

General discussions about Inkscape.
locoroco
Posts: 1
Joined: Tue Mar 12, 2013 10:07 pm

Compiling on Ubuntu - libSigc make Error

Postby locoroco » Wed Mar 13, 2013 1:35 am

After completing $ bzr checkout lp:inkscape
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.

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: Compiling on Ubuntu - libSigc make Error

Postby BobSongs » Mon Apr 29, 2013 4:15 pm

locoroco wrote:After completing $ bzr checkout lp:inkscape
I am trying to build the dependency pacakages for compiling Inkscape. I am stuck on libSigc++.
I can sucessfully run "./configure" but cannot make...

I'm wondering what the output to your ./configure is.

I have compiled Inkscape under Ubuntu several times. I remember going through the ./configure output many times. At times I'd get all the way through to the bottom and be told that it was ready for make. But upon reviewing the ./configure output there were still some libraries Ubuntu could stand having to make a better copy of Inkscape.

Perhaps your ./configure output would be helpful.


Return to “General Discussions”