Re: Problems with ActiveState PAR/PP -- procedure entry point error (Summary)

2007-09-14 Thread Randy Kobes

On Fri, 14 Sep 2007, [EMAIL PROTECTED] wrote:


On Sep 13, 4:03 pm, [EMAIL PROTECTED] wrote:

The "procedure entry point" error message is all over various lists/
groups but I haven't found a good resolution yet.


A follow-up to myself, since this thread went in a couple of
directions.

Randy, the link at uwinnipeg for the appropriate version of
PAR::Packer went nowhere (http://cpan.uwinnipeg.ca/dist/PAR-Packer-588
is basically blank).  For some reason (maybe that one) I couldn't
convince ppm to install from there.  This may be my fault.


What I meant in my earlier message is that I'll be
removing the PAR*588 ppm packages, in favour of
calling them just PAR and PAR-Packer; these will always
be compiled against the latest ActivePerl build.

--
best regards,
Randy


Re: Problems with ActiveState PAR/PP -- procedure entry point error (Summary)

2007-09-14 Thread Mark Dootson
[EMAIL PROTECTED] wrote:

...
> 
> Mark's solution (with Steffen's installation tip) worked perfectly.
> For future reference, should this be considered a general solution to
> the problem?
> 
..

Hi,

The solution you used will only work with latest ActivePerl (currently 822). It 
was also just one of the steps required for a complete install (dependencies 
etc) - but I figured you had completed all the others.

The full method, assuming you don't have a C compile environment, is to 
download the free nmake from Microsoft, download the PAR::Packer source, and do 
a standard

perl Makefile.pl
nmake
nmake test
nmake install

Even then, this is only ever likely to work if you have the latest ActivePerl. 
(It downloads the same PAR dist that you downloaded manually - which is always 
likely to be compiled against latest ActivePerl)

A solution for everyone, if you can't upgrade your ActivePerl, is to install 
MinGW and build yourself. This is much simpler than you might think.
I have promised to do a 'HOWTO' by putting together all the info offered in 
past threads by several folks with necessary info on the minor changes you have 
to make for different ActivePerl versions. Going forward, you won't have to 
tweak anything because you can use MinGW with ActivePerl from version 822 
without needing any minor tweaks etc.
I just haven't got around to doing it. You only really need a HOWTO if you have 
no experience compiling anything at all OR you want to compile on Vista.

Anyway, glad you got things working.

Regards

Mark












Re: Problems with ActiveState PAR/PP -- procedure entry point error (Summary)

2007-09-14 Thread clintp
On Sep 13, 4:03 pm, [EMAIL PROTECTED] wrote:
> The "procedure entry point" error message is all over various lists/
> groups but I haven't found a good resolution yet.

A follow-up to myself, since this thread went in a couple of
directions.

Randy, the link at uwinnipeg for the appropriate version of
PAR::Packer went nowhere (http://cpan.uwinnipeg.ca/dist/PAR-Packer-588
is basically blank).  For some reason (maybe that one) I couldn't
convince ppm to install from there.  This may be my fault.

Mark's solution (with Steffen's installation tip) worked perfectly.
For future reference, should this be considered a general solution to
the problem?

Thank you, all.



Re: Problems with ActiveState PAR/PP -- procedure entry point error

2007-09-14 Thread Steffen Mueller
Hi Mark, hi par@perl.org,

Mark Dootson wrote:
> For ActiveState build 822 you can download the PAR dist from
> 
> http://backpan.perl.org/authors/id/S/SM/SMUELLER/PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par
> 
> and install it with:
> 
> perl -MPAR::Dist -e"install_par( 
> 'PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par' )"

It's just a nit, but

perl -MPAR::Dist -e"install_par(
'http://backpan.perl.org/authors/id/S/SM/SMUELLER/PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par'
);

will work just fine. (Aaah, all the magic Audrey has put in! :)

In fact, that exact .par package should automatically be fetched if you
don't have a C compiler handy and try to install PAR::Packer via the
CPAN shell.

Cheers,
Steffen


Re: Problems with ActiveState PAR/PP -- procedure entry point error

2007-09-13 Thread Randy Kobes

On Thu, 13 Sep 2007, [EMAIL PROTECTED] wrote:


The "procedure entry point" error message is all over various lists/
groups but I haven't found a good resolution yet.

Fresh install of ActiveState Perl, Par-Package too.  The error is:

The procedure entry point Perl_sv_2iv_flags could not be located
in the
dynamic link library perl58.dll

I think I understand the explanations given elsewhere, that the PAR
packager is looking for a different version of Perl58.dll than the one
that it has.  What I haven't seen is how to resolve it.  Rebuilding
PAR from scratch, probably not an option for me.  I just need to re-
distribute a perl program to others...  What versions of what packages
do I need to install?


In our http://theoryx5.uwinnipeg.ca/ppms/ repository I
had been maintaining versions of PAR and related packages
built against different versions of Perl. This is becoming
somewhat unmanageable, though, so I've now changed it so
that these will be built with the latest ActivePerl
(currently build 822), and have just uploaded a new
PAR and PAR-Packer built against this. Could you try
those versions to see if they work? You may have to
use ppm to uninstall the packages first.

--
best regards,
Randy Kobes


Re: Problems with ActiveState PAR/PP -- procedure entry point error

2007-09-13 Thread Mark Dootson
Hi,

For ActiveState build 822 you can download the PAR dist from

http://backpan.perl.org/authors/id/S/SM/SMUELLER/PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par

and install it with:

perl -MPAR::Dist -e"install_par( 
'PAR-Packer-0.976-MSWin32-x86-multi-thread-5.8.8.par' )"


Regards

Mark


[EMAIL PROTECTED] wrote:
> The "procedure entry point" error message is all over various lists/
> groups but I haven't found a good resolution yet.
> 
> Fresh install of ActiveState Perl, Par-Package too.  The error is:
> 
>  The procedure entry point Perl_sv_2iv_flags could not be located
> in the
>  dynamic link library perl58.dll
> 
> I think I understand the explanations given elsewhere, that the PAR
> packager is looking for a different version of Perl58.dll than the one
> that it has.  What I haven't seen is how to resolve it.  Rebuilding
> PAR from scratch, probably not an option for me.  I just need to re-
> distribute a perl program to others...  What versions of what packages
> do I need to install?
> 
> The Perl58.dll version:
> 
> C:\Perl\bin>perl -MWin32 -e "print Win32::GetFileVersion('c:/perl/
> bin/perl58.dll')"
> 588822
> 
> There are no other perl58.dll's on my system.  Par's version:
> 
> C:\Perl\site\bin>pp -V
> PAR Packager, version 0.976 (PAR version 0.976)
> 
> And Perl reports:
> 
> C:\Perl\site\bin>perl -v
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> (with 18 registered patches, see perl -V for more detail)
> 
> Copyright 1987-2007, Larry Wall
> 
> Binary build 822 [280952] provided by ActiveState 
> http://www.ActiveState.com
> Built Jul 31 2007 19:34:48
> 
> Is there a resolution to all of this?
> 


Re: Problems with ActiveState PAR/PP -- procedure entry point error

2007-09-13 Thread Mark Dootson
Hi, 

If your only perl58.dll is the one from ActiveState build 822, then the problem 
is with your PAR packager. It contains an image of perl58.dll from a different 
(earlier) version of Perl.

Where did you get the PAR::Packer modules from?

Regards

Mark


[EMAIL PROTECTED] wrote:
> The "procedure entry point" error message is all over various lists/
> groups but I haven't found a good resolution yet.
> 
> Fresh install of ActiveState Perl, Par-Package too.  The error is:
> 
>  The procedure entry point Perl_sv_2iv_flags could not be located
> in the
>  dynamic link library perl58.dll
> 
> I think I understand the explanations given elsewhere, that the PAR
> packager is looking for a different version of Perl58.dll than the one
> that it has.  What I haven't seen is how to resolve it.  Rebuilding
> PAR from scratch, probably not an option for me.  I just need to re-
> distribute a perl program to others...  What versions of what packages
> do I need to install?
> 
> The Perl58.dll version:
> 
> C:\Perl\bin>perl -MWin32 -e "print Win32::GetFileVersion('c:/perl/
> bin/perl58.dll')"
> 588822
> 
> There are no other perl58.dll's on my system.  Par's version:
> 
> C:\Perl\site\bin>pp -V
> PAR Packager, version 0.976 (PAR version 0.976)
> 
> And Perl reports:
> 
> C:\Perl\site\bin>perl -v
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> (with 18 registered patches, see perl -V for more detail)
> 
> Copyright 1987-2007, Larry Wall
> 
> Binary build 822 [280952] provided by ActiveState 
> http://www.ActiveState.com
> Built Jul 31 2007 19:34:48
> 
> Is there a resolution to all of this?
>