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

Re: perl2exe - no more secrets

by Anonymous Monk
on Feb 25, 2003 at 22:46 UTC ( #238596=note: print w/replies, xml ) Need Help??

in reply to perl2exe - no more secrets

I'm trying to compile PAR under cygwin. I've downloaded the source to perl.5.8.0-1 from cygwin, and rebuilt it using the When I try to compile PAR, I get the following errors. I end up with a par.dll instead of a par.exe. Can anyone give me pointers on getting it installed? Thanks
$ perl Makefile.PL Writing Makefile for the par.exe program Writing Makefile for PAR $ make cp PAR/ blib/lib/PAR/ cp blib/lib/ make[1]: Entering directory `/usr/src/PAR-0.63/myldr' gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/lib/perl5/5 +.8.0/cygwin-multi-64int/CORE main.c ld2 main.o -s -s -s -L/usr/local/lib /usr/lib/perl5/5.8.0/cygwin-mul +ti-64int/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/cygwin-m +ulti-64int/CORE -lperl -lutil -o par.exe gcc -shared -o par.dll -Wl,--out-implib=libpar.dll.a -Wl,--export-all +-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ main.o -s -s -s -L/usr/local/lib /usr/lib/perl5/5.8.0/cygwin-multi-64i +nt/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/cygwin-multi-6 +4int/CORE -lperl -lutil Creating library file: libpar.dll.a ./par.exe -I../blib/lib -I/usr/lib/perl5/5.8.0/cygwin-multi-64int -I/u +sr/lib/perl5/5.8.0 -I/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64in +t -I/usr/lib/perl5/site_perl/5.8.0 -I/usr/lib/perl5/site_perl -I/usr/ +src/PAR-0.63 -I. -B -O../script/parl.exe make[1]: *** [../script/parl.exe] Error 255 make[1]: Leaving directory `/usr/src/PAR-0.63/myldr' make: *** [subdirs] Error 2 $

Replies are listed 'Best First'.
Re: Re: perl2exe - no more secrets
by audreyt (Hermit) on Mar 20, 2003 at 16:35 UTC
    The DLL-creation problem has been solved with PAR 0.66, but Cygwin's executable format doesn't seem to like arbitary data appended to it (altough a self-contained script made with '' plus a 'perl.exe' works well); I'm working with the list and Mattia to find a solution. (See related discussions.)

    Meanwhile, MSYS+MinGW might be your best bet, and PAR is known to run well on that platform.

Re: Re: perl2exe - no more secrets
by audreyt (Hermit) on Apr 02, 2003 at 20:06 UTC
    Update -- PAR 0.67 has been released and offers complete cygwin support. Much rejoice!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-10-22 06:40 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (225 votes). Check out past polls.