Requirements
Unix/Linux
Tcl/Tk 8.4.8 installed in the system
LAME installed in the system
PIII for non-realtime processing
P4 2.0G Hz for good performance of realtime processing
Source Compilation
Sources were compiled on
RedHat and Fedora Core systems.
For compatibility with gcc 4.0 see below.
-
To build Plasma u need to
have the following first
-
tcl, tk and tk-devel packages should be installed
version 8.4.*
- install LAME library.
If you do not have the library installed in your system
yet than you can find it in directory "./lame"
Do there:
./configure
make
make install
After that set environment variable "LD_LIBRARY_PATH"
to "/usr/local/lib" or the path where LAME is
(in particular libmp3lame.so)
- run in Plasma directory:
./configure
make all
this will create Plasma's executable file "./bin/plasma".
-
Set the environment variable
"PLASMA_FONT_FILE" to "%Plasma Directory%/bin/font.ttf"
If you have gcc
4.0
ffmpeg
cannot be compiled with gcc 4.0 which is provided
by Fedora Core 4. Therefore, for compatibility
with gcc3.2 you need to download and install libraries:
-compat-gcc-32
-compat-gcc-32-c++
You can find them on CDs (Fedora Core 4 system has)
or go to the web site RedHat for
the instructions on how to download and install the
above libraries.
Try Plasma
To test your Plasma distribution, enter sub-folder "bin". There is plasma shell
"plasma" that can run a variety of example file suffixed with ".plasma". (./plasma example_file.plasma)
Plasma is compiled as loadable
module for Tcl/Tk. You can just call "load tclplasma.so" in your Tcl/Tk script.
Note:
You must set environment variable $PLASMA_FONT_FILE to a ttf font file. You can
get the font file here!
Plasma requires Tcl/Tk of version 8.4 !
|