Help installing babl > 0.1.34 - crazyBaboon - 10-16-2017
I am trying to install GIMP Git version on a Fedora GNOME 64bit edition.
When I do './autogen.sh' in the gimp folder I get informed about missing dependencies:
Code:
Error: GIMP configuration failed.
- Error: missing dependency babl >= 0.1.31
- Error: missing dependency gegl-0.3 >= 0.3.21
- Error: missing dependency gexiv2 >= 0.10.6
- Error: missing dependency libtiff
*** Checks for TIFF library failed: TIFF library not found
- Error: missing dependency libjpeg
*** JPEG library not found
- Error: missing dependency libjpeg
*** JPEG header file not found
- Error: missing dependency libjpeg
*** JPEG library is too old
- Error: missing dependency libmypaint >= 1.3.0
- Error: missing dependency rsvg >= 2.40.6
- Error: missing dependency lcms2 >= 2.8
- Python 2 headers
*** Please install them, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- PyGTK 2.10.4 or newer
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- pygtk-codegen-2.0 script
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- PyCairo 1.0.2 or newer
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
See the file 'INSTALL' for more help.
Configure failed or did not finish!
So I tried to install babl:
Code:
git clone git://git.gnome.org/babl
cd babl
./autogen.sh
and the gegl:
Code:
git clone git://git.gnome.org/gegl
cd gegl
./autogen.sh
upon which I get the following error:
Code:
configure: error: Package requirements (babl >= 0.1.34) were not met:
Package 'babl', required by 'virtual:world', not 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 BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I am lost at this point, since I don't know anything about environmental variables. Anyone could help on what to do?
Thanks
RE: Help installing babl > 0.1.34 - Ofnuts - 10-16-2017
In my notes, to build Babl/Gegl, you need to execute
Babl
Code:
./autogen.sh --prefix=$PREFIX --disable-docs
make -j6
make -j6 install
Gegl
Code:
./autogen.sh --prefix=$PREFIX --enable-gtk-doc-html=no --enable-workshop
make -j6
make -j6 install
Where $PREFIX is a variable telling the directory where the executables will be installed (/gimp-dev/install, for me). Adjust "-j" according to local possibilities
A pretty good writeup to generate Gimp: http://ninedegreesbelow.com/photography/build-gimp-in-prefix-for-artists.html
RE: Help installing babl > 0.1.34 - crazyBaboon - 10-16-2017
Thanks!
How do I know the path corresponding to the PREFIX variable?
On the notes you sent me it seems to be 'PREFIX=$HOME/code/gimpdefault/install' but I have no folder called install. I have the directory structure that comes in the git://git.gnome.org/gimp
RE: Help installing babl > 0.1.34 - Ofnuts - 10-16-2017
That folder is really used for the "make install" step (keeping in mind tat in Linux, the location of executables and libraries is often hardcoded). This is were the final exetuables are copied. This should be distinct from the source directories. I have a /Gimp-Dev directory with a /Gimp-Dev/Build subdir with all the source code and I install things in /Gimp-Dev/Install (so I use $PREFIX=/Gimp-Dev/Install). Other popular choices are "/usr/local" (but it requires "sudo make install") and "/opt/gimp" (the "make install" steps creates the required bin/, lib/, share/ subdirs if necessary).
RE: Help installing babl > 0.1.34 - crazyBaboon - 10-16-2017
Thanks!
I followed the instructions on the link you sent me:
Code:
# Set up some folders
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
# Clone the software — add to this list as needed on your system.
cd $HOME/code/gimpdefault/build
git clone git://git.gnome.org/glib
git clone git://git.gnome.org/babl
git clone git://git.gnome.org/gegl
git clone git://github.com/mypaint/libmypaint.git
git clone git://git.gnome.org/gimp
# Set up the prefix
PREFIX=$HOME/code/gimpdefault/install
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export GIO_EXTRA_MODULES=/usr/lib/gio/modules
export SRC_DIR=$HOME/code/gimpdefault/build
# Build and install glib/babl/GEGL/libmypaint/GIMP in the
# prefix — add to this list as needed on your system.
cd $SRC_DIR/glib
./autogen.sh --prefix=$PREFIX
make -j3 && make -j3 install
cd $SRC_DIR/babl
./autogen.sh --prefix=$PREFIX --disable-docs
make -j3 && make -j3 install
cd $SRC_DIR/gegl
./autogen.sh --prefix=$PREFIX --enable-gtk-doc-html=no --enable-workshop
make -j3 && make -j3 install
cd $SRC_DIR/libmypaint
./autogen.sh --prefix=$PREFIX
./configure --prefix=$PREFIX
make -j3 && make -j3 install
cd $SRC_DIR/gimp
./autogen.sh --prefix=$PREFIX --with-gimpdir=$HOME/code/gimpdefault/install/config --disable-gtk-doc
make -j3 && make -j3 install
and I get the following error:
Code:
Error: GIMP configuration failed.
- Error: missing dependency gegl-0.3 >= 0.3.21
- Error: missing dependency gexiv2 >= 0.10.6
- Error: missing dependency libtiff
*** Checks for TIFF library failed: TIFF library not found
- Error: missing dependency libjpeg
*** JPEG library not found
- Error: missing dependency libjpeg
*** JPEG header file not found
- Error: missing dependency libjpeg
*** JPEG library is too old
- Error: missing dependency libmypaint >= 1.3.0
- Error: missing dependency rsvg >= 2.40.6
- Error: missing dependency lcms2 >= 2.8
- Python 2 headers
*** Please install them, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- PyGTK 2.10.4 or newer
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- pygtk-codegen-2.0 script
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
- PyCairo 1.0.2 or newer
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
See the file 'INSTALL' for more help.
Configure failed or did not finish!
The good news: it looks like I have installed the babl library successfully, since it does not mention is is missing.
The bad news: the script got stuck at installing gegl>=0.3.21
I checked the 'INSTALL' file and that did not find it particularly helpful.
Any idea on what I am doing wrong?
RE: Help installing babl > 0.1.34 - Ofnuts - 10-17-2017
For tiff/jpeg you may have to install a development packages (ligjpeg-dev/libtif-dev or somesuch), that will give you the header files.
Did you run the "make install" for GEGL?
RE: Help installing babl > 0.1.34 - crazyBaboon - 10-18-2017
(10-17-2017, 07:07 AM)Ofnuts Wrote: For tiff/jpeg you may have to install a development packages (ligjpeg-dev/libtif-dev or somesuch), that will give you the header files.
Did you run the "make install" for GEGL?
Yes, I did. I run the commands specified by http://ninedegreesbelow.com/photography/...tists.html :
Code:
# Set up some folders
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
# Clone the software — add to this list as needed on your system.
cd $HOME/code/gimpdefault/build
git clone git://git.gnome.org/glib
git clone git://git.gnome.org/babl
git clone git://git.gnome.org/gegl
git clone git://github.com/mypaint/libmypaint.git
git clone git://git.gnome.org/gimp
# Set up the prefix
PREFIX=$HOME/code/gimpdefault/install
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export GIO_EXTRA_MODULES=/usr/lib/gio/modules
export SRC_DIR=$HOME/code/gimpdefault/build
# Build and install glib/babl/GEGL/libmypaint/GIMP in the
# prefix — add to this list as needed on your system.
cd $SRC_DIR/glib
./autogen.sh --prefix=$PREFIX
make -j3 && make -j3 install
cd $SRC_DIR/babl
./autogen.sh --prefix=$PREFIX --disable-docs
make -j3 && make -j3 install
cd $SRC_DIR/gegl
./autogen.sh --prefix=$PREFIX --enable-gtk-doc-html=no --enable-workshop
make -j3 && make -j3 install
cd $SRC_DIR/libmypaint
./autogen.sh --prefix=$PREFIX
./configure --prefix=$PREFIX
make -j3 && make -j3 install
cd $SRC_DIR/gimp
./autogen.sh --prefix=$PREFIX --with-gimpdir=$HOME/code/gimpdefault/install/config --disable-gtk-doc
make -j3 && make -j3 install
Interesting enough, I am now trying to install gimp-git via AUR on arch linux and I get the same error as I got before, where it complains BABL version is not high enough...:
Code:
configure: error: Package requirements (babl >= 0.1.34) were not met:
Requested 'babl >= 0.1.34' but version of babl is 0.1.30
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
This might not be a surprise as the babl-git on AUR seems to be 0.1.30. Could this mismatch be because babl has bumped up two versions (0.1.32 and 0.1.34) in the last two weeks?
Any ideas?
I have got it working!
I have now GIMP-GIT installed on Arch Linux.
However, I had to install the package 'babl-git' from the AUR before I installed 'gimp-git'. Attempting to install only 'gimp-git' straight from the AUR would cause the aforementioned error.
Regards
|