deadpickle has asked for the wisdom of the Perl Monks concerning the following question:

I have been working on a project for over a year and now its time for it to come to an end. Right now I'm trying to package the perl scripts into a standalone executable so that it can be used on any system regardless. I have 3 systems; A Windows Vista, a Linux, and a Windows XP. I first tried to make an exe in linux for a linux system using pp, it worked wonderfully. Now onto the windows. Talk about the blues. I first had problems even getting Gtk2 to install and work on my Windows XP machine. Needless to say it still does not work. To my surprise I got Gtk2 to work great on my Vista machine. This is covered here, http://perlmonks.org/?node_id=632246. Now I have to package the perl script in windows for windows using pp. When I installed PAR-Packer and tried to create my exe file I recieved this error: parloQXY.exe - Entry Point Not Found: The procedure entry point Perl_sv_2iv_flags could not be located in the dynamic link library perl58.dll. I have been trying to get help in the par mailing list but that has now hit a stand still. Now, I'm looking for any suggestions on how to get my script in a standalone exe. Anything, I'm getting desperate!!!

Replies are listed 'Best First'.
Re: PAR::Packer Blues
by TGI (Parson) on Aug 23, 2007 at 02:18 UTC
Re: PAR::Packer Blues
by syphilis (Archbishop) on Aug 23, 2007 at 08:14 UTC
    Jan Dubois posted about that error on the win32-perl-users list just today. Here's what he said:

    This mean you are using an application built with AP822 against an older version of perl58.dll. AP822 contains all changes from the Perl 5.8.x maintenance branch that will eventually become 5.8.9. One of the changes is that the SvIV() macro may now call the Perl_sv_2iv_flags() function, which does not exist in earlier 5.8.x releases.

    I gather that either downgrading to ActivePerl build 820, or using a version of PAR::Packer that has been built using ActivePerl build 822 will work.

    Cheers,
    Rob
    Update: Oops ... already linked to by TGI ... sorry for the needless repetition
      I downgraded and installed PAR::Packer via AS. still a no go. Not sure what to do. I searched windows for perl58.dll and only found one. Its wierd that Gtk2 works but PAR doesnt on the vista machine and PAR works but Gtk2 doesnt on my Windows XP machine.
        You need to compile PAR/Gtk.... yourself
Re: PAR::Packer Blues
by Anonymous Monk on Aug 23, 2007 at 07:36 UTC
    if you compile everything yourself, you won't have version mismatch issues like this