LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2009, 04:07 PM   #1
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
Getting Perl6 (Rakudo) on Slackware


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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when will Perl6 steal my cornflakes? jayeola Programming 12 04-01-2009 02:57 AM
LXer: Making Slackware and Slackware Derivative Linux Distros Speak Your Language LXer Syndicated Linux News 0 01-29-2009 12:30 AM
LXer: Parrot 0.5.2 Released with perl6 executable included LXer Syndicated Linux News 0 01-20-2008 05:00 PM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration