gnobog-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnobog-devel] Compile errors under SuSE 9.2 pro


From: Frédéric LESPEZ
Subject: Re: [Gnobog-devel] Compile errors under SuSE 9.2 pro
Date: Sat, 26 Aug 2006 10:42:48 +0200

Hi,

Le jeudi 24 août 2006 à 12:52 +0100, Keith Roberts a écrit :
> Hi all. Sorry for the lengthy post, but I really need to 
> sort out my bookmark files, and I'm trying to compile Gnobog 
> but get the following errors:
> 
> gnobog_main.c:23:25: glade/glade.h: No such file or 
> directory
> gnobog_main.c: In function `main':
> gnobog_main.c:60: warning: implicit declaration of function 
> `glade_gnome_init'
> make[2]: *** [gnobog_main.o] Error 1
> make[2]: Leaving directory 
> `/downloads/gnobog/0.4.3/gnobog-0.4.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/downloads/gnobog/0.4.3/gnobog-0.4.3'
> make: *** [all-recursive-am] Error 2
> karsites:/downloads/gnobog/0.4.3/gnobog-0.4.3 #
> 
> The glade/glade.h file is missing.
> 
> Smart 0.42 tells me that glade is installed under:
> 
> /opt/gnome/include/libglade-1.0/glade/glade-build.h
> /opt/gnome/include/libglade-1.0/glade/glade-widget-tree.h
> /opt/gnome/include/libglade-1.0/glade/glade-xml.h
> /opt/gnome/include/libglade-1.0/glade/glade.h
> 
> So I copy the four files from above to the
> 
> /downloads/gnobog/0.4.3/gnobog-0.4.3/glade directory, 
> and then get the following warnings and errors:

Generally it isn't sufficient to copy .h files.
For library, you also need .a and .la files (found in lib directories).

> <...>
> `/downloads/gnobog/0.4.3/gnobog-0.4.3/src'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..         
> -I/usr/local/include         -I/opt/gnome/include/gnome-1.0 
> -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include 
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include 
> -I/opt/gnome/include/orbit-1.0 -I/opt/gnome/include 
> -I/opt/gnome/include/gtk-1.2 -I/usr/X11R6/include         
> -DG_LOG_DOMAIN=\"Gnobog\"         
> -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"         
> -DGNOBOG_GLADEDIR=\""/usr/local/share/gnobog"\"         
> -DGNOBOG_PIXMAPSDIR=\""/usr/local/share/pixmaps"\"      
> -I../intl         -I../intl     
> -I/opt/gnome/include/libglade-1.0/glade/ -Wall -Wunused  -c 

Your glade .h files were not found because it should be
-I/opt/gnome/include/libglade-1.0 instead of
-I/opt/gnome/include/libglade-1.0/glade/

> <...>
> /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
> cannot find -ldb1
cannot find -ldb1 : You need to install the libdb1 developpement
package. I don't know its name in Suse.

Hope it helps !

Fred.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]