I think I have GIT installed ok because doing “get --help” gives a load of info.
Before finding Elle’s method I was looking at stuff at gimp.org. Some dependencies are via FTP. I couldn’t make this work. When I clicked the FTP download link, Firefox gave a blank page and seemed to be trying, but nothing happened. So I googled and wget came up. Doing “wget ftp://ftp.uu.net/graphics/jpeg/libjpeg” gave –2018-03-05 14:25:54-- ftp://ftp.uu.net/graphics/jpeg/libjpeg
** => ‘libjpeg’** Resolving ftp.uu.net (ftp.uu.net)… 192.48.96.9 Connecting to ftp.uu.net (ftp.uu.net)|192.48.96.9|:21…
but again nothing happened. (PIXLS is making urls blue, not me)
My Ubuntu 16.04 was installed only a few days ago, I wonder if some basic thing is wrong?
Also when I did “sudo apt-get build-dep gimp” I got E: You must put some ‘source’ URIs in your sources.list
but I’m confused by this…
Regarding installing git in Ubuntu, I have a vague memory that just installing “git” might not bring in all of the required git packages. But maybe this was for some other distribution.
What happens when you type “git clone --help”? In the package manager, did you install something like “git-core” or “git-all”? Are a bunchof git-related packages installed?
Anyway, regarding “source” URLs and sources.list, probably by default Ubuntu doesn’t provide the source packages. I don’t know how Ubuntu handles such things, but maybe this link will help:
Probably there’s a page for your specific version of Ubuntu, but hopefully what’s in the above page is the same as for your install (though with recent changes in a lot of Linux’s, all bets are off).
Hmm, I suppose I should update my how to build pages. Thanks! for reminding me.
I just checked babl and glib, and they both still will clone using “git clone git://git.gnome.org/. . .”, so I think the move to gitlab might not be @RawConvert 's only issue with cloning the softwares.
Also, there’s this:
All the clone steps below use the command "git clone git://location-of-git-repository". If this command produces an error message, try "git clone https://location-of-git-repository"
I’m not sure why for some people “git clone git” doesn’t work, and instead they have to use “git clone https” - anyone know?
Does anyone have the list of commands to get current Gimp dependencies for Ubuntu 16.04 please!
Thanks for the help folks but I’m just floundering with this. I don’t have enough tech knowledge, I need a “recipe” like there is for RT.
@samj, thanks, your command for GLIB worked, but that was about it. All other git clone variations I tried failed, either because they timed out or it said “is this a repository” or “not found”. I’ve uploaded a Libre Office Write doc with the details in, commands in yellow highlight, in the hope someone can see what the problem is.
The above shows there are some things looking like dependencies on my system, e.g. python-cairo, but I guess these are from the gimp 2.8 which came pre-installed with Ubuntu. I’ve uninstalled 2.8. My understanding is all the latest stuff should go under $HOME/code/gimpdefault, following Elle’s example, so won’t get mixed up with the old 2.8 stuff - I thought best not to remove it for now.
So clearly my system is capable of getting something from git, i.e. GLIB, but what about the rest?
In Software and Updates app, “Trusted software providers”, there are “signing keys”. Are these necessary for automatic updates only, and are not the cause of my problems? (not that I’ve messed with them).
@ellle, are you likely to be updating your build page soon? If so I might wait!
I can’t upload an .ODT so here are the contents -
Sorry about the big font, I just pasted stuff in, it wasn’t like that in the Libre Office doc!
Elle’s method
mkdir $HOME/code
mkdir $HOME/code/gimpdefault
mkdir $HOME/code/gimpdefault/build
mkdir $HOME/code/gimpdefault/install
mkdir $HOME/code/gimpdefault/install/share
mkdir $HOME/code/gimpdefault/install/share/aclocal
touch $HOME/code/gimpdefault/install/share/aclocal/gimp-2.0.m4
sudo apt-get install build-essential
gave -
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
The following packages were automatically installed and are no longer required:
gimp-data libamd2.4.1 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6
libgegl-0.3-0 libgfortran3 libgimp2.0 liblapack3 libllvm4.0 libsdl1.2debian libumfpack5.7.1 python-cairo
python-gobject-2 python-gtk2
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 10 not to upgrade.
-------------------------------
sudo apt-get build-dep gimp
*** error got
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
------------------------------
Later (after PIXLS feedback) -
sudo apt-get install build-essential libjpeg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
libjpeg-dev is already the newest version (8c-2ubuntu8).
libjpeg-dev set to manually installed.
The following packages were automatically installed and are no longer required:
gimp-data libamd2.4.1 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgfortran3 libgimp2.0
liblapack3 libllvm4.0 libsdl1.2debian libumfpack5.7.1 python-cairo python-gobject-2 python-gtk2
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 10 not to upgrade.
---------------------
cd $HOME/code/gimpdefault/build
paulssd2@shovel2:~$ cd $HOME/code/gimpdefault/build
paulssd2@shovel2:~/code/gimpdefault/build$ git clone git@gitlab.com:gnome/glib.git
Cloning into 'glib'...
The authenticity of host 'gitlab.com (52.167.219.168)' can't be established.
ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'gitlab.com,52.167.219.168' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
paulssd2@shovel2:~/code/gimpdefault/build$ git clone git@github.com:GNOME/glib.git
Cloning into 'glib'...
The authenticity of host 'github.com (192.30.253.113)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
paulssd2@shovel2:~/code/gimpdefault/build$ git clone https://gitlab.gnome.org/GNOME/glib
Cloning into 'glib'...
remote: Counting objects: 146783, done.
remote: Compressing objects: 100% (23855/23855), done.
remote: Total 146783 (delta 122676), reused 146755 (delta 122653)
Receiving objects: 100% (146783/146783), 54.82 MiB | 7.60 MiB/s, done.
Resolving deltas: 100% (122676/122676), done.
Checking connectivity... done.
Next – pixbuf
paulssd2@shovel2:~/code/gimpdefault/build$ git clone https://gitlab.gnome.org/GNOME/gdk-pixbuf
Cloning into 'gdk-pixbuf'...
fatal: https://gitlab.gnome.org/GNOME/gdk-pixbuf/info/refs not valid: is this a git repository?
paulssd2@shovel2:~/code/gimpdefault/build$ git clone git://git.gnome.org/gdk-pixbuf
Cloning into 'gdk-pixbuf'...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.184]: errno=Connection timed out
Next – BABL
git clone https://gitlab.gnome.org/GNOME/babl “is this a git repository?”
git clone https://gitlab.gnome.org/babl “is this a git repository?”
git clone git://git.gnome.org/babl timeout
git clone https://git.gnome.org/GNOME/babl “not found”
git clone https://git.gnome.org/babl “not found”
paulssd2@shovel2:~/code/gimpdefault/build$ git clone git://git.gnome.org/gimp
Cloning into 'gimp'...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.184]: errno=Connection timed out
git clone git://gitlab.gnome.org/gimp time out
git clone https://gitlab.gnome.org/gimp “is this a git repository?”
git clone https://gitlab.gnome.org/GNOME/gimp “is this a git repository?”
git clone https://git.gnome.org/gimp “not found”
@samj, many thanks to you for providing this list. I’m afraid though that using it goes beyond the technical involvement that’s appropriate for me. For example, glib, gtk and babl take me to lists of objects that I don’t know what to do with. Which do I download? There are read-me’s which can then introduce more complexity. It’s too complicated.
Some look simpler, like pango. I assume I just take the latest version.
It’s really sad that non-developers can’t access the current version simply. I’ve used ottokessel???'s PPA in the past but there’s only gimp 2.8 available at the moment. Maybe there’s something wrong with my Ubuntu install.
Just download these archives, unzip them in your folder and compile them. It is necessary to pay attention to the names of directories that may be different and adjust your script.
You really shouldn’t need to download and manually compile most of those sources, and if you do, then consider that you’re using the wrong distro for the job.
Well clearly badly! I’m going to spend a little more time googling to try to fix the git clone failures. Ub16.04 is supported for a couple more years, that seemed valuable. Otherwise perhaps I’ll take your suggestion and try something else. What do you use?
I use Sabayon on this laptop because I’ve been using Gentoo for years on a more powerful machine and enjoyed it. Sabayon is based on Gentoo but while in Gentoo the package manager is source-based, meaning you compile everything (automatically), in Sabayon the package manager is binary-based, meaning you download ready-to-run binaries (faster on a slow laptop). However, Sabayon lets me simultaneously use source-based packages as well, so if I wanted to compile the latest git version of GIMP+BABL+GEGL I would type this single command:
@RawConvert this should get you the almost-latest git version ready to use:
wget <link to appimage file from here https://github.com/aferrero2707/gimp-appimage/releases >
chmod +x gimp-2.9.<something>.AppImage
./gimp-2.9.<something>.AppImage