Tuxicity's source

January 7, 2007

Compile Xchat-2.8.0.deb with checkinstall in Ubuntu

Filed under: Kubuntu, Tuxicity, Ubuntu — tuxicity @ 2:10 pm

Xchat-2.8.0 came out a few days ago.
It has a new feature; a configurable system tray icon.
I installed it in Edgy using the CLI:

First make sure you have the multiverse and universe repositories set up.

sudo apt-get install fakeroot build-essential checkinstall
sudo apt-get build-dep xchat

if you see this message :

You must put some ‘source’ URIs in your sources.list

you have to uncomment (remove the # from) the deb-src lines in /etc/apt/sources.list with your preferred editor

sudo “your preferred editor” /etc/apt/sources.list

For KDE usually kate is used, for Gnome gedit is a common editor, a nice command line editor is nano.

Now in your console:

wget http://xchat.org/files/source/2.8/xchat-2.8.0.tar.bz2
tar -xvjf xchat-2.8.0.tar.bz2
cd xchat-2.8.0/
./configure
make
fakeroot checkinstall (simply hit enter for any question)
sudo dpkg -i xchat_2.8.0-1_i386.deb

(re)start Xchat and have fun with your latest version of xchat 🙂

.debs made with checkinstall are for personal usage only.

Advertisements

9 Comments »

  1. and what do you need to have the tcl plugin? When I configure it only shows this:
    xchat 2.8.0

    Building GTK+ Interface …. : yes
    Building TEXT Interface …. : no

    PLUGINS: Perl: yes Python: yes TCL: no

    mmx tinting ……… : yes spelling ………….. : static
    XShm tinting …….. : no plugin interface …… : yes
    text backend …….. : pango nls/gettext ……….. : yes
    openssl support ….. : yes ipv6 support ………. : no
    dbus support …….. : yes msproxy ntlm (ISA) .. : no

    The binary will be installed in /usr/local/bin

    Thanks

    Comment by Marzio-Dance — January 13, 2007 @ 7:42 am

  2. Marzio-Dance:

    tcl8.0 is in the universe repository:

    “sudo apt-get install tcl8.0-dev”
    should resolve your missing tcl plugin

    Thanks for adressing this. 🙂

    Comment by tuxicity — January 13, 2007 @ 8:18 am

  3. Thanks, that almost didi it.

    Now I get error when I’m making the tcl plugin. Here’s the output:
    make[3]: *** [tclplugin.lo] Error 1
    make[3]: Leaving directory `/home/xenon/Temp/xchat-2.8.0.kubuntu/plugins/tcl’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/xenon/Temp/xchat-2.8.0.kubuntu/plugins’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/xenon/Temp/xchat-2.8.0.kubuntu’
    make: *** [all] Error 2

    Thanks for helping me out

    Comment by Marzio-Dance — January 13, 2007 @ 11:14 pm

  4. @ Marzio-Dance

    use:

    sudo apt-get install tcl8.4 tcl8.4-dev

    and ./configure –enable-tcl=/usr/lib/tcl8.4

    and solve 😛

    Comment by Nekos — January 15, 2007 @ 4:00 pm

  5. Nekos, thanks for helping out 🙂

    Comment by tuxicity — January 15, 2007 @ 4:04 pm

  6. Thanks for your comment Nekos, but when I try “./configure –enable-tcl=/usr/lib/tcl8.4”, I get “configure: error: invalid variable name: –enable-tcl”. I have tcl8-8.4 with all devs, so I’m not sure why it’s not working. I’ve been trying to install XChat 2.8 for the past week.

    Comment by Ghozt — January 16, 2007 @ 6:16 am

  7. xchat2.8 is also available in feisty now, that means that if you set your “deb-src http://” lines temporarily to feisty in your sources.list,
    and do :

    sudo apt-get update
    sudo apt-get build-dep xchat (installs the needed dependencies)
    fakeroot apt-get source -b xchat (builds the package)
    sudo dpkg -i “the_created_package”

    the xchat2.8.deb created should have all needed plugins.

    Comment by tuxicity — January 16, 2007 @ 6:50 am

  8. @Ghozt

    the correct sintax is:

    http://phpfi.com/194164

    Comment by Nekos — January 16, 2007 @ 3:49 pm

  9. Thanks Nekos,

    That made it work 100% for me

    Comment by Marzio-Dance — January 20, 2007 @ 6:36 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: