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'.