Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-23-2008, 01:52 PM   #1
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 223
Blog Entries: 15

Rep: Reputation: 19
Custom Perl in Slackware?

Merry happy, all -

Lately I've been trying to get better at Perl debugging, since Perl is the language I use most these days. I've discovered that there are some options I can't explore unless the Perl I'm using was compiled with the DEBUGGING flag ... and this seems not to be the case with Slackware's Perl.

So I'm not sure whether the best thing to do would be roll my own "alternate" Perl with DEBUGGING, or ... something else.

It's a naive question, but I guess that the Perl in the Slackware package is already compiled, right? I mean it wouldn't do me any good to try to reinstall Slackware's Perl with a modified install script ...?

Thanks for any pointers,

Old 12-23-2008, 02:20 PM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,811

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Just modify the SlackBuild and add the configure options you want, bump the BUILD number and re-compile and package it.
Old 12-23-2008, 04:46 PM   #3
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
This would be a good place to start:
Old 12-23-2008, 05:26 PM   #4
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Use the build script as suggested, but Slackware and everything else in a Slackware using Perl doesn't break if you compile a new Perl by hand with your favorite options.

Two Perls also work fine as long as you remember your paths and don't overwrite the executables by accident.

I've got the Slack orginal Perl (still on 12.0...), a recent 5.10, a pugs and rakudo and everything works fine.


custom, packages, perl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Custom Module Install of Perl using MCPAN or tar.gz (Solaris 9) metallica1973 Programming 0 02-26-2008 11:29 AM
LXer: Keystroke security dynamics from custom Perl algorithms LXer Syndicated Linux News 0 01-08-2008 06:50 AM
LXer: Custom Charts with Perl and GD LXer Syndicated Linux News 0 04-30-2007 10:16 PM
LXer: Use Perl grep tool for custom LDAP search capability LXer Syndicated Linux News 0 02-24-2007 04:46 AM
using custom java classes in perl eastsuse Programming 1 12-02-2004 06:41 PM

All times are GMT -5. The time now is 06:50 PM.

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