Ming-Perl-Mini-HOWTO ==================== version 0.1, 30 Jan 2002, Tod E. Kurt, tod@todbot.com updates: - 1 Dec 2006: sourceforge cvs change caught by Stephen More 0. Check Ming out from CVS (Don't use tarballs on site! They're too old.) % cvs -d:pserver:anonymous@ming.cvs.sourceforge.net:/cvsroot/ming login % cvs -d:pserver:anonymous@ming.cvs.sourceforge.net:/cvsroot/ming co ming [press 'enter' when asked for password] 1. Build the 'libming' C library % cd ming % make If make doesn't work you'll need to do create the Makefile with autogen.sh and configure. This requires a full GNU 'configure' development environment, not just a working C compiler. To create the Makefile and build, do: % ./autogen.sh % ./configure --enable-perl % make 2. Build the Perl wrapper % cd perl_ext % perl Makefile.PL % make % make test [tests 't/filljpeg, 't/png' & 't/sound' are skipped] # make install [as 'root'. Note that you don't need to install 'libming' since the Perl wrapper embeds it for you.] 3. Get the Perl versions of the Ming examples: % wget http://todbot.com/ming/ming-examples-perl.tar.gz % tar xvzf ming-examples-perl.tar.gz % cd ming-examples/perl 4. Make all the examples % ./makeresults.sh You'll end up with a .swf file for every .pl file. The 'ming-examples-perl.tar.gz' tarball contains all dependent files needed to build the examples. These examples are the same ones supplied for PHP in the full 'ming-examples/php' directory. The tarball is made to just drop into the 'ming-examples' directory. -eof-