Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Problem with perlcc

Reply
Thread Tools

Problem with perlcc

 
 
Matt Ittigson
Guest
Posts: n/a
 
      09-30-2003
I'm getting the following error(s) running perlcc and can't find any
explanation or work around. I'm including the errors and the script
itself. I get the same errors on a cygwin+Win2k box as a debian box
(with perl 5.. Thanks.

File:
----------------------------------
#!/usr/bin/perl

use PDF::API2;
my $file;

if (-f $ARGV[0])
{
$file = $ARGV[0];
}
else
{
print "File not found.\n";
exit 1;
}

my $url = "http://XXX";

my $pdf = PDF::API2->open($file);
# page 1
draw_url($pdf, 1, [250, 10, 355, 23], $ssd);

$pdf->update;
$pdf->end;

sub draw_url
{
my ($pdf, $page_num, $dims, $url) = @_;

my $page = $pdf->openpage($page_num);
my $an = $page->annotation;
$an->url($url, (-rect => $dims), (-border => [0, 0, 0]));
$page->update;
}

Error:
----------------------------------
/usr/bin/perlcc: pdf.pl did not compile, which can't happen:
Starting compile
Walking tree
PDF::API2:DF::Objind saved (it is in PDF::API2:DF::String's @ISA)
Exporter saved (it is in Symbol's @ISA)
PDF::API2:DF::Filter saved (it is in PDF::API2:DF::ASCII85Decode's
@ISA)
PDF::API2:DF:ict saved (it is in PDF::API2:DF:ages's @ISA)
PDF::API2::Hybrid saved (it is in PDF::API2:dfImage's @ISA)
PDF::API2::Gfx saved (it is in PDF::API2::Hybrid's @ISA)
PDF::API2::Content saved (it is in PDF::API2::Gfx's @ISA)
PDF::API2::Text saved (it is in PDF::API2::Hybrid's @ISA)
IO::Handle saved (it is in IO::File's @ISA)
IO::Seekable saved (it is in IO::File's @ISA)
PDF::API2::Outline saved (it is in PDF::API2::Outlines's @ISA)
PDF::API2:DF::Array saved (it is in PDF::API2::ColorSpace's @ISA)
PDF::API2:DF::FlateDecode saved (it is in
PDF::API2:DF::LZWDecode's @ISA)
DynaLoader saved (it is in Compress::Zlib's @ISA)
PDF::API2:DF::Image saved (it is in PDF::API2:DF::ImagePPM's @ISA)
PDF::API2:DF::File saved (it is in PDF::API2:DF::FileAPI's @ISA)
PDF::API2::Font saved (it is in PDF::API2:SFont's @ISA)
Prescan
Saving methods
Bootstrap Cwd /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub Fcntl::O_LARGEFILE
No definition for sub Fcntl::O_LARGEFILE (unable to autoload)
No definition for sub Fcntl::FD_CLOEXEC
No definition for sub Fcntl::FD_CLOEXEC (unable to autoload)
No definition for sub Fcntl::F_WRACC
No definition for sub Fcntl::F_WRACC (unable to autoload)
No definition for sub Fcntl::O_NOCTTY
No definition for sub Fcntl::O_NOCTTY (unable to autoload)
No definition for sub Fcntl::F_SETLK64
No definition for sub Fcntl::F_SETLK64 (unable to autoload)
No definition for sub Fcntl::F_SETOWN
No definition for sub Fcntl::F_SETOWN (unable to autoload)
No definition for sub Fcntl::O_RAW
No definition for sub Fcntl::O_RAW (unable to autoload)
No definition for sub Fcntl::O_DSYNC
No definition for sub Fcntl::O_DSYNC (unable to autoload)
No definition for sub Fcntl::F_WRDNY
No definition for sub Fcntl::F_WRDNY (unable to autoload)
No definition for sub Fcntl::F_GETLK
No definition for sub Fcntl::F_GETLK (unable to autoload)
No definition for sub Fcntl::O_BINARY
No definition for sub Fcntl::O_BINARY (unable to autoload)
No definition for sub Fcntl::F_FSYNC64
No definition for sub Fcntl::F_FSYNC64 (unable to autoload)
No definition for sub Fcntl::O_SYNC
No definition for sub Fcntl::O_SYNC (unable to autoload)
No definition for sub Fcntl::SEEK_SET
No definition for sub Fcntl::SEEK_SET (unable to autoload)
No definition for sub Fcntl::F_RDLCK
No definition for sub Fcntl::F_RDLCK (unable to autoload)
No definition for sub Fcntl::F_SETLKW
No definition for sub Fcntl::F_SETLKW (unable to autoload)
No definition for sub Fcntl::O_RSRC
No definition for sub Fcntl::O_RSRC (unable to autoload)
No definition for sub Fcntl::F_ALLOCSP
No definition for sub Fcntl::F_ALLOCSP (unable to autoload)
No definition for sub Fcntl::F_FREESP64
No definition for sub Fcntl::F_FREESP64 (unable to autoload)
No definition for sub Fcntl::F_UNLCK
No definition for sub Fcntl::F_UNLCK (unable to autoload)
No definition for sub Fcntl::O_RANDOM
No definition for sub Fcntl::O_RANDOM (unable to autoload)
No definition for sub Fcntl::F_WRLCK
No definition for sub Fcntl::F_WRLCK (unable to autoload)
No definition for sub Fcntl::O_RDONLY
No definition for sub Fcntl::O_RDONLY (unable to autoload)
No definition for sub Fcntl::O_NDELAY
No definition for sub Fcntl::O_NDELAY (unable to autoload)
No definition for sub Fcntl::F_RDACC
No definition for sub Fcntl::F_RDACC (unable to autoload)
Bootstrap Fcntl /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub Fcntl::F_GETFD
No definition for sub Fcntl::F_GETFD (unable to autoload)
No definition for sub Fcntl::F_EXLCK
No definition for sub Fcntl::F_EXLCK (unable to autoload)
No definition for sub Fcntl::O_NONBLOCK
No definition for sub Fcntl::O_NONBLOCK (unable to autoload)
No definition for sub Fcntl::O_ACCMODE
No definition for sub Fcntl::O_ACCMODE (unable to autoload)
No definition for sub Fcntl::O_RSYNC
No definition for sub Fcntl::O_RSYNC (unable to autoload)
No definition for sub Fcntl::F_UNSHARE
No definition for sub Fcntl::F_UNSHARE (unable to autoload)
No definition for sub Fcntl::O_RDWR
No definition for sub Fcntl::O_RDWR (unable to autoload)
No definition for sub Fcntl::O_EXLOCK
No definition for sub Fcntl::O_EXLOCK (unable to autoload)
No definition for sub Fcntl::O_NOFOLLOW
No definition for sub Fcntl::O_NOFOLLOW (unable to autoload)
No definition for sub Fcntl::O_APPEND
No definition for sub Fcntl::O_APPEND (unable to autoload)
No definition for sub Fcntl::F_DUP2FD
No definition for sub Fcntl::F_DUP2FD (unable to autoload)
No definition for sub Fcntl::SEEK_CUR
No definition for sub Fcntl::SEEK_CUR (unable to autoload)
No definition for sub Fcntl::F_SETLKW64
No definition for sub Fcntl::F_SETLKW64 (unable to autoload)
No definition for sub Fcntl::F_RWDNY
No definition for sub Fcntl::F_RWDNY (unable to autoload)
No definition for sub Fcntl::O_TEMPORARY
No definition for sub Fcntl::O_TEMPORARY (unable to autoload)
No definition for sub Fcntl::O_DIRECT
No definition for sub Fcntl::O_DIRECT (unable to autoload)
No definition for sub Fcntl::F_GETOWN
No definition for sub Fcntl::F_GETOWN (unable to autoload)
No definition for sub Fcntl::F_ALLOCSP64
No definition for sub Fcntl::F_ALLOCSP64 (unable to autoload)
No definition for sub Fcntl::F_GETLK64
No definition for sub Fcntl::F_GETLK64 (unable to autoload)
No definition for sub Fcntl::F_SHARE
No definition for sub Fcntl::F_SHARE (unable to autoload)
No definition for sub Fcntl::F_RWACC
No definition for sub Fcntl::F_RWACC (unable to autoload)
No definition for sub Fcntl::O_WRONLY
No definition for sub Fcntl::O_WRONLY (unable to autoload)
No definition for sub Fcntl::F_RDDNY
No definition for sub Fcntl::F_RDDNY (unable to autoload)
No definition for sub Fcntl::F_NODNY
No definition for sub Fcntl::F_NODNY (unable to autoload)
No definition for sub Fcntl::O_TRUNC
No definition for sub Fcntl::O_TRUNC (unable to autoload)
No definition for sub Fcntl::O_DIRECTORY
No definition for sub Fcntl::O_DIRECTORY (unable to autoload)
No definition for sub Fcntl::F_SETLK
No definition for sub Fcntl::F_SETLK (unable to autoload)
No definition for sub Fcntl::O_ALIAS
No definition for sub Fcntl::O_ALIAS (unable to autoload)
No definition for sub Fcntl::O_NOINHERIT
No definition for sub Fcntl::O_NOINHERIT (unable to autoload)
No definition for sub Fcntl::O_SHLOCK
No definition for sub Fcntl::O_SHLOCK (unable to autoload)
No definition for sub Fcntl::F_GETFL
No definition for sub Fcntl::F_GETFL (unable to autoload)
No definition for sub Fcntl::F_SHLCK
No definition for sub Fcntl::F_SHLCK (unable to autoload)
No definition for sub Fcntl::F_COMPAT
No definition for sub Fcntl::F_COMPAT (unable to autoload)
No definition for sub Fcntl::O_SEQUENTIAL
No definition for sub Fcntl::O_SEQUENTIAL (unable to autoload)
No definition for sub Fcntl::F_FREESP
No definition for sub Fcntl::F_FREESP (unable to autoload)
No definition for sub Fcntl::F_FSYNC
No definition for sub Fcntl::F_FSYNC (unable to autoload)
No definition for sub Fcntl::F_SETFD
No definition for sub Fcntl::F_SETFD (unable to autoload)
No definition for sub Fcntl::F_POSIX
No definition for sub Fcntl::F_POSIX (unable to autoload)
No definition for sub Fcntl::O_CREAT
No definition for sub Fcntl::O_CREAT (unable to autoload)
No definition for sub Fcntl::O_ASYNC
No definition for sub Fcntl::O_ASYNC (unable to autoload)
No definition for sub Fcntl::F_DUPFD
No definition for sub Fcntl::F_DUPFD (unable to autoload)
No definition for sub Fcntl::O_EXCL
No definition for sub Fcntl::O_EXCL (unable to autoload)
No definition for sub Fcntl::SEEK_END
No definition for sub Fcntl::SEEK_END (unable to autoload)
No definition for sub Fcntl::O_DEFER
No definition for sub Fcntl::O_DEFER (unable to autoload)
No definition for sub Fcntl::O_TEXT
No definition for sub Fcntl::O_TEXT (unable to autoload)
No definition for sub Fcntl::F_SETFL
No definition for sub Fcntl::F_SETFL (unable to autoload)
Bootstrap File::Glob /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub Compress::Zlib::Z_HUFFMAN_ONLY
No definition for sub Compress::Zlib::Z_HUFFMAN_ONLY (unable to autoload)
No definition for sub Compress::Zlib::Z_FINISH
No definition for sub Compress::Zlib::Z_FINISH (unable to autoload)
No definition for sub Compress::Zlib::Z_ASCII
No definition for sub Compress::Zlib::Z_ASCII (unable to autoload)
No definition for sub Compress::Zlib::Z_NEED_DICT
No definition for sub Compress::Zlib::Z_NEED_DICT (unable to autoload)
No definition for sub Compress::Zlib::Z_STREAM_ERROR
No definition for sub Compress::Zlib::Z_STREAM_ERROR (unable to autoload)
No definition for sub Compress::Zlib::Z_FULL_FLUSH
No definition for sub Compress::Zlib::Z_FULL_FLUSH (unable to autoload)
No definition for sub Compress::Zlib::Z_UNKNOWN
No definition for sub Compress::Zlib::Z_UNKNOWN (unable to autoload)
No definition for sub Compress::Zlib::ZLIB_VERSION
No definition for sub Compress::Zlib::ZLIB_VERSION (unable to autoload)
No definition for sub Compress::Zlib::Z_SYNC_FLUSH
No definition for sub Compress::Zlib::Z_SYNC_FLUSH (unable to autoload)
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub Compress::Zlib::Z_NO_COMPRESSION
No definition for sub Compress::Zlib::Z_NO_COMPRESSION (unable to
autoload)
No definition for sub Compress::Zlib::gunzip
No definition for sub Compress::Zlib::gunzip (unable to autoload)
Bootstrap Compress::Zlib ?????
No definition for sub Compress::Zlib::Z_BEST_COMPRESSION
No definition for sub Compress::Zlib::Z_BEST_COMPRESSION (unable to
autoload)
No definition for sub Compress::Zlib::Z_STREAM_END
No definition for sub Compress::Zlib::Z_STREAM_END (unable to autoload)
No definition for sub Compress::Zlib::Z_NO_FLUSH
No definition for sub Compress::Zlib::Z_NO_FLUSH (unable to autoload)
No definition for sub Compress::Zlib::Z_DATA_ERROR
No definition for sub Compress::Zlib::Z_DATA_ERROR (unable to autoload)
No definition for sub Compress::Zlib::Z_OK
No definition for sub Compress::Zlib::Z_OK (unable to autoload)
No definition for sub Compress::Zlib::Z_FILTERED
No definition for sub Compress::Zlib::Z_FILTERED (unable to autoload)
No definition for sub Compress::Zlib::Z_BEST_SPEED
No definition for sub Compress::Zlib::Z_BEST_SPEED (unable to autoload)
No definition for sub Compress::Zlib::Z_PARTIAL_FLUSH
No definition for sub Compress::Zlib::Z_PARTIAL_FLUSH (unable to autoload)
No definition for sub Compress::Zlib::gzip
No definition for sub Compress::Zlib::gzip (unable to autoload)
No definition for sub Compress::Zlib::Z_MEM_ERROR
No definition for sub Compress::Zlib::Z_MEM_ERROR (unable to autoload)
No definition for sub Compress::Zlib::Z_NULL
No definition for sub Compress::Zlib::Z_NULL (unable to autoload)
No definition for sub Compress::Zlib::Z_VERSION_ERROR
No definition for sub Compress::Zlib::Z_VERSION_ERROR (unable to autoload)
No definition for sub Compress::Zlib::OS_CODE
No definition for sub Compress::Zlib::OS_CODE (unable to autoload)
No definition for sub Compress::Zlib::Z_BUF_ERROR
No definition for sub Compress::Zlib::Z_BUF_ERROR (unable to autoload)
No definition for sub Compress::Zlib::Z_ERRNO
No definition for sub Compress::Zlib::Z_ERRNO (unable to autoload)
No definition for sub Compress::Zlib::Z_BINARY
No definition for sub Compress::Zlib::Z_BINARY (unable to autoload)
No definition for sub Compress::Zlib:EF_WBITS
No definition for sub Compress::Zlib:EF_WBITS (unable to autoload)
Bootstrap List::Util re/perl5/PDF/API2/PDF/AFont.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
Bootstrap IO /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub POSIX::HUGE_VAL
No definition for sub POSIX::HUGE_VAL (unable to autoload)

--
-Matt

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perlcc error - 'Can't unlink error file...' Paul Urbanus Perl 0 04-07-2006 01:34 PM
perlcc error makko Perl 0 03-02-2005 02:18 PM
Perlcc Problem... stratus Perl Misc 4 02-05-2004 02:07 PM
Perlcc and converting scripts to bytecode Warren Bell Perl Misc 4 12-07-2003 10:23 PM
perlcc makes it big butt-fuzz Perl Misc 9 07-28-2003 05:37 PM



Advertisments