LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2010, 12:56 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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.

Last edited by sycamorex; 07-04-2010 at 12:58 PM.
 
Old 07-04-2010, 04:31 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
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.
 
Old 07-04-2010, 04:49 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by harry edwards View Post
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.
 
Old 07-04-2010, 05:23 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by harry edwards View Post
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.
 
Old 07-04-2010, 05:37 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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?
 
Old 07-04-2010, 05:43 PM   #6
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
<never mind>

Last edited by pr_deltoid; 07-04-2010 at 06:16 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does gstp-python compile on slackware64 13.1 ? NetNightmare Slackware 6 06-21-2010 02:24 PM
[SOLVED] Can't compile tolua++ in slackware64-current Daedra Slackware 1 03-23-2010 08:04 AM
Unable to compile FileZilla on Slackware64 AlvaroG Slackware 4 11-02-2009 02:00 PM
Kernel Compile and Slackware64 forum1793 Slackware 8 05-30-2009 07:27 AM
gtkmm, libglademm, gconfmm Prada Linux - Software 1 04-17-2007 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration