File: INSTALL

package info (click to toggle)
xlog 2.0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,520 kB
  • sloc: ansic: 24,207; javascript: 7,886; sh: 4,456; makefile: 695; sed: 16; xml: 8
file content (93 lines) | stat: -rw-r--r-- 3,348 bytes parent folder | download | duplicates (4)
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
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'.

UPDATE:  August 2019
====================

If you are using an Ubuntu 18.04.* system, these are the necessary 
packages for building xlog from source:

gcc
pkg-config
libglib2.0-dev
libgtk2.0-dev
libusb-1.0-0-dev
libcanberra-gtk-module (not mandatory)

Install hamlib from Sourceforge, since it isn't in the Ubuntu 
repositories. Download the source tar file, extract it into a 
subdirectory of /usr/local/src, and build/install it.

https://sourceforge.net/projects/hamlib/

Install xlog from Savannah, since the version in the Ubuntu repositories
is quite outdated.  Similarly, download the source tar file, extract it
into a subdirectory of /usr/local/src, and build/install it.

https://savannah.nongnu.org/projects/xlog/

The standard 3 commands to build most things from source tar file:

cd <source_top_level_directory>
./configure
make
make install

...and this one for good measure:
ldconfig

You should see /usr/local/bin/xlog.

Run xlog, and look at the Help->About menu to be sure you've got the 
desired version.

AMS 04-aug-2019