473,548 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with perlcc

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.8). 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::PDF: :Objind saved (it is in PDF::API2::PDF: :String's @ISA)
Exporter saved (it is in Symbol's @ISA)
PDF::API2::PDF: :Filter saved (it is in PDF::API2::PDF: :ASCII85Decode' s
@ISA)
PDF::API2::PDF: :Dict saved (it is in PDF::API2::PDF: :Pages's @ISA)
PDF::API2::Hybr id saved (it is in PDF::API2::PdfI mage's @ISA)
PDF::API2::Gfx saved (it is in PDF::API2::Hybr id's @ISA)
PDF::API2::Cont ent saved (it is in PDF::API2::Gfx' s @ISA)
PDF::API2::Text saved (it is in PDF::API2::Hybr id's @ISA)
IO::Handle saved (it is in IO::File's @ISA)
IO::Seekable saved (it is in IO::File's @ISA)
PDF::API2::Outl ine saved (it is in PDF::API2::Outl ines's @ISA)
PDF::API2::PDF: :Array saved (it is in PDF::API2::Colo rSpace's @ISA)
PDF::API2::PDF: :FlateDecode saved (it is in
PDF::API2::PDF: :LZWDecode's @ISA)
DynaLoader saved (it is in Compress::Zlib' s @ISA)
PDF::API2::PDF: :Image saved (it is in PDF::API2::PDF: :ImagePPM's @ISA)
PDF::API2::PDF: :File saved (it is in PDF::API2::PDF: :FileAPI's @ISA)
PDF::API2::Font saved (it is in PDF::API2::PSFo nt's @ISA)
Prescan
Saving methods
Bootstrap Cwd /usr/lib/perl/5.8.0/XSLoader.pm
No definition for sub Fcntl::O_LARGEF ILE
No definition for sub Fcntl::O_LARGEF ILE (unable to autoload)
No definition for sub Fcntl::FD_CLOEX EC
No definition for sub Fcntl::FD_CLOEX EC (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_SETLK6 4
No definition for sub Fcntl::F_SETLK6 4 (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_FSYNC6 4
No definition for sub Fcntl::F_FSYNC6 4 (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_ALLOCS P
No definition for sub Fcntl::F_ALLOCS P (unable to autoload)
No definition for sub Fcntl::F_FREESP 64
No definition for sub Fcntl::F_FREESP 64 (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_NONBLO CK
No definition for sub Fcntl::O_NONBLO CK (unable to autoload)
No definition for sub Fcntl::O_ACCMOD E
No definition for sub Fcntl::O_ACCMOD E (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_UNSHAR E
No definition for sub Fcntl::F_UNSHAR E (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_NOFOLL OW
No definition for sub Fcntl::O_NOFOLL OW (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_SETLKW 64
No definition for sub Fcntl::F_SETLKW 64 (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_TEMPOR ARY
No definition for sub Fcntl::O_TEMPOR ARY (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_ALLOCS P64
No definition for sub Fcntl::F_ALLOCS P64 (unable to autoload)
No definition for sub Fcntl::F_GETLK6 4
No definition for sub Fcntl::F_GETLK6 4 (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_DIRECT ORY
No definition for sub Fcntl::O_DIRECT ORY (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_NOINHE RIT
No definition for sub Fcntl::O_NOINHE RIT (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_SEQUEN TIAL
No definition for sub Fcntl::O_SEQUEN TIAL (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_COMPRESSI ON
No definition for sub Compress::Zlib: :Z_NO_COMPRESSI ON (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_COMPRES SION
No definition for sub Compress::Zlib: :Z_BEST_COMPRES SION (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_FLUS H
No definition for sub Compress::Zlib: :Z_PARTIAL_FLUS H (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_ERRO R
No definition for sub Compress::Zlib: :Z_VERSION_ERRO R (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: :DEF_WBITS
No definition for sub Compress::Zlib: :DEF_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

Jul 19 '05 #1
0 3766

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3051
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in the context of a main window. The problem does not occur on HPUX or Linux. The following simple example code illustrates the problem and the...
0
3286
by: makko | last post by:
Hello all, i tried using perlcc on my calc.pl script; perlcc -o calc calc.pl but i get this error; /usr/bin/perlcc: calc.pl did not compile, which can't happen: i'm using perl 5.8.4. What could be the cause of this? regards,
117
7111
by: Peter Olcott | last post by:
www.halting-problem.com
28
5177
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass(); .... and then call the virtual method, why is it that the base class's method is called instead of the overridden method? How do I fix this if I...
6
3789
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length is more that 1249 bytes, then the progress bar of the browser will move too slow and then displaying that the page not found!!!! If the message is...
16
4877
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be...
2
4534
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was set to...it is set to false. Can someone show me what I am doing wrong and tell me the correct way? Thank you. In the page load event, I am...
0
3554
by: Paul Urbanus | last post by:
Hi, I'm a perl hack and want to distribute a windows executable of one of my scripts. When I invoke the perl compiler by using perlcc, I get the following error. perlcc.bat: Can't unlink error file pccrYVGS If I try multiple times, the error is the same but the filename changes.
1
2662
by: kriz4321 | last post by:
Hi all, I have a simple .pl program which I need to convert to EXE... It has no modules used but when I try to use perlcc it gives following error.. Iam trying the same in windows machine... The main purpse of doing the same is others should not have option to see my code.. Anyother way of achieving the same without using perlcc also will be...
0
7438
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3495
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.