aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make/README
blob: 862b9ee9b877c9d85692900865ca6eb646fe68b8 (plain)
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

======================
Installing Pd-extended
======================

To install this package of Pd, you need to type somethings on the command
line.  Open Terminal, xterm, Console, or whatever its called on your machine,
and type in the commands listed below.

To install:
    tar xjf PACKAGE_NAME.tar.bz2
    cd PACKAGE_NAME
    make install

To uninstall:
    cd PACKAGE_NAME
    make uninstall

To load the default set of libraries, you need to install the .pdsettings file
included in the package (~ is your home directory):

    mv .pdsettings ~

Installing the needed dependencies
----------------------------------

You will need to install other libraries to make sure that things like MP3,
video, etc work properly.

___Debian/Ubuntu___

If you want to save room, then don't install the "-dev" packages.

http://puredata.org/docs/developer/Debian


___Fedora Core___

If you want to save room, then don't install the "-devel" packages.

http://puredata.org/docs/developer/Fedora



Installing in a different location
----------------------------------

You can install this package elsewhere, but its been compiled to run in
/usr/local.  If you install it somewhere other than /usr/local, you will only
be able to run Pd like this:

        cd /path/to/bin/pd && ./pd

Here's how to install it elsewhere:
To install:

        make install prefix=/path/to

To uninstall:

        make uninstall prefix=/path/to



====================
Building Pd-extended
====================


To build everything and create an generic installer for linux, do this:


Download and run the script from CVS which will download all the sources from
anonymous CVS:

    scripts/checkout-developer-layout.sh

Now you will have all of the sources in a directory called "pure-data".  Next,
run these commands to build in the package:

    cd packages/linux_make
    make install

It will then compile and install everything into packages/linux_make/build.
The default installation prefix is "/usr/local".  Pd will need to be installed
into that directory in order for it to find all its externals and docs.  You
can compile everything to use a different prefix like this:

    make install prefix=/usr

After you have everything built, you can make a tarball with a generated
Makefile which will install and uninstall everything:

    make tarbz2

You can generate just the Makefile used for installation using:

    make installer_makefile