Prev | Current Page 54 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

These include zlib, SQLite3, and MySQL libraries. Chances are, you already have the
ubiquitous zlib library, while the other two are required only if you want to access Sqlite or MySql
databases through Neko.
Now, enter the following lines:
> cd neko
> make
You should be presented with lists of text describing the compilation procedure. You may be prompted
to specify the location of an installed library if the compiler has difficulty locating it automatically. Also,
you can skip the compilation of the SQLite and MySQL extensions by entering s when prompted. Once
finished, you then have the job of transferring these newly compiled files to a suitable place on your
machine. You do this in the same way as you did with the haXe installation:
> sudo mkdir /usr/local/neko
> sudo cp bin/* /usr/local/neko
> sudo ln -s /usr/local/neko/neko* /usr/local/bin/
> sudo ln -s /usr/local/neko/libneko.so /usr/local/lib
> sudo grep ???NEKOPATH??? /etc/environment || echo ???export
NEKOPATH=/usr/local/neko??? > > /etc/environment
Chapter 2: Installing and Using haXe and Neko
17
As before, these lines create new system directories for your files and then copy and link them.


Pages:
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