Building and Compiling package from the source files
Object 1: build wget package
2)
Using
command “tar zxvf wget-1.9.tar.gz” to un-tar the tar.gz file to local directory
3)
Run
./configure to build for the fedora platform
a. During the “./configure” process,
checking status shows error message: “configure error: --with-ssl was given, but GNUTLS is not
available” . Look like; it is the GNUTLS program is missing. Then, I
should build the GNUTLS program from the beginning.
5)
Running
the command “tar xJf gnutls-3.1.1.tar.xz” to un-tar the gnutls program.
6)
Run
“./configure” to build gnutls.
a. Another error message appear “Libnettle 2.5 was
not found. Note that you must compile nettle with gmp support”. Look
like; Another dependence package nettle is missing. Then, I should build nettle
package for the GNUTLS program.
7)
In
the file of gnutls-3.0.19/README, it shows “the library depends on
libnettle and p11-kit”.
9)
Using
command “tar zxvf nettle-2.5.tar.gz” to un-tar the nettle tar.gz file to local directory
10) Run ./configure to build nettle for
the fedora platform
a. This process looks normal, and
nothing weird thing happens.
b. Run “make” command to build
nettle. The “make” runs successfully.
11) Download the program gmp-5.0.5
and p11-kit-0.14 from the website, and perform the process of “./configure,
make, and make install”.
12) Rebuilding gnutls program in its
directory uses the command “./configure”, make, and then make. The error is
gone.
13) Get back to wget directory, and
re-run the commands of “./configure”, “make”, and “make install”. The wget installs
successful.
Object 2: build gimp program
2)
Un-tar
the file of gimp-2.8.2.tar.bz2 in directory using command of “ tar xvjf
gimp-2.8.2.tar.bz2”
3)
Run
command “./configure” to the program for fedora
a. Error happens during the
configuring process, found out that the dependence package of “babl” and “gegl”
are missing
b. Install the babl, gegl, and atk packages
by using the command “yum install babl babl-devel gegl gegl-devel atk atk-devel”,
and install gtk+, gtk+-devel, gtk+extra, gtk+extra-devel libtiff libtiff-devel
libtiff-static pygtk2-devel pygtk2-codegen tools in Apper
4)
After
the library and dependency packages finish installation, then run make and make
install command to finish the compiling process.
No comments:
Post a Comment