File: INSTALL

package info (click to toggle)
libgcal 0.9.6-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,156 kB
  • sloc: sh: 10,127; ansic: 7,352; xml: 267; makefile: 67
file content (65 lines) | stat: -rw-r--r-- 1,339 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
libgcal INSTALL
cavalcantii@gmail.com

== Compile and install ==

Dependencies: gcc, automake, libxml-dev, libcurl-dev, ca-certificates


In the project root directory, run:

$autoreconf -i -f

$mkdir build #its a good practice not polute source directory
       	     #with binary objects

$cd build

$../configure

$make

$sudo make install



== Development ==

Dependencies: lcov, gcov, check, doxygen, dot

Do the same but you can also add:

$../configure --enable-devel #enable unit tests and other flags


**Attention**: There is an issue with efence in Ubuntu Hardy (mprotect fails),
you should run instead

**$../configure --enable-warnings --enable-check --enable-lcov**




$make lcov #runs unit test and create coverage reports

$make doxygen #generates API documentation


ps1: If you wish just to run just a suite case, set GCAL environment
variable (core|user|xml|screw) and GCALTEST variable for core module
testing (gcal|xpath|edit|contact|debug|query).


ps2: you can format this document to HTML running

$txt2tags -t html INSTALL


ps3: ATTENTION utest will not run on source directory.

ps4: Currently I have being using cmake as the official development buildsystem
(just run: make build; cd build; cmake ..; make)

ps5: Libgcal is already included in major Linux distros (Debian, OpenSuse,
Ubuntu, etc) and FreeBSD