Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to compile glibmm-2.13.3 from sources, and the configure script is able to run successfully...
for make, it is giving me an error...
make all-recursive
make[1]: Entering directory `/home/navodaya/sys_software/glibmm-2.13.3'
Making all in tools
make[2]: Entering directory `/home/navodaya/sys_software/glibmm-2.13.3/tools'
Making all in m4
make[3]: Entering directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/m4'
Making all in pm
make[3]: Entering directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/pm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/pm'
Making all in extra_defs_gen
make[3]: Entering directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/extra_defs_gen'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I../..//usr/lib64/pkgconfig -I../..//usr/lib64/pkgconfig/. -I../..//usr/lib64/pkgconfig/./glib -I../..//usr/lib64/pkgconfig/./gmodule -g -O2 -Wall -Wno-long-long -MT generate_extra_defs.lo -MD -MP -MF ".deps/generate_extra_defs.Tpo" -c -o generate_extra_defs.lo generate_extra_defs.cc; \
then mv -f ".deps/generate_extra_defs.Tpo" ".deps/generate_extra_defs.Plo"; else rm -f ".deps/generate_extra_defs.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I../..//usr/lib64/pkgconfig -I../..//usr/lib64/pkgconfig/. -I../..//usr/lib64/pkgconfig/./glib -I../..//usr/lib64/pkgconfig/./gmodule -g -O2 -Wall -Wno-long-long -MT generate_extra_defs.lo -MD -MP -MF .deps/generate_extra_defs.Tpo -c generate_extra_defs.cc -fPIC -DPIC -o .libs/generate_extra_defs.o
In file included from generate_extra_defs.cc:23: generate_extra_defs.h:23:25: glib-object.h: No such file or directory
In file included from generate_extra_defs.cc:23:
generate_extra_defs.h:27: error: `GType' was not declared in this scope
generate_extra_defs.h:29: error: `GType' was not declared in this scope
generate_extra_defs.h:30: error: `GType' was not declared in this scope
generate_extra_defs.h:31: error: `GType' was not declared in this scope
generate_extra_defs.h:32: error: `GType' was not declared in this scope
generate_extra_defs.h:33: error: `GType' was not declared in this scope
generate_extra_defs.cc:25: error: redefinition of `std::string get_properties'
generate_extra_defs.h:29: error: `std::string get_properties' previously declared here
generate_extra_defs.cc:25: error: `GType' was not declared in this scope
generate_extra_defs.cc:26: error: expected `,' or `;' before '{' token
generate_extra_defs.cc:77: error: redefinition of `std::string get_type_name'
generate_extra_defs.h:30: error: `std::string get_type_name' previously declared here
generate_extra_defs.cc:77: error: `GType' was not declared in this scope
generate_extra_defs.cc:78: error: expected `,' or `;' before '{' token
generate_extra_defs.cc:89: error: redefinition of `std::string get_type_name_parameter'
generate_extra_defs.h:31: error: `std::string get_type_name_parameter' previously declared here
generate_extra_defs.cc:89: error: `GType' was not declared in this scope
generate_extra_defs.cc:90: error: expected `,' or `;' before '{' token
generate_extra_defs.cc:100: error: redefinition of `std::string get_type_name_signal'
generate_extra_defs.h:32: error: `std::string get_type_name_signal' previously declared here
generate_extra_defs.cc:100: error: `GType' was not declared in this scope
generate_extra_defs.cc:101: error: expected `,' or `;' before '{' token
generate_extra_defs.cc:106: error: redefinition of `std::string get_signals'
generate_extra_defs.h:33: error: `std::string get_signals' previously declared here
generate_extra_defs.cc:106: error: `GType' was not declared in this scope
generate_extra_defs.cc:107: error: expected `,' or `;' before '{' token
generate_extra_defs.cc:203: error: redefinition of `std::string get_defs'
generate_extra_defs.h:27: error: `std::string get_defs' previously declared here
generate_extra_defs.cc:203: error: `GType' was not declared in this scope
generate_extra_defs.cc:204: error: expected `,' or `;' before '{' token
make[3]: *** [generate_extra_defs.lo] Error 1
make[3]: Leaving directory `/home/navodaya/sys_software/glibmm-2.13.3/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/navodaya/sys_software/glibmm-2.13.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/navodaya/sys_software/glibmm-2.13.3'
make: *** [all] Error 2
-------------------------
looks to me like the include path is not correct... the pkg-config utility gives me a weird response... as follows...
I checked in the glib-2.0.pc file, the contents are valid and points to correct locations... but in glib-2.0-uninstalled.pc (I dont why u need this file?) the contents are ...
------------
glib_genmarshal=${pc_top_builddir}/${pcfiledir}/gobject/glib-genmarshal
gobject_query=${pc_top_builddir}/${pcfiledir}/gobject/gobject-query
glib_mkenums=${pc_top_builddir}/${pcfiledir}/./gobject/glib-mkenums
Name: GLib Uninstalled
Description: C Utility Library, Not Installed
Version: 2.12.9
Libs: ${pc_top_builddir}/${pcfiledir}/glib/libglib-2.0.la
Cflags: -I${pc_top_builddir}/${pcfiledir} -I${pc_top_builddir}/${pcfiledir}/. -I${pc_top_builddir}/${pcfiledir}/./glib
--------------------
any help is greatly appreciated...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.