On Wed, Jul 01, 2009 at 09:02:22AM +0200, Ralph Stahl wrote:
> 
> 
> José Romildo Malaquias schrieb:
> > Hello.
> > 
> > I want the gnome2 menus available in IceWM. So I tried to compile IceWM
> > with --enable-menus-gnome2, but it failed.
> > 
> > I am running Gentoo Linux and I have gnome installed on my system.
> > 
> > The errors at comilation time are shown below.
> > 
> > $ ./configure --enable-menus-gnome2
> > [...]
> > Build targets: base nls
> > Applications: icewm icewm-session icesh icewmhint icewmbg icewmtray icehelp 
> > icewm-menu-gnome2
> > Image library: Imlib
> > Audio support: 
> > Features: i18n nls shaped-decorations xfreetype
> > Paths: PREFIX: /usr/local
> >        BINDIR: /usr/local/bin
> >        LOCDIR: /usr/local/share/locale
> >        LIBDIR: /usr/local/share/icewm
> >        CFGDIR: /etc/icewm
> >        KDEDIR: /usr/local/share
> >        DOCDIR: /usr/local/share/doc
> >        MANDIR: /usr/local/share/man
> > 
> > $ make
> > [..]
> >   CXX      gnome2.o
> > gnome2.cc:25:19: error: gnome.h: No such file or directory
> > gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file or 
> > directory
> > In file included from ypaths.h:12,
> >                  from yapp.h:6,
> >                  from gnome2.cc:19:
> > ypaint.h: In member function 'int Graphics::drawable() const':
> > ypaint.h:293: warning: conversion to 'int' from 'const Drawable' may alter 
> > its value
> > gnome2.cc: In member function 'void GnomeMenu::addEntry(const char*, const 
> > char*, int, bool)':
> > gnome2.cc:89: warning: conversion to 'int' from 'size_t' may alter its value
> > gnome2.cc:122: error: 'gnome_pixmap_file' was not declared in this scope
> > gnome2.cc: In member function 'void GnomeMenu::populateMenu(const char*)':
> > gnome2.cc:157: warning: conversion to 'int' from 'size_t' may alter its 
> > value
> > gnome2.cc:176: warning: conversion to 'int' from 'size_t' may alter its 
> > value
> > gnome2.cc:227: warning: conversion to 'int' from 'size_t' may alter its 
> > value
> > gnome2.cc:295: warning: conversion to 'int' from 'size_t' may alter its 
> > value
> > gnome2.cc:297: warning: conversion to 'int' from 'size_t' may alter its 
> > value
> > gnome2.cc:305: warning: conversion to 'int' from 'long unsigned int' may 
> > alter its value
> > gnome2.cc:307: warning: conversion to 'int' from 'long unsigned int' may 
> > alter its value
> > gnome2.cc: In function 'int main(int, char**)':
> > gnome2.cc:351: error: 'gnome_vfs_init' was not declared in this scope
> > make[1]: *** [gnome2.o] Error 1
> > make[1]: Leaving directory `/var/tmp/icewm-1.2.37/src'
> > make: *** [base] Error 2
> > 
> > 
> > Any clues?
> 
> Hi,
> 
> maybe the gnome sources (...-devel) are not installed? "error: gnome.h:
> No such file or directory" is an indication for that.

This is not the case, as I am running Gentoo Linux, whose packages are
not split into devel and non-devel variants. The include files and
development libraries are installed.

$ locate gnome.h
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h
/usr/include/libgnome-2.0/libgnome/libgnome.h
/usr/include/libgnomeui-2.0/gnome.h
/usr/share/gtk-doc/html/libgnome/libgnome.html
/usr/share/gtk-doc/html/gnome-desktop/libgnome.html

Am I missing something here? Any more clues?

Romildo

Reply via email to