1 |
On 1 Jul 2009, at 13:59, José Romildo Malaquias wrote: |
2 |
> On Wed, Jul 01, 2009 at 09:02:22AM +0200, Ralph Stahl wrote: |
3 |
>> José Romildo Malaquias schrieb: |
4 |
>>> ... |
5 |
>>> |
6 |
>>> $ ./configure --enable-menus-gnome2 |
7 |
>>> [...] |
8 |
>>> Build targets: base nls |
9 |
>>> Applications: icewm icewm-session icesh icewmhint icewmbg |
10 |
>>> icewmtray icehelp icewm-menu-gnome2 |
11 |
>>> Image library: Imlib |
12 |
>>> Audio support: |
13 |
>>> Features: i18n nls shaped-decorations xfreetype |
14 |
>>> Paths: PREFIX: /usr/local |
15 |
>>> BINDIR: /usr/local/bin |
16 |
>>> LOCDIR: /usr/local/share/locale |
17 |
>>> LIBDIR: /usr/local/share/icewm |
18 |
>>> CFGDIR: /etc/icewm |
19 |
>>> KDEDIR: /usr/local/share |
20 |
>>> DOCDIR: /usr/local/share/doc |
21 |
>>> MANDIR: /usr/local/share/man |
22 |
>>> |
23 |
>>> $ make |
24 |
>>> [..] |
25 |
>>> CXX gnome2.o |
26 |
>>> gnome2.cc:25:19: error: gnome.h: No such file or directory |
27 |
>>> gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file |
28 |
>>> or directory |
29 |
>>> ... |
30 |
>> maybe the gnome sources (...-devel) are not installed? "error: |
31 |
>> gnome.h: |
32 |
>> No such file or directory" is an indication for that. |
33 |
> |
34 |
> This is not the case, as I am running Gentoo Linux, whose packages are |
35 |
> not split into devel and non-devel variants. The include files and |
36 |
> development libraries are installed. |
37 |
> |
38 |
> $ locate gnome.h |
39 |
> /usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h |
40 |
> /usr/include/libgnome-2.0/libgnome/libgnome.h |
41 |
> /usr/include/libgnomeui-2.0/gnome.h |
42 |
> /usr/share/gtk-doc/html/libgnome/libgnome.html |
43 |
> /usr/share/gtk-doc/html/gnome-desktop/libgnome.html |
44 |
> |
45 |
> Am I missing something here? Any more clues? |
46 |
|
47 |
You're running Gentoo Linux, so USE flags should manage the parameters |
48 |
(such as "--enable-menus-gnome2") to `configure` for you. |
49 |
|
50 |
USE flags will normally ensure the correct dependencies - one of which |
51 |
may provide gnome.h - are pulled in. |
52 |
|
53 |
Alternatively, it may be that `configure` does not know to look in / |
54 |
usr/include/libgnomeui-2.0/ for gnome.h. You may be able to tell |
55 |
configure to look in there, using something like --with-libs=/usr/ |
56 |
include/libgnomeui-2.0/ (assuming this is the correct gnome.h) |
57 |
|
58 |
Stroller. |