* [gentoo-user] Re: Compiling icewm with support for gnome2 menus
[not found] ` <4A4B09FE.8070501@rstahl.de>
@ 2009-07-01 12:59 ` José Romildo Malaquias
2009-07-01 22:26 ` Stroller
0 siblings, 1 reply; 2+ messages in thread
From: José Romildo Malaquias @ 2009-07-01 12:59 UTC (permalink / raw
To: Ralph Stahl, gentoo-user; +Cc: icewm-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Re: Compiling icewm with support for gnome2 menus
2009-07-01 12:59 ` [gentoo-user] Re: Compiling icewm with support for gnome2 menus José Romildo Malaquias
@ 2009-07-01 22:26 ` Stroller
0 siblings, 0 replies; 2+ messages in thread
From: Stroller @ 2009-07-01 22:26 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-01 22:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090630174239.GA10478@malaquias.DHCP-GERAL>
[not found] ` <4A4B09FE.8070501@rstahl.de>
2009-07-01 12:59 ` [gentoo-user] Re: Compiling icewm with support for gnome2 menus José Romildo Malaquias
2009-07-01 22:26 ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox