FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 07-07-2012, 03:28 PM
caio bonvenuto
 
Default dbus problem for compile

Hey guys, I have a problem for make packages, the compilation. I have this problem in several packages...

one example:



In file included from ../xchat.h:3:0,
**************** from dbus-client.c:24:
/usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:4:0,

**************** from dbus-client.c:24:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:5:0,
**************** from dbus-client.c:24:

/usr/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:6:0,
**************** from dbus-client.c:24:
/usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly."

In file included from ../xchat.h:7:0,
**************** from dbus-client.c:24:
/usr/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only <glib.h> can be included directly."


Thanks for help,

cvibo

*sorry my english

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 07-07-2012, 09:14 PM
Fredrik Rinnestam
 
Default dbus problem for compile

On Sat, Jul 07, 2012 at 03:28:27PM +0000, caio bonvenuto wrote:
> Hey guys, I have a problem for make packages, the compilation. I have this
> problem in several packages...
>
> one example:
>
>
> In file included from ../xchat.h:3:0,
> > from dbus-client.c:24:
> > /usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can
> > be included directly."
> > In file included from ../xchat.h:4:0,
> > from dbus-client.c:24:
> > /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can
> > be included directly."
> > In file included from ../xchat.h:5:0,
> > from dbus-client.c:24:
> > /usr/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can
> > be included directly."
> > In file included from ../xchat.h:6:0,
> > from dbus-client.c:24:
> > /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h>
> > can be included directly."
> > In file included from ../xchat.h:7:0,
> > from dbus-client.c:24:
> > /usr/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only <glib.h>
> > can be included directly."
> >
>
> Thanks for help,
>
> cvibo
>
> *sorry my english

Can you please list the ports that fail to compile?

--

Fredrik Rinnestam
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 07-07-2012, 09:40 PM
caio bonvenuto
 
Default dbus problem for compile

On Sat, Jul 7, 2012 at 6:14 PM, Fredrik Rinnestam <fredrik@rinnestam.se> wrote:



Can you please list the ports that fail to compile?



yes, port: opt/xchat

and the software Ardour (ardour.org/ that same problem

thanks

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 07-08-2012, 08:00 AM
Juergen Daubert
 
Default dbus problem for compile

On Sat, Jul 07, 2012 at 03:28:27PM +0000, caio bonvenuto wrote:
> Hey guys, I have a problem for make packages, the compilation. I have this
> problem in several packages...
>
> one example:
>
> In file included from ../xchat.h:3:0,
> ���������������� from dbus-client.c:24:
> /usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h>
> can be included directly."

that's is not related to dbus but to our new glib. Attached patch for
xchat should fix it. You can do a similar approach for other gtk/glib
programs.


Greetings
Juergen

diff --git a/xchat/Pkgfile b/xchat/Pkgfile
index ba1cba5..d49c39d 100644
--- a/xchat/Pkgfile
+++ b/xchat/Pkgfile
@@ -6,16 +6,16 @@

name=xchat
version=2.8.8
-release=1
+release=2
source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.xz)

build() {
cd $name-$version
+ sed -i 's|<glib/.*.h>|<glib.h>|' src/common/{servlist.c,text.c,util.c,xchat.h}
./configure --prefix=/usr
--enable-openssl
--enable-perl
--enable-ipv6
- --disable-gnome
--disable-textfe
--disable-python
--disable-tcl
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 
Old 07-08-2012, 04:23 PM
caio bonvenuto
 
Default dbus problem for compile

On Sun, Jul 8, 2012 at 8:00 AM, Juergen Daubert <jue@jue.li> wrote:



that's is not related to dbus but to our new glib. Attached patch for

xchat should fix it. You can do a similar approach for other gtk/glib

programs.





Greetings

Juergen


Thanks for the patch. Simple and Worked. I'm learning. I go apply a similar in /opt/hal too.

Greetings
Caio


_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 

Thread Tools




All times are GMT. The time now is 07:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org