File: INSTALL

package info (click to toggle)
solfege 3.6.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,616 kB
  • ctags: 3,322
  • sloc: python: 17,206; xml: 5,719; ansic: 4,299; makefile: 557; sh: 297
file content (137 lines) | stat: -rw-r--r-- 3,887 bytes parent folder | download
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
128
129
130
131
132
133
134
135
136
137
Table of Contents
*****************

1 INSTALL - how to compile and install GNU Solfege 3.6.4 on a GNU like system
  1.1 Download
    1.1.1 Source code
    1.1.2 Precompiled binaries
  1.2 Requirements
  1.3 Configuring and compiling
    1.3.1 `--disable-pygtk-test'
    1.3.2 `--disable-oss-sound'
  1.4 Packaging
    1.4.1 Debian
    1.4.2 Rpm-based distributions


1 INSTALL - how to compile and install GNU Solfege 3.6.4 on a GNU like system
*****************************************************************************

This file contains info on how to build and install GNU Solfege.  For
run-time info, check the README file and the man page.

   The homepage for GNU Solfege, `http://www.solfege.org', might also
be of interest.

1.1 Download
============

1.1.1 Source code
-----------------

The latest version is available from
`http://sourceforge.net/project/showfiles.php?group_id=1465'.

   The source code is also available from the GNU ftp sites and their
mirrors: `ftp://alpha.gnu.org/gnu/solfege' and
`ftp://ftp.gnu.org/gnu/solfege'.

1.1.2 Precompiled binaries
--------------------------

Precompiled binaries are made available for some releases. I build the
windows installer, a liunx distribution neutral autopackage for i386
computers and the debian package myself. But I am depending on users to
provide binaries for other operating systems. The debian package is
available directly from `http://www.debian.org'.  The rest are
available from Sourceforge:
`http://sourceforge.net/project/showfiles.php?group_id=1465'.

1.2 Requirements
================

The requirements are listed in the `README' file.

1.3 Configuring and compiling
=============================

     ./configure
     make
     su -c "make install"

   should work, and will install into

       /usr/local/bin
       /usr/local/share
       /usr/local/lib
       /usr/local/etc/solfege

   On FreeBSD you can use gmake:

     ./configure
     gmake
     su -c "gmake install"

   Use the `--prefix' and `--sysconfdir' command line options to
install elsewhere. For example to install in your home directory:

     ./configure --prefix=$HOME/usr --sysconfdir=$HOME/etc
     make
     make install

   If you just want to run Solfege without installing, do this:
     ./configure
     make
     ./solfege.py

   The `configure' script can be given a number of options to enable
and disable various features. Some of them are described below.  For a
complete list, type:

     ./configure --help

1.3.1 `--disable-pygtk-test'
----------------------------

Do not test for PyGTK, assume it is installed. Use this option if you
know the package is installed, but the configure script still cannot
detect it.

1.3.2 `--disable-oss-sound'
---------------------------

Use this if you are compiling on an OS that don't have the OSS.  The
default is `--enable-oss-sound'.

1.4 Packaging
=============

1.4.1 Debian
------------

Rename `debian-dir' to `debian' and run:

     dpkg-buildpackage -rfakeroot -us -uc

1.4.2 Rpm-based distributions
-----------------------------

I did collection some spec files for rpm-based distros, contributed by
users. But these have not been updated for a very long time, so I do not
think they will work any more. Also, I do not test these spec files
myself, so you should send me an update if some of the Requires or
BuildRequires fields are wrong. Please notice that there may be a
difference between version 9 and 9.1 of a distro. Give me the exact
version number!

   Here is an example how to build a binary rpm package for Red Hat 9.
Replace the filenames to fit your distro if required.

     cp solfege-3.6.4.tar.gz /usr/src/redhat/SOURCES/
     tar zxf solfege-3.6.4.tar.gz
     rpm -bb solfege-3.6.4/solfege.redhat9.spec
     rpm -i /usr/src/redhat/RPMS/i386/solfege-3.6.4

   Hopefully, binary rpm packages for some distributions will be
provided later.