#README.compile-basic256.txt   2011-07-22

# For Fedora 15

sudo yum install qt4-devel imake SDL_mixer-devel qt-webkit-devel

exit

######################################################

to find packages that contains a given file:

yum provides */filename
yum provides */partialpathname/filename

######################################################

download:

1. basic256: http://sourceforge.net/projects/kidbasic/
   (see http://www.basic256.org/ for related stuff)
   The download source file unpacks into the top-level directory
   so you may want to make its own directory and unpack into it.

2. sqlite: http://www.sqlite.org/download.html
   choose the "amalgamation" version that includes autoconf

3. portaudio: http://www.portaudio.com/download.html
   Download version 19, but see the fix below for espeak, which
   comes packaged to use version 18

   consider:
    sudo ln -s /usr/local/lib/libportaudio.so /usr/lib/
   if you don't want to have to set LD_LIBRARY_PATH=/usr/local/lib

4. espeak: http://espeak.sourceforge.net/download.html
 In the source directory, cp portaudio19.h portaudio.h
   as follows:
 http://braille.uwo.ca/pipermail/speakup/2007-July/043984.html
> wavegen.cpp:(.text+0x20a5): undefined reference to `Pa_StreamActive'
It's trying to link to function Pa_StreamActive(), which is in the
portaudio sound interface library.
Probably either
1.  You don't have the portaudio library installed, (and linked to from
/usr/lib/libportaudio.so).
or
2.  You have portaudio V19 installed, but you're compiling eSpeak to
use portaudio V18.  To change this, copy portaudio19.h to portaudio.h.