Re: Build related problems



Am 21.01.06 22:47 schrieb(en) Misu Moldovan:
rfc3156.c:31:31: libgnome/libgnome.h: No such file or directory
make[3]: *** [rfc3156.o] Error 1

Is Balsa looking for the old libgnome 1.0 when configured with "--without-gnome"? That's a bit odd...

Ouch - a leftover from stone age...

3) "make install" will try to install files outside of the configured prefix. In my case it was "/usr/local" and I have the rights to write there as a user, but "make install" failed with:

test -z "/usr/share/icons/hicolor/48x48/mimetypes" || mkdir -p -- . "/usr/share/icons/hicolor/48x48/mimetypes"

That's a problem with some extra mime type icons (mostly crypto related) which apparently /must/ be installed in gtk's hicolour folder to be recognised properly - at least I didn't find a way to install them somewhere else /and/ let Gtk find them.

I attach a small patch which fixes #1 and adds a new configure option to switch off the installation of the mime type icons.

Opinions?

Cheers, Albrecht.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -  mailto:albrecht dress arcor de
  GnuPG public key:  http://www.mynetcologne.de/~nc-dreszal/pubkey.asc
_________________________________________________________________________
Index: configure.in
===================================================================
RCS file: /cvs/gnome/balsa/configure.in,v
retrieving revision 1.316
diff -u -r1.316 configure.in
--- configure.in	14 Jan 2006 00:25:11 -0000	1.316
+++ configure.in	22 Jan 2006 11:17:44 -0000
@@ -644,6 +644,14 @@
 dnl determine the base folder for installing the extra icons
 dnl ###########################################################################
 
+AC_ARG_ENABLE(extra-mimeicons,
+        AC_HELP_STRING([--enable-extra-mimeicons],
+                       [Install extra MIME icons (needs write access to the gtk+ icon folder, default=yes)]),[
+	install_mimeicons=$enableval
+],[
+	install_mimeicons=yes
+])
+AM_CONDITIONAL([INSTALL_MIME_ICONS], [test $install_mimeicons = "yes"])
 HICOLOR_ICON_DIR=`$PKG_CONFIG --variable=prefix gtk+-2.0`/share/icons/hicolor
 AC_SUBST(HICOLOR_ICON_DIR)
 dnl however, we do not mess with the icon caches - it messes up more
@@ -691,6 +699,7 @@
 echo "              Use GtkSpell: $with_gtkspell"
 echo "         Use GtkSourceView: $with_gtksourceview"
 echo "              Use Compface: $with_compface"
+echo "  Install extra MIME icons: $install_mimeicons"
 dnl echo "                  Use SASL: $need_sasl"
 echo ""
 
Index: images/Makefile.am
===================================================================
RCS file: /cvs/gnome/balsa/images/Makefile.am,v
retrieving revision 1.12
diff -u -r1.12 Makefile.am
--- images/Makefile.am	23 Oct 2005 19:35:52 -0000	1.12
+++ images/Makefile.am	22 Jan 2006 11:17:44 -0000
@@ -1,4 +1,8 @@
+if INSTALL_MIME_ICONS
 SUBDIRS = mimetypes 16x16 24x24
+else
+SUBDIRS = 16x16 24x24
+endif
 
 # balsa_logo.png used by About menu (small one).
 # balsa-logo.png used by the init-druid
Index: libbalsa/rfc3156.c
===================================================================
RCS file: /cvs/gnome/balsa/libbalsa/rfc3156.c,v
retrieving revision 1.37
diff -u -r1.37 rfc3156.c
--- libbalsa/rfc3156.c	27 Sep 2005 13:28:44 -0000	1.37
+++ libbalsa/rfc3156.c	22 Jan 2006 11:17:46 -0000
@@ -28,8 +28,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#include <libgnome/libgnome.h>
-
 #include "libbalsa.h"
 #include "libbalsa_private.h"
 #include "rfc3156.h"

Attachment: pgpmTLYLFlX3Y.pgp
Description: PGP signature



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