Snack Installation

From AMSN
Jump to: navigation, search

Español

The Snack libraries are used with sound clips in aMSN. They are bundled in with the Windows and OS X installers, so these instructions are just for Linux.

Debian

In Debian based systems (including Ubuntu) it is as easy as typing

 apt-get install libsnack2

as root, and you should have the package.

Fedora

Fedora 7 users, download the snack rpm at http://www.amsn-project.net/~lephilousophe/fedora/libsnack-2.2.10-2.fc7.i386.rpm

Older users may try http://dag.wieers.com/rpm/packages/libsnack/ and download the correct version for your OS. Then just double click the rpm (if your set up for that) or open a command prompt and as root do

  rpm -hiv libsnack*.rpm

If no versions are avaliable for your OS, compile it from source following the directions below.

Source

To install from source, or on any other distribution, follow these steps:

Go to http://www.speech.kth.se/snack/download.html and download the "Source release for all platforms".

  cd <download directory>
  tar -xzf snack2*.tar.gz
  cd snack2*/unix
  ./configure --with-tcl=/usr/lib/tcl8.4/ --with-tk=/usr/lib/tk8.4/ --prefix=/usr
  make
  make install

Note that in the configure line, those are the default tk/tcl 8.4 directories in Debian. Your directories may be different, to determine where your tcl and tk directories are, do a

  updatedb
  locate tclConfig.sh
  locate tkConfig.sh
Personal tools