[Gambas-devel] Zlib and BZlib

Fabien Bodard abidoo.too at ...4...
Sun Feb 22 20:00:19 CET 2004


Le Dimanche 22 Février 2004 19:42, Daniel Campos a écrit :
> Hi all!
>
> These are the final versions of Zlib and BZLib components,
> that allows to compress data using zlib and bzlib2 libraries.
>
> I've implemented the bzlib component today, and made some changes
> in zlib component.
>
> Their interfaces are quite similar, however there are some differences:
>
> ZEngine has two methods to compress strings directly :
>
> 'DeflateString' and 'InflateString', that uses an algorithm a little
> different from Gzip one.
>
> BZEngine provides:
>
> 'BzipString'and 'BuzipString' which works exatly using the same bzip2
> format.
>
> This is due to the capabilities of both libraries.
>
> To compile these libraries:
>
> 0) You need gambas-0.84 or newer
> 1) Copy both 'zlib' and 'bzlib' folders to {gambas sources}/src/lib
> 2) Copy the attached configure.in to {gambas sources} instead of the
> original configure.in
2 bis) modify you Makefile.am in src/lib directory or change it by this one


> 3) Type : ./reconf
> 4) Type : ./configure (with your options)
> 5) Go to {gambas sources}/src/lib/zlib, then 'make' and 'make install'
> 6) Go to {gambas sources}/src/lib/bzlib, then 'make' and 'make install'
> 7) OK, done
>
> Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am
Type: text/x-makefile
Size: 153 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20040222/6d7c9ba3/attachment.bin>


More information about the Devel mailing list