Re: [GnomeMeeting-list] gconf (the caveat of bleeding edge)



Am Wednesday 27 March 2002 18:04 schrieb Guilhem Tardy:
> [root farquaad]# gconf-config --libs
> -L/opt/gnome/lib -L/usr/lib -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP
> -lORBitutil -lglib -lm
>
> All this is at the right place.

This seems correct, so let's continue the quest for errors ...

> I also updated gconf with the RPM you pointed me to (1.0.7), although I
> didn't find any gconf-devel there.
gconf has no seperate devel package, everything is included in the main 
package (Try 'rpm -ql gconf | less' and you will see).

> The error message remains the same, and I checked that the corresponding
> library (/opt/gnome/lib/libgconf-gtk-1.so) is there as it should. At this
> point, I have no other idea.
>
> Guilhem.
>
>
> gnomemeeting.o: In function `main':
> /home/pci2103/gmeeting/src/gnomemeeting.cpp:353: undefined reference to
> `gconf_init'
> /opt/gnome/lib/libgconf-gtk-1.so: undefined reference to `gconf_valid_key'
> /opt/gnome/lib/libgconf-gtk-1.so: undefined reference to
> `gconf_engine_dir_exists'
> /opt/gnome/lib/libgconf-gtk-1.so: undefined reference to
> `gconf_key_is_below'
You are misinterpreting this error message - the linker tries to find a symbol 
named gconf_valid_key, which is _referenced_ by libgconf-gtk-1.so and IIRC 
this can be found in libgconf-1 (not -gtk-). The problem is, that libgconf is 
not in the list of the libraries to link to. Look into the command which is 
executed (You posted it tuesday evening), there is no '-lgconf-1'. As it is 
in the output of 'gconf-config --libs', it seems to be lost between configure 
and make. Are you sure that gconf-config is found by configure - look at the 
output of ./configure! Also the point you had to copy the gconf-includes 
points in the direction that something is wrong with gconf-config, as the 
path to this includes is also added to the compiler options with 
'gconf-config --cflags' (by the means of ./configure).

You can also look into the Makefile in the main directory, search for 'GCONF', 
there you be four rather long lines starting with GCONF ...

Be sure you have checked everything I mentioned above, and also in my first 
mail, I think this should give you some very good hints what goes wrong.

After thursday afternoon I will be out for holydays, maybe you will get your 
next answers only past next tuesday.

Good luck,
Stefan

>
> --- Stefan Bruens <lurch gmx li> wrote:
> > Am Tuesday 26 March 2002 22:39 schrieb Guilhem Tardy:
> > > Hi all,
> > >
> > > I am pretty disappointed by the GConf support in the latest version of
> > > GM, because to this date I couldn't run GM on RedHat (hangs at
> > > startup), nor compile it on Suse.
> > >
> > > For the latter, I tried to compile GM 0.85.1 on Suse7.3, which has
> > > gconf 1.04. I had to copy all .h files from /opt/gnome/include/gconf/1
> > > to /opt/gnome/include/gconf/ , though. Now, I come across the following
> > > error at the linking stage:
> >
> > The list of the libraries is missing some, which results in unresolved
> > symbols. I think your gconf-config is not working correctly. Look into
> > config.log, there should be some lines like
> > configure:4128: checking for gconf-config
> > configure:4145: found /opt/gnome/bin/gconf-config
> > configure:4157: result: /opt/gnome/bin/gconf-config
> > configure:4165: checking for GCONF - version >= 1.0
> > configure:4181: result: yes
> >
> > If you don't have this, be sure you gave sufficient options to configure,
> > for
> >
> > reference this are my options:
> >  ./configure --enable-maintainer-mode --enable-compile-warnings
> > --enable-maintainer-mode --enable-compile-warnings
> > --sysconfdir=/etc/opt/gnome --prefix=/opt/gnome
> > --datadir=/opt/gnome/share --mandir=/usr/share/man
> > --with-gnome=/opt/gnome
> > --with-gnome-includes=/opt/gnome/include --with-gnome-libs=/opt/gnome/lib
> > --with-ptlib-includes=/usr/lib/pwlib/include/ptlib
> > --with-ptlib-libs=/usr/lib/pwlib/lib
> > --with-openh323-includes=/usr/lib/openh323/include
> >
> > also check the output from
> > gconf-config --libs
> >
> > Maybe there is also something wrong with gconf 1.04 itself, I'm using
> > 1.07. You can find a package for it on SuSEs ftp server or its mirrors,
> > it located under supplementary/gnome/
> >
> > Good luck,
> > Stefan
> >
> > --
> > Stefan Brüns  /  Kastanienweg 6 - Zimmer 1206  /  52074 Aachen
> > mailto:lur_x gmx net  http://www.kawo1.rwth-aachen.de/~lurchi/
> >       fax: +49-89-1488204565   phone: +49-160-7532733
> >
> > _______________________________________________
> > Gnomemeeting-list mailing list
> > Gnomemeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
> _______________________________________________
> Gnomemeeting-list mailing list
> Gnomemeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list

-- 
Stefan Brüns  /  Kastanienweg 6 - Zimmer 1206  /  52074 Aachen     
mailto:lur_x gmx net  http://www.kawo1.rwth-aachen.de/~lurchi/
      fax: +49-89-1488204565   phone: +49-160-7532733 




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