LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2017, 07:04 PM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
Question 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.

Last edited by dedec0; 05-24-2017 at 08:01 PM. Reason: added a step I did not write: intltool
 
Old 05-24-2017, 07:09 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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.
 
Old 05-24-2017, 07:16 PM   #3
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Question 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?
 
Old 05-24-2017, 07:55 PM   #4
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Question 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?
 
Old 05-24-2017, 08:56 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.
 
1 members found this post helpful.
Old 05-24-2017, 09:11 PM   #6
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Ztcoracat View Post
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.
 
Old 05-24-2017, 09:24 PM   #7
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Question

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?
 
Old 05-24-2017, 09:30 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by dedec0 View Post
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.
 
Old 05-25-2017, 02:00 AM   #9
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
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.
 
Old 05-25-2017, 06:46 AM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Give Anti-X a spin. It was designed for older pc's.

http://antix.mepis.org/index.php?title=Main_Page
 
Old 05-26-2017, 09:55 AM   #11
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Question 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?

Last edited by dedec0; 05-26-2017 at 10:39 AM.
 
Old 05-26-2017, 10:15 AM   #12
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
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.
 
Old 05-26-2017, 10:24 AM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by dedec0 View Post
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.
 
Old 05-26-2017, 10:31 AM   #14
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Red face

Quote:
Originally Posted by dejank View Post
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.
 
Old 05-26-2017, 11:34 AM   #15
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Post 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmet dependencies while installing a package in Ubuntu 16.04 TheOrangeRemix Linux - Software 14 05-15-2017 06:12 PM
[SOLVED] Problems with dependencies when installing wickr on Ubuntu 14.04 LTS codeman1234 Linux - Software 4 01-22-2016 06:49 PM
How to learn to compile from source with dependencies and libraries needed? askjoe Linux - Newbie 8 10-05-2012 03:02 PM
How would you know all dependencies needed for source installations? chutsu Linux - General 1 01-16-2009 06:57 PM
Installing from source -- dependencies installed via RPM kimchee411 Linux - Newbie 2 10-19-2004 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration