Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perlcc && perlTk

by dhable (Monk)
on Apr 05, 2002 at 13:28 UTC ( #156904=note: print w/replies, xml ) Need Help??


in reply to perlcc && perlTk

I never used perlcc, but have compiled my Tk applications using Perl2Exe from IndigoStar and recently with the PerlDev Kit from ActiveState. Each one of these applications will run through the script and pull the libraries that are needed to make a standalone executable. If you want speed, I achieved smaller file sizes and faster executables with Perl Dev.

Replies are listed 'Best First'.
Re: Re: perlcc && perlTk
by Nadir (Initiate) on Apr 05, 2002 at 14:41 UTC
    From my experience with Perl2Exe, it sometimes helps to explicitly 'Use' every module at the top of your main script. In oder to get my Tk apps to compile for Win98, I have to have Tk::blah where 'blah' is every Tk module I use in the application. This may have been improved in a later version of Perl2Exe, but that's what I've had to do in the past. From your error message, you might also try adding some paths to @INC manually with 'use lib'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://156904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-05-24 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?