Project

General

Profile

Building on Fedora using Automake » History » Version 2

Nehal J Wani, 13 Aug 2014 23:46
Rectified indentation.

1 1 Nehal J Wani
h1. Building on Fedora using Automake
2
3
* This has been tested on Fedora20 64bit minimal install.
4
* Last revision on which this method was tested: r3288
5
* This wiki page assumes that installation prefix is _/usr/local_ and your bulidir is _~/gnu_
6
7
# Install some of the basic utilities
8
<pre>
9
sudo yum install -y subversion make autoconf gcc-c++ yum-utils pkgconfig
10
</pre>
11
# Install all the dependencies for building exiv2. (Since exiv2 is already available in the Fedora repositories, this python script makes things easy and is provided by the package _yum-utils_)
12
<pre>
13
sudo yum-builddep exiv2
14
</pre>
15
# Fetch the source code:
16
<pre>
17
mkdir -p ~/gnu/exiv2
18
cd ~/gnu/exiv2
19
svn checkout svn://dev.exiv2.org/svn/trunk
20
cd trunk
21
</pre>
22
# Start building exiv2
23
<pre>
24
make config
25
./configure
26
sudo make install
27
</pre>
28
# Building samples
29
<pre>
30
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
31
make samples
32
</pre>
33
# Building tests.
34
** Optional: Since exifprobe is not available in standard fedora repositories, some tests will get skipped. If you don't want that:
35
<pre>
36
cd ~/gnu
37
yum install -y git
38
git clone https://github.com/hfiguiere/exifprobe.git
39
cd exifprobe
40
make
41
mkdir -p /usr/local/man/man1
42
sudo make install
43
</pre>
44
** Running tests requires one additional package:
45
<pre>
46
yum install -y dos2unix
47
</pre>
48
** Finally:
49
<pre>
50
cd ~/gnu/exiv2/trunk
51
make tests
52
</pre>