Go CentOS Compiled Installation GIMP

Source: Internet
Author: User

CentOS Compiled Installation GIMP

Original address: http://www.ithao123.cn/content-97397.html

GIMP is a platform-expanded image processing software

Because recently you have to make a few pictures on Linux decided to install it to try

Direct Yum Install GIMP seems to have a problem

When you start, you say something is wrong.

or decided to take the source of the installation of the non-return

Because the source code needs to compile the package may exist in the system

But if the direct substitution may cause other software to collapse

Configure you should use--prefix= to specify the next installation path

GIMP's source package can be downloaded on the official website

./configure--prefix=/app/gimp2.8.8 Error occurred

Configure:error:Package requirements (BABL >= 0.1.10) were not met:

No package ' babl ' found

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

Would have thought Yum install babl can, did not expect to appear

Setting up Install Process
Package babl-0.1.2-4.el6.i686 already installed and latest version
Nothing to do

Yum's babl is too old for me to download.

The http://www.linuxfromscratch.org/blfs/view/svn/general/babl.html download to the BABL-0.1.10.TAR.BZ2 installation is simple,./configure-- prefix=/app/babl-0.1.10 && makes && make install.

Because I put babl in the/app/babl-0.1.10 directory.

So now we need to change the PKG_CONFIG_PATH environment variable

Vim ~/.bash_profile

Add pkg_config_path= $PKG _config_path:babl installation directory/lib/pkgconfig

Export Pkg_config_path

Then open the new terminal under execution. ~/.bash_profile

and re-configure the GIMP at this terminal.

It's another mistake.

No package ' gegl-0.2 ' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
Installed software in a non-standard prefi

Or is the package in Yum too old to be re-downloaded?

GEGL can be downloaded in ftp://ftp.gimp.org/pub/gegl/0.2/

Gegl in the Configure time also need to just babl, if not in the terminal just opened, need to execute once. ~/.bash_profile

Installing GEGL will also encounter situations that require glib >=2.28.

Go to http://ftp.gnome.org/pub/GNOME/sources/glib/

Download (best download up-to-date,),

Then also configure--make--make install (installation of the latest requirements to have Libffi

http://sourceware.org/libffi/download)

After installing the glib, you also need to re-edit the next ~/.bash_profile.

pkg_config_path= $PKG _config_path:babl installation directory/lib/pkgconfig:glib installation directory/lib/pkgconfig

Export Pkg_config_path

Re-configure GEGL and new problems

' Pkg-config--modversion glib-2.0 ' returned 2.28.8, but glib (2.22.5)
Was found! If Pkg-config was correct and then it's best
To remove the old version of GLib. Also be able to fix the error
By modifying your ld_library_path enviroment variable, or by editing
/etc/ld.so.conf. Make sure the run Ldconfig if is
Required on your system.
If Pkg-config was wrong, set the environment variable Pkg_config_path
To the correct configuration files

This is because the system has the default glib library, you install a version, configure will find two versions when looking, so it will produce an error

Workaround
Set a temporary variable directly ld_library_path

Export Ld_library_path= The glib directory you installed/lib

And then you can configure it again.

Next is make and make install

After installing the GEGL, remember to modify the next Pkg_config_path variable, do not take the glib just removed, the back is also used

pkg_config_path= $PKG _config_path:babl installation directory/lib/pkgconfig:glib installation directory/LIB/PKGCONFIG:GEGL installation directory/lib/pkgconfig

Then open the new terminal under execution. ~/.bash_profile

Then re-configure GIMP

Not again....

Requested ' ATK >= 2.2.0 ' but version of ATK was 1.28.0

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

Keep doing ATK.

Can be downloaded from http://ftp.gnome.org/pub/GNOME/sources/atk/

It is best to download new, new requirements glib to be greater than 2.31

If the glib download is not high, it is best to re-download, and then reinstall the previous GEGL

Configure-make-make after install

and change the Pkg_config_path.

pkg_config_path= $PKG _config_path:babl installation directory/LIB/PKGCONFIG:GEGL installation directory/LIB/PKGCONFIG:ATK installation directory/lib/pkgconfig

Then open the new terminal under execution. ~/.bash_profile

Continue to re-configure GIMP

And then there's the problem of glib again.

Set the next Ld_library_path

Then there's the need for GTK.

http://www.gtk.org/download/linux.php

In order to prevent 3. X and 2.X are in conflict, the highest version in 2.X is down.

Installing GTK also requires GDK-PIXBUF

http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/

Install Gdk-pixbuf also said need Libtiff

Checks for TIFF loader failed. You can build without it by passing
--without-libtiff to configure but some programs using GTK + May
Not work properly

Although it can be disabled, but still put on the good, all engaged in so much.

The workaround is simple. Yum Install Libtiff-devel

It's ready,

Don't forget to add to the Pkg_config_path when you have the gdk-pixbuf installed.

And then open a new terminal.

Perform. ~/.bash_profile

Export Ld_library_path=glib installation directory/lib

Re-configure the GTK to make and makes install GTK.

And then add GTK to the Pkg_config_path.

Then re-open the terminal

Execute the previous two commands (but this time the latter command becomes the Export ld_library_path=glib installation directory/LIB/:GTK installation directory/lib)

Then re-configure GIMP

If you think this is going to be done, then it's wrong ...

Equested ' Cairo >= 1.10.2 ' but version of Cairo was 1.8.8

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

Download Cairo latest version on http://cairographics.org/releases/

This is a simple configure-make-make install.

After that, it is added to the Pkg_config_path

And open a new terminal.

Perform the above two steps

。。。 There's still a problem, but the hunch should be the last question.

We require Pango with the optional support for Cairo compiled in.
See the file ' INSTALL ' for more help.

http://ftp.gnome.org/pub/GNOME/sources/pango/Download Pango

Pango needs Cairo to ensure that configure is executed before. ~/.bash_profile

Configure Pango will appear when

Checking which Cairo font backends could be used ... none
Configure:disabling Cairo Support
Configure:error: * * * Could not enable any backends.
Must has at least one backend to build Pango.

That's because there's three things to wear.

Harfbuzz, FreeType, Fontconfig

Harfbuzz can be downloaded from http://www.freedesktop.org/wiki/Software/HarfBuzz/

FreeType can be downloaded from http://www.freetype.org/download.html

Fontconfig can be downloaded from http://www.freedesktop.org/software/fontconfig/release/

The first two are good, the third one's a little sore.

Configure Fontconfig is going to require a expat

Direct Yum install expat-devel can be solved.

Then I came up with Docbook2pdf:command not found's error

I went to http://www.linuxfromscratch.org/blfs/view/6.3/pst/docbook-utils.html and downloaded docbook-utils.

The only way to find out in the system is that there is no way to find ...

Put Docbook2pdf in the/usr/bin directory under the bin directory where the docbook-utils is installed.

This time docbook2pdf command was found, but Pdfjadetex:command not found error occurred

At first I did not know how to solve, installed a bunch of RPM packages and some third-party packages

You can try Yum install Jadetex first

If not, add yum install teTeX

Not yet.

Go to http://www.tldp.org/HOWTO/DocBook-Install/install.html and screw it up.

I'm going to give up on this, and finally the Yum install Jadetex solves the

I've done all two of them before, and we've written them down together.

Three pack and add to Pkg_config_path.

And then restart the terminal to install the Pango.

and add the Pango to the Pkg_config_path, and you can.

After you re-open the terminal, remember

. ~/.bash_profile

Export Ld_library_path=glib installation directory/lib:gtk+ installation directory/lib

And then re-configure GIMP on the line.

This time configure finally succeeded.

After that, make-make install, wait a minute.

It's been a day, and it's yum.

Go CentOS Compiled Installation GIMP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.