Compiling Transmission on Kubuntu

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Compiling Transmission on Kubuntu

Post by josephj »

I'm compiling Transmission on kubuntu precise Linux for the first time and finding a few things in the documentation that probably need updating.

1) Instructions at https://trac.transmissionbt.com/wiki/Bu ... omatarball
include installing libminiupnpc5 which has been removed and included in another package

2) Building from tarball says
$ tar xvjf transmission-1.76.tar.bz2
$ cd transmission-1.76
but I had to look up what .xz was and
unxz transmission-2.75+
tar -xvf tr*
cd transmission-2.75+

3) I ran ./configure
It succeeded, but said that the gtk version would not be made.
Configuration:

Source code location: .
Compiler: g++

Build libtransmission: yes
* optimized for low-resource systems: no
* µTP enabled: yes

Build Command-Line client: yes

Build GTK+ client: no
* libappindicator for an Ubuntu-style tray: no

Build Daemon: yes

Build Mac client: no

I read though configure and tried
configure --with-gtk
but that failed on dependencies.

I did a sudo make install and it wrote to /usr/local/bin, but there was no transmission-gtk there.

So, what do I try next - or how do I use a nightly build so I don't have to compile?
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Compiling Transmission

Post by Jordan »

The next thing I'd try is "sudo apt-get build-dep transmission" to have debian pull in all the build dependencies automatically.
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Re: Compiling Transmission on Kubuntu

Post by josephj »

Thanks. That worked. But ... I started transmission-gtk and it started fine. I did a Help About and saw 2.75. When I clicked on Preferences, it core dumped. This is a *new* problem for me, so I'm not sure if or how to proceed. Do you want to see the core dump? I can put it in my dropbox. I don't see anything about a traceback, etc. that would help you.

Joe

P.S. I'll let it run a bit tomorrow and see what it does.
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Compiling Transmission on Kubuntu

Post by Jordan »

Yeah, I'd definitely be interested in seeing that, but the corefile itself doesn't do me any good.

The easiest way to do it is to let Ubuntu's crash reporter file a ticket in launchpad.

If you don't want to do it that way, here's one way to do it by hand:

$ cd transmission-2.75/gtk/
$ gdb transmission-gtk
(gdb) SIGPIPE nostop noprint pass
(gdb) r
... run until crash ...
(gdb) thread apply all bt

and then paste the bt here
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Re: Compiling Transmission on Kubuntu

Post by josephj »

We'll get this eventually ...
I get undefined command SIGPIPE
Same with sigpipe.

Since I ran transmission-gtk from the cli, I didn't get apport/KDE crash handling.
Withoput gdb, I did
cd /usr/local/bin
./transmission-gtk &

With it, I did
cd $HOME/installs/transmission-2.75+/gtk
gdb transmission-gtk
SIGPIPE nostop noprint pass (at the (gdb) prompt)

After we get it to run, do you still want the core file? I haven't looked for it, but it's not in the current directory, so where will it be?

TIA
Joe
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Compiling Transmission on Kubuntu

Post by Jordan »

ah, a transcription error on my part. that should have read:

(gdb) handle SIGPIPE nostop noprint pass
Post Reply