Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Help: PERL executables on QNX 4.25
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th August 20:37
jchilla1
External User
 
Posts: 1
Default Help: PERL executables on QNX 4.25


Hi,
How do I create executables from PERL scripts?

I am using perlcc.
Tried a simple script as follows:
-------------------------------------------------------
#!/usr/bin/perl

use strict;
use CGI ;

print header();
print start_html();

print h1('Hello Dynamic CGI Linux');
print div('Hello Dynamic CGI Linux!!!');
print div('I am:', `id -un`);

print end_html();
---------------------------------------------------

The command used: perlcc -o filename filename.pl

The error/warning messages are as follows:
--------------------------------------------------------------------------------
Compiling testpcc.pl:
--------------------------------------------------------------------------------
Making C(testpcc.pl.c) for testpcc.pl!
/usr/local/bin/perl -I/usr/local/lib/perl5/5.00502/x86-qnx
-I/usr/local/lib/perl5/5.00502
-I/usr/local/lib/perl5/site_perl/5.005/x86-qnx
-I/usr/local/lib/perl5/site_perl/5.005 -I. -MO=CC,-otestpcc.pl.c
testpcc.pl
testpcc.pl syntax OK
MultipartBuffer has method DESTROY: -uMultipartBuffer assumed
CGITempFile has method DESTROY: -uCGITempFile assumed
CGI has method new: -uCGI assumed
Can't locate object method "FLAGS" via package "B::SPECIAL" at
/usr/local/lib/perl5/5.00502/x86-qnx/B/Stackobj.pm line 216.
END failed--cleanup aborted.
ERROR: In generating code for testpcc.pl!

Any pointers are sincerely appreciated.

Thank you in advance.
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666