If you're like me not just a Slackware lover but also a Perl junkie, you'd probably like to have the newest, latest, shiniest pearl of the Perl world - Perl6 aka "Rakudo".
Usally my experiences to compile stuff on Slackware are extremely good, but sadly the gcc used under Slackware 12.0 has a certain bug making it necessary to update gcc to a slightly newer version. (I've just tried and successfully updated to gcc 4.2.4 which is still rather old, but I just need a new gcc for Perl6...) If you stumple upon this error (
http://pastie.org/483039), consider a new gcc.
All later Slackware versions with newer gcc probably work without problems.
After you've made sure your gcc is NOT gcc 4.1.2, you just checkout the Rakudo sources here:
git clone git://github.com/rakudo/rakudo.git
change into the rakudo directory and just call
perl Configure.pl --gen-parrot
which will also fetch the necessary underlying Parrot suitable to build Rakudo and build it.
Afterwards, call "make" and enjoy a shiny new "perl6" executable. Copy it to /usr/local/bin and you're done.
More information on Rakudo:
http://rakudo.org
More information on Parrot:
http://www.parrotcode.org/
If you have an older Slackware and like to update a new gcc somewhere else in your system just for building Rakudo, get the gcc-sources and do this:
Code:
configure --prefix=/opt --enable-languages=c
make bootstrap
make install
and change CC to:
CC=/opt/bin/gcc
and adjust LD_LIBRARY_PATH to /opt/lib before building Rakudo.