From: Dee on
Hi all folks,
I just installed debian linux on my laptop, and the perl 5.8 is a
default package for the system, but when i wanna compile my perl script
using perlcc, i get a error message come out with /usr/bin/lb -lperl
file can not found, but there are even not these folder at certain
location, and i think i have already installed all the library for
standard perl script(caze my script is quite simple for testing perl
purpose, like "hello, world",:) . Anyone using debian and also using
perl can help me out?
Ps: my debian is sarge(stable version.), the kernel is 2.6.10(this
doesn't matter actually),

From: jl_post@hotmail.com on
Dee wrote:
>
> I just installed debian linux on my laptop, and the
> perl 5.8 is a default package for the system, but when
> i wanna compile my perl script using perlcc, i get a
> error message come out with /usr/bin/lb -lperl
> file can not found...


Dear Dee,

The fact that you are having problems with perlcc is not surprising.
A quick look at "perldoc perlcc" gives us this:

> The code generated in this way is not guaranteed to work.
> The whole codegen suite ("perlcc" included) should be
> considered very experimental. Use for production purposes
> is strongly discouraged.

So how would you compile your perl code without "perlcc"? I might
recommend installing and trying out the PAR module, but to be honest,
I've only used it with ActiveState Perl on Win32 platforms -- so I
don't know how well it works on Debian Linux. It might be a worth
investigating, though.

I hope this helps, Dee.

-- Jean-Luc

From: Jim Gibson on
In article <1141216089.174673.288440(a)t39g2000cwt.googlegroups.com>, Dee
<luye_qq(a)hotmail.com> wrote:

> Hi all folks,
> I just installed debian linux on my laptop, and the perl 5.8 is a
> default package for the system, but when i wanna compile my perl script
> using perlcc, i get a error message come out with /usr/bin/lb -lperl
> file can not found, but there are even not these folder at certain
> location, and i think i have already installed all the library for
> standard perl script(caze my script is quite simple for testing perl
> purpose, like "hello, world",:) . Anyone using debian and also using
> perl can help me out?
> Ps: my debian is sarge(stable version.), the kernel is 2.6.10(this
> doesn't matter actually),
>

What exactly are you trying to do, run a Perl script or produce a
standalone executable program? It is not necessary to compile Perl
scripts to execute them. Put your script in a file (e.g., hello.pl) and
run the perl interpreter on the file:

perl hello.pl

--
Jim Gibson

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com