LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing needed dependencies for gajim 0.16.7 from source in Ubuntu 10.04 (https://www.linuxquestions.org/questions/linux-software-2/installing-needed-dependencies-for-gajim-0-16-7-from-source-in-ubuntu-10-04-a-4175606609/)

dedec0 05-24-2017 07:04 PM

Installing needed dependencies for gajim 0.16.7 from source in Ubuntu 10.04
 
Steps I already did:

- downloaded gajim tarball version (see https://gajim.org/downloads.php?lang=en#source )

Code:

$ ./configure # ended fine. Great!
$ make        # happy end too
$ sudo make install  # now gajim is on /usr/local

It is not on my menu, but I can run it from command line - no problem, for now.

$ gajim

First error: needs python-nbxmpp. One more step:

- installed python-nbxmpp ( https://dev.gajim.org/gajim/python-nbxmpp/ ) from source. No problems with that, just one command after extracting its tarball:

$ sudo python setup.py install

First.and.a.half error: needs a newer intltool. It is available in synaptic, so I installed it and a few more needed packages:

autoconf (2.65-3ubuntu1)
automake (1:1.11.1-1)
autotools-dev (20090611.1)
intltool (0.41.0-0ubuntu1)


Second error: needs PyGTK 2.22 or above.

Now I am trying to install, also from source, pygtk 2.24.0 ( http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/ ). But it is not working! For pygtk, I did:

$ ./configure: # error: could not find Python headers

To fix this error, I started with something found around the web. I installed python-dev (and its dependencies) using Synaptic. Now the pygtk configure error is:

No package 'pygobject-2.0' found

What should I install? I only see python-gobject-dev in Synaptic. No clue to which page I should get something to install, if it exists. Please help! The full error message, in the end of configure output, is:

Code:

No package 'pygobject-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
and PYGOBJECT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


jefro 05-24-2017 07:09 PM

Do you really mean 10.04?

I assume the reason for Python headers is this. https://docs.python.org/2/c-api/intro.html

Running old distros and older programs are in my opinion harder than trying some newish works. You kind of have to put your mind in that time line and get every thing that was in that time. Some simple updated part may bork the whole deal.

dedec0 05-24-2017 07:16 PM

The problem: PyGTK 2.24.0 configure error
 
Yes, I have an old machine for which U10.04 is fine. Newer things I have seen have too much high hardware needs.

For python headers it is solved! The python-dev package (and needed dependencies), installed from synaptic solved it.

My current problem, for which I cannot think of some path to solve, is the

No package 'pygobject-2.0' found

error for the configure script in the pygtk 2.24.0 package (downloaded from the page pointed above).

Can you help me with this?

dedec0 05-24-2017 07:55 PM

Need pygobject-2.0 >= 2.21.3. What do I get? Where?
 
Well, I decided to try the only thing I had to try, although it seemed unprobable to solve the issue.

In synaptic, I installed that python-gobject-dev. It needed 3 more packages, also installed. All of them, with their versions:

docbook-xsl (1.75.2+dfsg-3)
docbook-xsl-doc-html (1.75.2-1)
libffi-dev (3.0.9-1)
python-gobject-dev (2.21.1-0ubuntu3)

Now the ./configure error for pygtk-2.24.0 is:

Code:

Requested 'pygobject-2.0 >= 2.21.3' but version of PyGObject is 2.21.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
and PYGOBJECT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Note the first line, which I put in bold red. I need a newer version of this package, just a bit newer.

Where do I get it? Ideas?

Ztcoracat 05-24-2017 08:56 PM

Quote:

Where do I get it? Ideas?
You could do a Ubuntu package search however there's a problem with that because you may not be able to find packages for 10.04. AFAIK because 10.04 isn't supported anymore.

The oldest repo is Trusty 14.04-
https://packages.ubuntu.com/

The tar.bz is here:
https://launchpad.net/pygobject/+milestone/2.21.3

If that doesn't work try here:
You can download the zip file here but it might not be version 2.21.3:-:
https://github.com/GNOME/pygobject

Running a distribution that is no longer supported is a security risk.Aside from that your system is subject to other vulnerabilities.

-::-I encourage you to consider a fresh installation of Ubuntu.-::-

It will pull in all of the dependencies for you with a lot less stress and zero manual package management operations needed.

dedec0 05-24-2017 09:11 PM

Quote:

Originally Posted by Ztcoracat (Post 5714840)
You could do a Ubuntu package search however there's a problem with that because you may not be able to find packages for 10.04. AFAIK because 10.04 isn't supported anymore.

The oldest repo is Trusty 14.04-
https://packages.ubuntu.com/

The tar.bz is here:
https://launchpad.net/pygobject/+milestone/2.21.3

If that doesn't work try here:
You can download the zip file here but it might not be version 2.21.3:-:
https://github.com/GNOME/pygobject

Running a distribution that is no longer supported is a security risk.Aside from that your system is subject to other vulnerabilities.

-::-I encourage you to consider a fresh installation of Ubuntu.-::-

It will pull in all of the dependencies for you with a lot less stress and zero manual package management operations needed.

Thank you for pointing me to the pygobject project! For some reason it did not pop up in my searches, or it did but my eyes missed that.

packages.ubuntu.com is just for newer versions of Ubuntu. But there is http://old-releases.ubuntu.com/ubuntu/, which is the path used in my synaptic software channel configurations, for this machine.

A fresher Ubuntu is not happening for this machine because it demands much more hardware, that does not exist here. Mint, which would be another good and natural distro choice me, also demands too much.

dedec0 05-24-2017 09:24 PM

So I installed pygobject 2.21.3 downloaded from https://launchpad.net/pygobject/+milestone/2.21.3. ./configure and make were done without anything else needed. 'sudo make install' installed it in /usr/local.

Time to get back to pygtk. Now, its configure ended with this:

Code:

The following modules will be built:

atk
pango

The following modules will NOT be built:

pangocairo
gtk
gtk.glade
gtk.unixprint

Numpy support: no

I don't know if that is fine for gajim. Any comments? What should I do to build those in the "NOT" section?

Ztcoracat 05-24-2017 09:30 PM

Quote:

Originally Posted by dedec0 (Post 5714847)
Thank you for pointing me to the pygobject project! For some reason it did not pop up in my searches, or it did but my eyes missed that.

packages.ubuntu.com is just for newer versions of Ubuntu. But there is http://old-releases.ubuntu.com/ubuntu/, which is the path used in my synaptic software channel configurations, for this machine.

A fresher Ubuntu is not happening for this machine because it demands much more hardware, that does not exist here. Mint, which would be another good and natural distro choice me, also demands too much.

You're Welcome-:)

Shame you can't install the new Ubuntu:-
I'm running Xubuntu on another machine. LOVE IT!:)

Maybe in the future you will be able to treat your self to a new machine.

Let us know how it goes.

dejank 05-25-2017 02:00 AM

If you have older machine, you should think of running some distro specialized in it. Like puppy linux. Once you get the hang of it, you will find it easy to use and probably faster than unsupported Ubuntu that you have now.

Ztcoracat 05-25-2017 06:46 AM

Give Anti-X a spin. It was designed for older pc's. ;)

http://antix.mepis.org/index.php?title=Main_Page

dedec0 05-26-2017 09:55 AM

Working details X discovering; What is "systemd-free linux"
 
@Ztcoracat:

The main reason why I keep Ubuntu 10.04 and do not install Xubuntu or any minimalist distro is because I am satisfied with my configuration now and with the programs I have with it (not necessarily being the last available version, it usually does not matter to me).

Something that I really really like, and I am not sure I would find something similar in other distros, is the Gnome 2 system monitor in the system panel. Xubuntu has it? Mate has it? I see 5 things with it: processor uses, RAM uses, network transfers, swap, HDs accesses.

"Screenlets" is something I discovered weeks ago, but I really like to have it now. I guess (and only guess) it should be possible. But this is not necessarily with some direct and simple action.

Another aspect that would be possibly frustrating for me is the absence of some libraries essencial to use programs/things I *must* use/have: Opera versions 11 and 12; qgo version 1.5.4; gnome-terminal (Gnome 2's, not sure if it changed in the newers!) with partially transparent background (shows wallpaper), dark theme and a keyboard shortcut to open several tabs per window; keyboard shortcuts to open the system menu and a few other essential actions; window manager dark theme (this is easy to find, I know).

Another thing I use a lot is the full Vim inside a terminal window. I can use cut/copy/paste of graphical programs; and also have the option to paste into programs' stdin; gnome-terminal provides CTRL+SHIFT+[CV] for copy/paste.

I imagine that you may say they are possible, they exist, and so on. But if it is different, I have to discover them, how they work, the different details about them... but then it becomes: something that demands a bit of work [versus] something that I is ready and being used.

...

Very nice! I watched the video about antiX (youtube G8Aw2zzBE-g) and it shows (or writes) many details that I find nice and/or necessary. But it also seems to miss (maybe, maybe not... not sure) a few things I use in Gnome 2.

@dejank:

Puppy Linux seems to be a very nice light alternative to the current "high end" versions of Ubuntu and Debian. I have also added it to my favorites. (:

@anybody:

What is the meaning or consequences of a "systemd-free linux", like antiX is?

dejank 05-26-2017 10:15 AM

Ehh, I did not suggest antiX, I've suggested puppy linux. You can see few things about it here: http://puppylinux.com/

As for "systemd-free-linux" meaning, it depends on person you ask. To put it simply, for some it means that you are missing great feature. For others it means that you are free from "big bad wolf". Any explaining here would be bound to start some holy war, I guess. Anyway, net is full of systemd pro and con arguments, both valid ones and those that exits out of ignorance and zealotry on both sides. For me, used systemd-free-linux and used systemd "occupied" linux. Both were good to me and personally think that it is all bit blown up on both sides. Philosophically I do not like systemd much, though I can live with it. But practically it does job very well for me, though I could live without it.

hydrurga 05-26-2017 10:24 AM

Quote:

Originally Posted by dedec0 (Post 5715480)
The main reason why I keep Ubuntu 10.04 and do not install Xubuntu or any minimalist distro is because I am satisfied with my configuration now and with the programs I have with it (not necessarily being the last available version, it usually does not matter to me).

I sincerely hope that you never connect your machine to the internet because with all those security updates you're missing out on, your system will be ripe for attack/infection.

dedec0 05-26-2017 10:31 AM

Quote:

Originally Posted by dejank (Post 5715498)
Ehh, I did not suggest antiX, I've suggested puppy linux. You can see few things about it here: http://puppylinux.com/

Sorry! I have read about Puppy Linux too, both in its Wikipedia article and in its official page (the address you pointed here). I should have written about *that* when I directed a few word to you - editing my post right after this.

dedec0 05-26-2017 11:34 AM

Arguments against systemd
 
This is offtopic for this thread, which is about installing gajim 0.16.7 (current version) in Ubuntu 10.04, but it is somewhat related to what we have said in the last posts. Just do not make it hijack the thread.

A few things I read in a page really surprised me, they are very bad aspects of systemd:

http://without-systemd.org/wiki/inde...gainst_systemd


All times are GMT -5. The time now is 09:21 PM.