File: INSTALL

package info (click to toggle)
xlog 2.0.14-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 16,416 kB
  • ctags: 1,251
  • sloc: ansic: 23,190; sh: 4,455; makefile: 765; sed: 16; xml: 8
file content (51 lines) | stat: -rw-r--r-- 2,304 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
Basic installation instructions for xlog
========================================

  1. The Hamradio Control Libraries will allow you to read the frequency of
     your rig over the serial port. You will need to have both headers and
     development libraries installed in order to compile xlog. You can not
     compile xlog without hamlib support.

  2. You also need a package called pkg-config in order for the configure
     script to work.

  3. pkg-config will look for a file called hamlib.pc. If this file is not
     installed in /usr/lib/pkgconfig, you should tell pkg-config where it is
     by modifying the environment variable PKG_CONFIG_PATH before calling
     configure, e.g:
     PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig".

  4. If you want to update the KDE/Gnome mime database while installing, use 
     ./configure --enable-mime-update. This is recommended if you install xlog
     to /usr or /usr/local.
     
     A note for Linux and *BSD package maintainers: do not use
     --enable-mime-update, instead call update-mime-database and
     update-desktop-database in your installation script at install time.

  5. Xlog needs the gtk+2.0 development libraries to compile. On most 
     distributions the will be called libgtk2.0-dev or -devel. 
     Please use version 2.18.0 or higher.  

This all means you need a fairly recent distribution to compile xlog.
Mandriva 2008, Slackware 12.0, Redhat Fedora Core 8 or Ubuntu 7.10 will all
meet these requirements. Xlog was developed on Debian Unstable.

  6. Type `./configure'.

In case the configure script can not find libintl.h or the intl libraries.
try: ./configure CFLAGS=-I/usr/local/include LDFLAGS="-L/usr/local/lib". This
can happen in *BSD systems where libintl is installed into the /usr/local
path and is not included into the C library.

  7. Type `make' to compile the package.

  8. Type `make install' to install the programs and data files. 

  9.  When you want to strip the binary when installing, just type:
     `make install-strip'.

By default, `make install' will install the package's files in 
`/usr/local/bin', `/usr/local/man/man1', `/usr/local/share/xlog', etc.  
You can specify an installation prefix other than `/usr/local' by giving 
`configure' the option `--prefix=PATH'.