----- Original Message -----
From: "rahed" <[EMAIL PROTECTED]>
To: <par@perl.org>
Sent: Wednesday, March 12, 2008 8:24 AM
Subject: installing Archive::Unzip::Burst
Hello,
I'm trying to install the module on windows.
I got to the point when dmake ends with the message
Can't find string terminator "}" anywhere before EOF at -e line 1.
.
.
Any suggestions?
I nearly (but not quite) hacked up a solution as follows:
In the Archive-Unzip-Burst-0.02 source, copy
res/unzip-5.52/win32/Makefile.gcc up one level to
res/unzip-5.52/Makefile.gcc.
Then, in the msys shell 'cd' to res/unzip-5.52/ and run 'make -f
Makefile.gcc'. (Running 'mngw32-make -f Makefile.gcc in the cmd shell might
also work.)
Then, in the same folder run:
gcc -c -DASM_CRC -DWIN32 -DFORCE_WIN32_OVER_UNIX -Wall -DASM_CRC -o
pi.o -O2 -mcpu=pentiumpro api.c
Then, in the cmd shell, 'cd' to the res folder and run:
ar rvf libmyunzip.a unzip-5.52\unzip.o unzip-5.52\crc32.o
unzip-5.52\crctab.o unzip-5.52\crypt.o unzip-5.52\envargs.o
unzip-5.52\explode.o unzip-5.52\extract.o unzip-5.52\fileio.o
unzip-5.52\globals.o unzip-5.52\inflate.o unzip-5.52\list.o
unzip-5.52\match.o unzip-5.52\process.o unzip-5.52\ttyio.o
unzip-5.52\unreduce.o unzip-5.52\unshrink.o unzip-5.52\zipinfo.o
unzip-5.52\api.o unzip-5.52\win32.o
Then, in the cmd shell, 'cd' to the top level folder of the
Archive-Unzip-Burst-0.02 source and run 'perl Makefile.pl' followed by
'dmake'.
Unfortunately, there's one undefined reference which prevents a successful
build:
Burst.o:Burst.c:(.text+0x10c): undefined reference to `UzpMain'
I haven't yet worked out how to get UpzMain resolved.
Anyone ?
Cheers,
Rob