Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: SiMuLaCrUm on 13 November 2008, 05:54
-
OK, I am stuck. I want to install the newest version of Pidgin (2.5.1) instead of the one that Xubuntu came with, but apt-get won't find it, and I have no idea how to compile from a tarball. Help please :D
I'm still rather new to Linux, having used Windows for the past 12 or so years of my life...
-
tar zxf tarball.tar.gz
cd tarball
./configure
make
make install
Obviously, you'll want to substitute the name of the actual archive and the resulting folder. Use jxf instead of zxf if it is a bzip2 archive. You will need to be admin to run make install, so you should probably su or sudo that step.
Of course, these are only the barest instructions, which may not actually work at all. Try:
./configure -h
to find configuration options. And even the crappiest of programs has an install file somewhere.
-
I try running make but it says no target and no makefile found :|
-
You should be in the directory where the tarball is located, yes.
-
OK,I got it extracted, but configure told me that the C compiler could not create executables. And make won't work...
-
debget.com reports there are no pidgin packages available
xubuntu uses debian packages, I assume. Going to Pidgin's home site also shows no debian distros.
That means you have the Windows package. Your only option would be to get the RedHat Fedora package and use
the alien package converter here:
http://www.ubuntu-unleashed.com/2008/03/howto-convert-redhat-and-fedora-rpm.html (http://www.ubuntu-unleashed.com/2008/03/howto-convert-redhat-and-fedora-rpm.html)
-
Eh? It downloaded it for me, and the windows version is an EXE file. I have it on my windows machine. When I clicked download, it downloaded me a tarball...
EDIT: Ah, yes further exploration of pidgin's site reveals that it does not have an Ubuntu version, only Windows, Fedora, CentOS and Mac.
Edit X2: The Fedora file is a .repo file... no .rpm file...
-
There's a link to download the source, too. Source is for version 2.5.2, and the filename is pidgin-2.5.2.tar.bz2. Assuming that file has been downloaded to your home folder:
cd ~
ls
tar jxf pidgin*
cd pidgin*
./configure
make
make install
The "C compiler cannot create executables" error comes with a line number. You didn't happen to write that down, did you? If not, run it again. Pretty sure that has to do with an autoconf versioning problem, since that's where the error message appears in the code, but it could be something else.
In case anyone's interested, I could not install this on my Mac because I don't have glib installed.
-
A number, where? Is it in the config.log file?
Because it only showed this.
(http://fc31.deviantart.com/fs38/f/2008/318/9/4/Really_busy_by_TRIARII117.png)
-
It is supposed to give line numbers in your terminal window. On my computer, it gives the line numbers in the config.log also. But anyway, it's clear where it failed.
Do a test:
copy the following source into a textfile, call it test.c and save it
http://www.engin.umd.umich.edu/CIS/course.des/cis400/c/hworld.html (http://www.engin.umd.umich.edu/CIS/course.des/cis400/c/hworld.html)
from the command line, in the folder where you saved the file:
gcc test.c
Does that work? What's the name of the file it created? Should be called a.out. If it is, try running it by typing:
./a.out
Did that work?
Also, why does Ubuntu not have gawk? GNU programs just not good enough for them?
-
[code]sim@sim-laptop:~$ gcc check.c
check.c:3:18: error: stdio.h: No such file or directory
check.c: In function
-
Install build-essential from APT, then try, installing pidgin again
-
Wait, what? Is that a command?
Edit: Tried it, says "target 'apt' is not a directory."
-
erm, apt-get install build-essential
-
OK. Config got further this time, I need GLib 2.0 installed.
sudo apt-get install glib?
cos that doesn't work...
-
Assuming the packages have the same name as those in debian, you need to install libglib2.0-0 and libglib2.0-dev
-
OK. I'll see what happens.
Need GTK+ 2.0 development headers...
-
What a pain. Next it is probably going to mention ATK and Pango. I guess Ubuntu doesn't use Gnome?
Sounds like you need to learn how to search with apt.
apt-cache search gtk
-
Ah, didn't know that command. Thank you.
-
I didn't either, but I found it in the first hit off a Google search for apt-get.