! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compiling error libxfce4ui
Status:
CLOSED: FIXED
Product:
Libxfce4ui
Component:
General

Comments

Description Jos van Wolput 2008-07-16 04:46:00 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: 

When compiling libxfce4ui (revision 27308) with gcc4.3 I get the following error:
/src/xfce4/libxfce4ui$ make
In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26,
                 from /usr/include/gtk-2.0/gdk/gdk.h:52,
                 from xfce-execute.c:30:
/usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly."
make[3]: *** [libxfce4ui_1_la-xfce-execute.lo] Error 1


Reproducible: Always
Comment 1 Nick Schermer editbugs 2008-07-16 08:29:18 CEST
It looks like a problem in glib, do you have the latest unstable release of glib installed?

Will take a look at it tonight.
Comment 2 Jos van Wolput 2008-07-16 08:58:50 CEST
(In reply to comment #1)
> It looks like a problem in glib, do you have the latest unstable release of
> glib installed?
> 
> Will take a look at it tonight.
> 

I am using Debian/Sid upgraded to their latest releases.
That error shows up quite a long time, not just with the latest revision!
Compiling the other xfce4 items doesn't show that error.
Comment 3 Nick Schermer editbugs 2008-07-16 17:40:06 CEST
Removed the single include definitions from the makefile, that should fix it, although I can't reprocude it here with the latest Gtk/GLib (unstable).

Please reopen if you still have problems after rev. 27312.
Comment 4 Jos van Wolput 2008-07-17 00:37:36 CEST
(In reply to comment #3)
> Removed the single include definitions from the makefile, that should fix it,
> although I can't reprocude it here with the latest Gtk/GLib (unstable).
> 
> Please reopen if you still have problems after rev. 27312.
> 

It's fixed, thank you very much.
Btw.I am using libglib2.0-0 v.2.17.3-2 (Debian/experimental)!
Comment 5 Nick Schermer editbugs 2008-07-17 06:24:15 CEST
Well I was a wrong about glib, gdk is included in gtk (doh), but I won't add the single_includes again.

Bug #4233

Reported by:
Jos van Wolput
Reported on: 2008-07-16
Last modified on: 2009-07-15

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information