LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   can't compile agave, gconfmm.h error on Slackware64 13.1 (http://www.linuxquestions.org/questions/slackware-14/cant-compile-agave-gconfmm-h-error-on-slackware64-13-1-a-817975/)

sycamorex 07-04-2010 12:56 PM

can't compile agave, gconfmm.h error on Slackware64 13.1
 
I'm trying to compile agave.

I had installed gconfmm using src2pkg.

Code:

ls /var/log/packages/ | grep gconfmm
gconfmm-2.28.2-x86_64-1

Now, when trying to compile agave:

Code:

./configure --prefix=/usr/bin --libdir=/usr/lib64
It did not spit out any errors:
Code:

....
config.status: executing po/stamp-it commands

======================================================================

Agave configuration:
  C compiler              : gcc
  C++ compiler            : g++
  Prefix                  : /usr/bin

Agave will be compiled with the following features:
  Gconfmm support        : yes
  GNOME library support  : yes
  Printing support        : yes
  Build Cairo Ring utility: yes

The following options will be passed to the compiler:
  CFLAGS: -g -O2
  CXXFLAGS: -g -O2 -Wall

  AGAVE_CFLAGS: -DORBIT2=1 -I/usr/include/atk-1.0 -I/usr/include/atkmm-1.6 -I/usr/include/bonobo-activation-2.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/gail-1.0 -I/usr/include/gconf/2 -I/usr/include/gconfmm-2.6 -I/usr/include/gdkmm-2.4 -I/usr/include/giomm-2.4 -I/usr/include/glib-2.0 -I/usr/include/glibmm-2.4 -I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtkmm-2.4 -I/usr/include/libart-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libglademm-2.4 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libpng14 -I/usr/include/libxml2 -I/usr/include/orbit-2.0 -I/usr/include/pango-1.0 -I/usr/include/pangomm-1.4 -I/usr/include/pixman-1 -I/usr/include/sigc++-2.0 -I/usr/lib64/cairomm-1.0/include -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gconfmm-2.6/include -I/usr/lib64/gdkmm-2.4/include -I/usr/lib64/giomm-2.4/include -I/usr/lib64/glib-2.0/include -I/usr/lib64/glibmm-2.4/include -I/usr/lib64/gnome-vfs-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/lib64/gtkmm-2.4/include -I/usr/lib64/libglademm-2.4/include -I/usr/lib64/pangomm-1.4/include -I/usr/lib64/sigc++-2.0/include -pthread

  AGAVE_LIBS: -lICE -lORBit-2 -lSM -lart_lgpl_2 -latk-1.0 -latkmm-1.6 -lbonobo-2 -lbonobo-activation -lbonoboui-2 -lcairo -lcairomm-1.0 -lfontconfig -lfreetype -lgconf-2 -lgconfmm-2.6 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgdkmm-2.4 -lgio-2.0 -lgiomm-2.4 -lglade-2.0 -lglademm-2.4 -lglib-2.0 -lglibmm-2.4 -lgmodule-2.0 -lgnome-2 -lgnomecanvas-2 -lgnomeui-2 -lgnomevfs-2 -lgobject-2.0 -lgthread-2.0 -lgtk-x11-2.0 -lgtkmm-2.4 -lpango-1.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpangomm-1.4 -lpopt -lrt -lsigc-2.0 -lxml2 -pthread

Make, however, doesn't successfully finish:
Code:

include -pthread  -I../src -g -O2 -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
main.cc:38:21: error: gconfmm.h: No such file or directory
main.cc: In function 'int main(int, char**)':
main.cc:98: error: 'Gnome::Conf' has not been declared
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/sycamorex/temp/agave-0.4.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sycamorex/temp/agave-0.4.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sycamorex/temp/agave-0.4.4'
make: *** [all] Error 2

I tried to find gconfmm.h. It seems it's not present on my system.
Any hints on that? Thank you.

harry edwards 07-04-2010 04:31 PM

Not a Slackware user, but, on other Linux variants the header files are normally supplied in the devel package of the same name e.g. gconfmm-devel.

sycamorex 07-04-2010 04:49 PM

Quote:

Originally Posted by harry edwards (Post 4023774)
Not a Slackware user, but, on other Linux variants the header files are normally supplied in the devel package of the same name e.g. gconfmm-devel.

Not when you compile a package from source. Thanks, though.

brianL 07-04-2010 05:23 PM

Quote:

Originally Posted by harry edwards (Post 4023774)
Not a Slackware user, but, on other Linux variants the header files are normally supplied in the devel package of the same name e.g. gconfmm-devel.

Slackware doesn't split its libs into runtime and development parts.

sycamorex 07-04-2010 05:37 PM

Interesting, when I removed gconfmm and tried to build the slack package manually, I got:

./configure --prefix=/usr --libdir=/usr/lib64 ---- OK
make ----OK
Code:

make install DESTDIR=/tmp/gconfmm
Making install in gconf/gconfmm
make[1]: Entering directory `/home/sycamorex/temp/gconfmm-2.28.2/gconf/gconfmm'
make[2]: Entering directory `/home/sycamorex/temp/gconfmm-2.28.2/gconf/gconfmm'
test -z "/usr/lib64" || /usr/bin/mkdir -p "/tmp/gconfmm/usr/lib64"
 /bin/sh ../../libtool  --mode=install /usr/bin/ginstall -c  libgconfmm-2.6.la '/tmp/gconfmm/usr/lib64'
libtool: install: /usr/bin/ginstall -c .libs/libgconfmm-2.6.so.1.0.6 /tmp/gconfmm/usr/lib64/libgconfmm-2.6.so.1.0.6
libtool: install: (cd /tmp/gconfmm/usr/lib64 && { ln -s -f libgconfmm-2.6.so.1.0.6 libgconfmm-2.6.so.1 || { rm -f libgconfmm-2.6.so.1 && ln -s libgconfmm-2.6.so.1.0.6 libgconfmm-2.6.so.1; }; })
libtool: install: (cd /tmp/gconfmm/usr/lib64 && { ln -s -f libgconfmm-2.6.so.1.0.6 libgconfmm-2.6.so || { rm -f libgconfmm-2.6.so && ln -s libgconfmm-2.6.so.1.0.6 libgconfmm-2.6.so; }; })
libtool: install: /usr/bin/ginstall -c .libs/libgconfmm-2.6.lai /tmp/gconfmm/usr/lib64/libgconfmm-2.6.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/include/gconfmm-2.6/gconfmm" || /usr/bin/mkdir -p "/tmp/gconfmm/usr/include/gconfmm-2.6/gconfmm"
 /usr/bin/ginstall -c -m 644 client.h entry.h schema.h value.h changeset.h init.h wrap_init.h callback.h value_listhelpers.h setinterface.h '/tmp/gconfmm/usr/include/gconfmm-2.6/gconfmm'
test -z "/usr/include/gconfmm-2.6/gconfmm/private" || /usr/bin/mkdir -p "/tmp/gconfmm/usr/include/gconfmm-2.6/gconfmm/private"
 /usr/bin/ginstall -c -m 644 private/client_p.h private/entry_p.h private/schema_p.h private/value_p.h private/changeset_p.h '/tmp/gconfmm/usr/include/gconfmm-2.6/gconfmm/private'
make[2]: Leaving directory `/home/sycamorex/temp/gconfmm-2.28.2/gconf/gconfmm'
make[1]: Leaving directory `/home/sycamorex/temp/gconfmm-2.28.2/gconf/gconfmm'
Making install in docs
make[1]: Entering directory `/home/sycamorex/temp/gconfmm-2.28.2/docs'
make[2]: Entering directory `/home/sycamorex/temp/gconfmm-2.28.2/docs'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/tmp/gconfmm/usr/share/doc/gconfmm-2.6/reference/html'
/usr/bin/perl -- "/usr/share/glibmm-2.4/doctool/doc-install.pl" --verbose --mode=0644 -l 'libsigc++-2.0.tag@../../../libsigc++-2.0/reference/html/' -l 'glibmm-2.4.tag@../../../glibmm-2.4/reference/html/' -l 'cairomm-1.0.tag@../../../cairomm-1.0/reference/html/' -t '/tmp/gconfmm/usr/share/doc/gconfmm-2.6/reference/html' --glob -- 'reference/html/*.css' 'reference/html/*.gif' 'reference/html/*.html' 'reference/html/*.png'
Can't open perl script "/usr/share/glibmm-2.4/doctool/doc-install.pl": No such file or directory
make[2]: *** [install-htmlref] Error 2
make[2]: Leaving directory `/home/sycamorex/temp/gconfmm-2.28.2/docs'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/sycamorex/temp/gconfmm-2.28.2/docs'
make: *** [install-recursive] Error 1

It turns out that /usr/share/glibmm* doesn't exist.
doc-install-pl doesn't exist either.

I wonder how src2pkg bypassed it. Glibmm is installed:
glibmm-2.24.2-x86_64-1gsb

Perhaps, it's something to do with GSB's build of glibmm?

pr_deltoid 07-04-2010 05:43 PM

<never mind>


All times are GMT -5. The time now is 04:28 PM.