Compiling MegaZeux

From MZXWiki
Revision as of 00:29, 3 June 2012 by Kuroneko (talk | contribs) (Created page with "Compiling any MegaZeux 2.8x source requires a POSIX compatible shell (bash, dash) to be installed. Download the source .tar.bz2 or .tar.xz and extract it to a new folder. ./co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Compiling any MegaZeux 2.8x source requires a POSIX compatible shell (bash, dash) to be installed. Download the source .tar.bz2 or .tar.xz and extract it to a new folder.

./config.sh

This will give you help about how to configure MegaZeux. Users on Linux can simply do:

./config.sh --platform unix

To configure the sources. On OS X, the platform is "darwin", and on win32 the platform is "win32".

make

This will build MegaZeux from sources. If it fails, you probably don't have one of SDL, libvorbis, libogg, libpng, zlib or the corresponding dev packages installed.

Alternatively, Debian/Ubuntu users can rebuild "deb" files without going through config.sh/make. Instead, they can simply do a:

apt-get install build-essential debhelper devscripts libsdl1.2-dev libogg-dev libvorbis-dev libpng12-dev fakeroot

And then type:

debuild -us -uc

When inside the source directory.

Please see debian/README for more information.