Hi

Here is a tip for anyone trying to build Archive::Unzip::Burst on AIX.

---------------
Archive::Unzip::Burst Installation on AIX 5.3

1. Fix the main Archive-Unzip-Burst Makefile.PL
Add 'aix' to @OS array:
win32 os2 dos macos linux aix

Add an aix entry:
aix =>   [qr/aix/i,     'unix',  'Makefile',     'generic_shlib',
'.pic' , 0],

Change the DEFINE line. (it still works without the change though):
DEFINE            => '-O3', # e.g., '-DHAVE_SOMETHING'

2. Fix the res/Makefile.PL
Change the DEFINE line to export all symbols:
DEFINE            => '-bexpall -O3', # e.g., '-DHAVE_SOMETHING'

3. Add the api object to the unzip55x/unix/Makefile:
OBJS3 = process$O ttyio$O unreduce$O unshrink$O zipinfo$O api$O

4. Run the main 'perl Makefile.PL'
It will fail, due to a problem with the unzip Makefile trying to create a .so shared object.

5. Manually build libmyunzip.a:
cd ./res
make

6. Complete the install:
cd ..
make
make install

---------------

Regards,
Niel

Reply via email to