Gentoo Archives: gentoo-user

From: "José Romildo Malaquias" <j.romildo@×××××.com>
To: Ralph Stahl <post@××××××.de>, gentoo-user@l.g.o
Cc: icewm-user@×××××××××××××××××.net
Subject: [gentoo-user] Re: Compiling icewm with support for gnome2 menus
Date: Wed, 01 Jul 2009 13:43:17
Message-Id: 20090701125914.GA15301@malaquias.DHCP-GERAL
1 On Wed, Jul 01, 2009 at 09:02:22AM +0200, Ralph Stahl wrote:
2 >
3 >
4 > José Romildo Malaquias schrieb:
5 > > Hello.
6 > >
7 > > I want the gnome2 menus available in IceWM. So I tried to compile IceWM
8 > > with --enable-menus-gnome2, but it failed.
9 > >
10 > > I am running Gentoo Linux and I have gnome installed on my system.
11 > >
12 > > The errors at comilation time are shown below.
13 > >
14 > > $ ./configure --enable-menus-gnome2
15 > > [...]
16 > > Build targets: base nls
17 > > Applications: icewm icewm-session icesh icewmhint icewmbg icewmtray icehelp icewm-menu-gnome2
18 > > Image library: Imlib
19 > > Audio support:
20 > > Features: i18n nls shaped-decorations xfreetype
21 > > Paths: PREFIX: /usr/local
22 > > BINDIR: /usr/local/bin
23 > > LOCDIR: /usr/local/share/locale
24 > > LIBDIR: /usr/local/share/icewm
25 > > CFGDIR: /etc/icewm
26 > > KDEDIR: /usr/local/share
27 > > DOCDIR: /usr/local/share/doc
28 > > MANDIR: /usr/local/share/man
29 > >
30 > > $ make
31 > > [..]
32 > > CXX gnome2.o
33 > > gnome2.cc:25:19: error: gnome.h: No such file or directory
34 > > gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file or directory
35 > > In file included from ypaths.h:12,
36 > > from yapp.h:6,
37 > > from gnome2.cc:19:
38 > > ypaint.h: In member function 'int Graphics::drawable() const':
39 > > ypaint.h:293: warning: conversion to 'int' from 'const Drawable' may alter its value
40 > > gnome2.cc: In member function 'void GnomeMenu::addEntry(const char*, const char*, int, bool)':
41 > > gnome2.cc:89: warning: conversion to 'int' from 'size_t' may alter its value
42 > > gnome2.cc:122: error: 'gnome_pixmap_file' was not declared in this scope
43 > > gnome2.cc: In member function 'void GnomeMenu::populateMenu(const char*)':
44 > > gnome2.cc:157: warning: conversion to 'int' from 'size_t' may alter its value
45 > > gnome2.cc:176: warning: conversion to 'int' from 'size_t' may alter its value
46 > > gnome2.cc:227: warning: conversion to 'int' from 'size_t' may alter its value
47 > > gnome2.cc:295: warning: conversion to 'int' from 'size_t' may alter its value
48 > > gnome2.cc:297: warning: conversion to 'int' from 'size_t' may alter its value
49 > > gnome2.cc:305: warning: conversion to 'int' from 'long unsigned int' may alter its value
50 > > gnome2.cc:307: warning: conversion to 'int' from 'long unsigned int' may alter its value
51 > > gnome2.cc: In function 'int main(int, char**)':
52 > > gnome2.cc:351: error: 'gnome_vfs_init' was not declared in this scope
53 > > make[1]: *** [gnome2.o] Error 1
54 > > make[1]: Leaving directory `/var/tmp/icewm-1.2.37/src'
55 > > make: *** [base] Error 2
56 > >
57 > >
58 > > Any clues?
59 >
60 > Hi,
61 >
62 > maybe the gnome sources (...-devel) are not installed? "error: gnome.h:
63 > No such file or directory" is an indication for that.
64
65 This is not the case, as I am running Gentoo Linux, whose packages are
66 not split into devel and non-devel variants. The include files and
67 development libraries are installed.
68
69 $ locate gnome.h
70 /usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h
71 /usr/include/libgnome-2.0/libgnome/libgnome.h
72 /usr/include/libgnomeui-2.0/gnome.h
73 /usr/share/gtk-doc/html/libgnome/libgnome.html
74 /usr/share/gtk-doc/html/gnome-desktop/libgnome.html
75
76 Am I missing something here? Any more clues?
77
78 Romildo

Replies

Subject Author
Re: [gentoo-user] Re: Compiling icewm with support for gnome2 menus Stroller <stroller@××××××××××××××××××.uk>