On 1 Jul 2009, at 13:59, José Romildo Malaquias wrote:
On Wed, Jul 01, 2009 at 09:02:22AM +0200, Ralph Stahl wrote:
José Romildo Malaquias schrieb:
...
$ ./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
...
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?
You're running Gentoo Linux, so USE flags should manage the parameters
(such as "--enable-menus-gnome2") to `configure` for you.
USE flags will normally ensure the correct dependencies - one of which
may provide gnome.h - are pulled in.
Alternatively, it may be that `configure` does not know to look in /
usr/include/libgnomeui-2.0/ for gnome.h. You may be able to tell
configure to look in there, using something like --with-libs=/usr/
include/libgnomeui-2.0/ (assuming this is the correct gnome.h)
Stroller.