Mailinglist Archive: opensuse (3729 mails)
| < Previous | Next > |
Re: [SLE] Perl w/o threads
- From: zentara <zentara@xxxxxxxxxxx>
- Date: Sun, 29 Jun 2003 07:49:35 -0400
- Message-id: <20030629074935.52777e2c.zentara@xxxxxxxxxxx>
On Sun, 29 Jun 2003 11:42:33 +0200
Kaare Rasmussen <kar@xxxxxxxxxxx> wrote:
>I have a program that needs Perl with no thread support. SuSE Linux 8.2 ships
>with Perl thread enabled.
>
>What can I do to get a Perl w/o threads. Do I have to install it from scratch,
>or does SuSE have a rpm ?
If you install a Perl w/o threads you may break (probably will) other
perl scripts which need it.
You best bet is to install a second perl installation from scratch,
and keep it separate from the suse perl. SuSE's Perl is in /usr/bin/perl
and /usr/lib/perl5 and the scripts are called with #!/usr/bin/perl at the top.
If you compile Perl yourself from scratch , it will go into /usr/local/bin
and /usr/local/lib/perl5 by default, and at the top of the scripts, you
call it with #!/usr/local/bin/perl
So you can have it both ways, one threaded and the other not.
--
use Perl; #powerful programmable prestidigitation
Kaare Rasmussen <kar@xxxxxxxxxxx> wrote:
>I have a program that needs Perl with no thread support. SuSE Linux 8.2 ships
>with Perl thread enabled.
>
>What can I do to get a Perl w/o threads. Do I have to install it from scratch,
>or does SuSE have a rpm ?
If you install a Perl w/o threads you may break (probably will) other
perl scripts which need it.
You best bet is to install a second perl installation from scratch,
and keep it separate from the suse perl. SuSE's Perl is in /usr/bin/perl
and /usr/lib/perl5 and the scripts are called with #!/usr/bin/perl at the top.
If you compile Perl yourself from scratch , it will go into /usr/local/bin
and /usr/local/lib/perl5 by default, and at the top of the scripts, you
call it with #!/usr/local/bin/perl
So you can have it both ways, one threaded and the other not.
--
use Perl; #powerful programmable prestidigitation
| < Previous | Next > |