LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-13-2012, 12:30 AM   #1
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Building xchat from Slack 14 source and slackbuild gives error


Hello,

Im trying to build a new Xchat package from Xchat source and its slackbuild from the Slackware 14 source dvd, but when I run the slackbuild I get these errors:


Code:
make[5]: *** [dbus-client.o] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -march=i486 -mtune=i686 -Wall -pipe -g -Wno-pointer-sign -funsigned-char -o example example.o -pthread -Wl,--export-dynamic -pthread  /usr/lib/libdbus-glib-1.so /usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so -lz -lresolv /usr/lib/libdbus-1.so /usr/lib/libgobject-2.0.so /usr/lib/libffi.so /usr/lib/libgthread-2.0.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lssl -lcrypto -ldl /usr/lib/libglib-2.0.so -lpthread -lrt -pthread
make[5]: Leaving directory `/tmp/xchat-2.8.8/src/common/dbus'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/xchat-2.8.8/src/common/dbus'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/xchat-2.8.8/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xchat-2.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xchat-2.8.8'
make: *** [all] Error 2
make  all-recursive
make[1]: Entering directory `/tmp/xchat-2.8.8'
Making all in po
make[2]: Entering directory `/tmp/xchat-2.8.8/po'
make[2]: Leaving directory `/tmp/xchat-2.8.8/po'
Making all in intl
make[2]: Entering directory `/tmp/xchat-2.8.8/intl
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/xchat-2.8.8/intl'
Making all in src
make[2]: Entering directory `/tmp/xchat-2.8.8/src'
Making all in pixmaps
make[3]: Entering directory `/tmp/xchat-2.8.8/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/xchat-2.8.8/src/pixmaps'
Making all in common
make[3]: Entering directory `/tmp/xchat-2.8.8/src/common'
Making all in dbus
make[4]: Entering directory `/tmp/xchat-2.8.8/src/common/dbus'
make  all-am
make[5]: Entering directory `/tmp/xchat-2.8.8/src/common/dbus'
depbase=`echo dbus-client.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -O2 -march=i486 -mtune=i686 -Wall -pipe -g -Wno-pointer-sign -funsigned-char    -MT dbus-client.o -MD -MP -MF $depbase.Tpo -c -o dbus-client.o dbus-client.c &&\
mv -f $depbase.Tpo $depbase.Po
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."
make[5]: *** [dbus-client.o] Error 1
make[5]: Leaving directory `/tmp/xchat-2.8.8/src/common/dbus'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/xchat-2.8.8/src/common/dbus'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/xchat-2.8.8/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xchat-2.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xchat-2.8.8'
make: *** [all] Error 2
 
Old 12-13-2012, 02:25 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,507

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
That package hasn't been updated since 2010, so i'm guessing it would need a patch if you want to rebuild it again
Something like this one from ArchLinux
 
Old 12-13-2012, 05:27 AM   #3
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 248

Rep: Reputation: Disabled
You need to do this.
Tar xchat then go to xchat-2.8.8 dir and do this

sed -i 's|<glib/.*\.h>|<glib.h>|' src/common/{servlist.c,text.c,util.c,xchat.h}

and then put configure options from slackbuild to build the package
 
Old 12-13-2012, 07:05 AM   #4
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
Thanks
 
Old 12-13-2012, 07:41 AM   #5
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 248

Rep: Reputation: Disabled
Quote:
Originally Posted by clifford227 View Post
Thanks
You're welcome
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error compiling Thunderbird 8.0 from source using 7.0.1 SlackBuild-script mats_b_tegner Slackware 2 11-11-2011 01:00 PM
[SOLVED] error building glade3 slackbuild? trademark91 Slackware 5 01-21-2011 10:31 PM
[SOLVED] id3-0.78 homepage for source code 404 error - slackbuild fails BoydRice Slackware 3 12-19-2010 02:07 AM
building X from source code on a Slack Box User0x45 Slackware 6 07-23-2008 03:17 PM
error compiling lablgtk on Slack 11 using SlackBuild from slackbuilds.org BCarey Slackware 1 02-22-2008 10:57 AM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration