Monday, January 02, 2006

Happy New Year.

I didn't have amule on my laptop after installing ubuntu. I went to the website, here.

I noticed there was a new version of amule, so I decided to build it.

I downloaded the latest source from here.

I initially looked at the instructions for building it on a debian or ubuntu machine, here, but then ended up using the generic instructions, here, since I didn't trust the versions of packages to be new enough.

It requires "wxGTK". I downloaded the latest one from where I got the aMule source, but the tarball was weird, it had a usr and install directories in it, like it was already compiled, but was supposed to be a source package.

I downloaded the tarball linked to in the instructions, it unpacked into a more promising looking directory structure. I followed the install instructions included in the archive, and configured, compiled, and installed wxGTK.

The install instructions were fairly confusing, having to make a directory to build the files in, and then it seemed to redundantly repeat the instructions.

I went about configuring aMule, and compiling. It compiled for ages, and then failed, with the following errors:
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxWindowListNode::~wxWindowListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `pango_x_get_context'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuListNode::~wxwxMenuListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxRadioBoxBase::~wxRadioBoxBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxNotebookBase::~wxNotebookBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxWindowListNode::~wxWindowListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxRadioBoxBase::~wxRadioBoxBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuListNode::~wxwxMenuListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxNotebookBase::~wxNotebookBase()'
/usr/local/lib/libwx_base_net-2.6.so: undefined reference to `vtable for wxFileProto'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/usr/src/aMule-2.1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/aMule-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/aMule-2.1.0'
make: *** [all] Error 2

I'm not sure what the story is there.

I hadn't configured wxGTK according to the instructions for building aMule, so I went back, and reconfigured it according to the instructions, which didn't include the buildgtk directory from the instructions with wxGTK, and then I recompiled it, taking ages, and reinstalled it.

I went back and reconfigured aMule, and then ran a compile, which continued from where it had errored before, but it errored again immediately.

I did a make clean, reconfigured it again, and then kicked off the compilation again.

Tons of warnings were displayed, as did the first time I attempted to compile it.

It compiled for ages, and then errored out again, with exactly the same error as before.

I'm not sure what the problem is. I compiled wxGTK against GTK2, since I spent ages installing gtk+2 when I was trying to compile KDE, so I'm pretty sure I have GTK2 on my laptop.

I went back, and tried compiling wxGTK, linked against GTK1, but that just complained that I didn't have the headers required.

It looks like at some point I'll have to connect the backup hard drive to my laptop, and get the old version, since I can't seem to compile it on ubuntu.

I'm beginning to get a bit fed up with trying to build stuff on ubuntu. I might end up going back to debian testing.

0 Comments:

Post a Comment

<< Home