File: INSTALL

package info (click to toggle)
vdkxdb2 2.4.0-3.4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,248 kB
  • sloc: sh: 10,428; cpp: 1,762; makefile: 120; ansic: 15
file content (127 lines) | stat: -rw-r--r-- 3,350 bytes parent folder | download | duplicates (5)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
================================
VDKXdb  INSTALLING INSTRUCTIONS
================================
LAST VERSION IS: libvdkxdb-0.0.2 
REQUIRES: 
	gtk+ version >= 1.2.0
	vdk version >= 1.2.1
	xdb version >= 1.2.0

please report any comment or bug to:
mmotta@guest.net

=================================================
TO MAKE AND INSTALL FOR THOSE WITH SU PERMISSION:
=================================================
If you haven't yet untarred the file, do

$ tar xvzf vdkxdb-0.0.2.tar.gz
$ cd  ~/vdkxdb-0.0.2/

Now just run ./configure to check your system and create all necessary files.
configure will accept like options (to see all of them do ./configure --help)
    --prefix=[DIR] where to install it [default=/usr/local]
    --enable-debug=[no/minimu/yes] it enables the debug system [default=no]
    --enable-shared=[yes/no] 
	build shared library [default=yes]
    --enable-static=[yes/no] 
	build static library [default=yes]
    --enable-opt=[OPTIMIZATION/no]  
	build with -O$OPTIMIZATION compiler lever [default=2]
	it can be disabled with no

When configure finish do

$ make 

This will produce:
- libvdkxdb.so.0.0.2 and related links
- a configure script vdkxdb-config to use when compiling your programs
  with vdkxdb widget set


To install just do:

# make install
(you may need root privilege and run also /sbin/ldconfig)

This will install:
vdkxdb library in $(prefix)/lib
include headers in $(prefix)/include/vdkxdb
configure script vdkxdb-config in $(prefix)/bin


======================
BUILDING DOCUMENTATION
======================
Do:
$ make docs
This will produce a ./vdkxdb-0.0.2/doc/doxy/html dir
plenty of html files.
Just run:
$ netscape ./vdkxdb-0.0.2/doc/doxy/html/index.html&
or open ./vdkxdb-0.0.2/doc/doxy/html/index.html
in your preferred browser to read VDKXdb class reference.
To make a postscript printable version you need to
./configure with ..enable-doc-latex=yes and
$ cd ./vdkxdb-0.0.2/doc/doxy/latex
$ make ps
this will produce a refman.ps
If you do not want build docs by yourself (almost
html format is recommended) you can download from
vdkbuilder website vdkxdb002.ps.gz in ps format and print it.


===========================
MAKING VDKXDB TEST PROGRAM
===========================

- A test program is provided into vdkxdb-0.0.2/testxdb
to serve as tutorial and to test if the library works
properly. testxdb needs libxdb installed.

To make test program :
$ cd vdkxdb-0.0.2/testxdb
$ ./configure
$ make

- If you have vdkbuilder you can build test program also 
using the builder:
Run vdkbuilder and open ./testxdb/testxdb.prj
Most likely you will be asked to update project paths,
answer yes and reopen the project.
Most probably you have also to update also the path
of database files you are using. At this end choose
Project->XDBSupport from main menu, select and remove 
/cvs/vdkxdb/testvdkxdb/myfamily.dbf.
Add again myfamily.dbf with the correct path, add also
birthday.ndx and name.ndx (in this order).
Close and save testxdb.prj.xdb.
That's all. Now you can see data-aware widgets working 
at design-time.

=========
CLEANING
=========

# make clean
This will remove all obj's and libs from source tree

# make distclean
This will remove all file created by configure

======================
MAKING ZIP/TARRED FILE
======================
# make dist

=====
Enjoy.
=====

Mario Motta