Re: Compiling balsa against Gnome 1.4 on Solaris 8



On 2001-04-09 03:54 Warren Hughes - SolNet Ltd (Sun ISO) wrote:
> Hi all, I am desp. to get a decent IMAP client that is not bloatware
> or
> crashware. When I compile Balsa 1.1.3 I get this:
> 
> gcc -I/opt/local/include -L/opt/local/lib -g -O2 -I/opt/gnome/include
> [...]
> -I/opt/gnome-1.4/include/gconf/1 -DGTKHTML_HAVE_GCONF -o balsa
> -lICE -lgnome -lgnomesupport -lesd -lresolv -lrt -laudiofile -ldb
> [...]
> -lgnomecanvaspixbuf -lunicode -lgconf-gtk-1 -lgconf-1 -loaf -lpopt
> [...]
> gconf_error_destroy                 main.o
> dbopen                              /opt/gnome-1.4/lib/libgnome.so
> ld: fatal: Symbol referencing errors. No output written to balsa

This looks like a library mismatch and a problem in configure
script/code to me. both libdb and libgnomeconf-1 are on the list of
linked libraries so I find it difficult to understand why these
libraries do not contain needed functions. In my case, dbopen function
is in

/usr/lib/libdb.so.2 from package db1-1.85

gconf_error_destroy is something more serious. It seems that gconf
interface has changed since we tested balsa against it and it does not
export gconf_error_destroy function any more (at least as of
GConf-1.0.0). Temporary solution is to disable GTKHTML but it would be
better to find out what should replace following sequence from
src/main.c

    if (!gconf_init(argc, argv, &gconf_error))
        gconf_error_destroy(gconf_error);
    gconf_error = NULL;

Having looked at examples in gconf tarball, I think one could try 
   if (!gconf_init(argc, argv, &gconf_error))
	g_error_free(gconf_error);
   gconf_error = NULL;

Can you verify it, please?

/Pawel

-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




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