|
| hi all,
i was trying to install 'glibmm' to install "libxml++" and came across
a problem.
after downloading a file "glibmm" and i ran ./configure command and
that was fine. But after that, i ran 'make' command and got the
following output.
I don't undetstand "GPid does not name a type". and it doesn't seem to
be easy to find imformation on that off the web.
Any suggestions would be appreiciated. Thank you.
------------------------ output ----------------------------
make[3]: Leaving directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/tools'
make[2]: Leaving directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/tools'
Making all in glib
make[2]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib'
make all-recursive
make[3]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib'
Making all in src
make[4]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/src'
Making all in glibmm
make[4]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/glibmm'
Making all in private
make[5]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/glibmm/private'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/glibmm/private'
make[5]: Entering directory
`/home/jonghook/Softwares/Games/glibmm-2.4.0/glib/glibmm'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H
-DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED
-I../../glib -I../../glib -I../../pango -I../../pango -I../../atk
-I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk
-I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -g -O2 -MT spawn.lo -MD -MP -MF
".deps/spawn.Tpo" \
-c -o spawn.lo `test -f 'spawn.cc' || echo './'`spawn.cc; \
then mv -f ".deps/spawn.Tpo" ".deps/spawn.Plo"; \
else rm -f ".deps/spawn.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION
-DG_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango
-I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk
-I../../gtk -I../../gtk -I/usr/local/include/sigc++-2.0
-I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -pthread
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2
-MT spawn.lo -MD -MP -MF .deps/spawn.Tpo -c spawn.cc -fPIC -DPIC -o
..libs/spawn.o
.../../glib/glibmm/spawn.h:39: error: 'GPid' does not name a type
.../../glib/glibmm/spawn.h:144: error: 'Pid' has not been declared
.../../glib/glibmm/spawn.h:153: error: 'Pid' has not been declared
.../../glib/glibmm/spawn.h:163: error: 'Pid' has not been declared
.../../glib/glibmm/spawn.h:169: error: 'Pid' has not been declared
.../../glib/glibmm/spawn.h:195: error: variable or field
'spawn_close_pid' declared void
.../../glib/glibmm/spawn.h:195: error: 'Pid' was not declared in this
scope
spawn.cc:74: error: 'Pid' has not been declared
spawn.cc:102: error: 'Pid' has not been declared
spawn.cc:130: error: 'Pid' has not been declared
spawn.cc:154: error: 'Pid' has not been declared
spawn.cc:273: error: variable or field 'spawn_close_pid' declared void
spawn.cc:273: error: redefinition of 'int Glib::spawn_close_pid'
.../../glib/glibmm/spawn.h:195: error: 'int Glib::spawn_close_pid'
previously defined here
spawn.cc:273: error: 'Pid' was not declared in this scope
|
|