[Clam-devel] CLAM on Windows

Giulio Paci giuliopaci at interfree.it
Fri Jan 4 09:14:43 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pau Arumí wrote:
> On dv, 2007-12-07 at 15:24 +0100, Giulio Paci wrote:
>> What I want to know is if You are interested in this job to work, and
>> if there
>> is anyone with a crosscompiling setup which will review my work, in
>> order to
>> correct problems that may arise. If anyone is interested I will write
>> a file with
>> information on how to build the libraries I've built.
>> I can also make them publicly available.
>
> Hi Giulio,
>
> Yes, we are *very* interested in this work. That is great news!
> My advice is to document it in reproducible steps in the wiki (actually
> the page is already there, almost blank)
> http://clam.iua.upf.edu/wikis/clam/index.php/Devel/Windows_MinGW_build )
> including (links to) the necessary patches. I mean a howto similar to
> the cross-compile version:
> http://clam.iua.upf.edu/wikis/clam/index.php/Devel/Windows_MinGW_cross_compile
The howto is there. It's still no complete but works (with an ugly, still
unfinished, patch). I've only tested with CLAM core, audioio and
processing,
as I don't need other stuff.

The patch as a lot of problems:
1) Require field of pkg-config is ok, but CFLAGS and LIBS still has wrong
behaviour: (they still refers to Windows absolute paths and not MinGW
ones,
they have duplcate entries and so on)
2) I'm using scons for Windows... And scons is working outside MinGW. This
means that /mingw must always translate to its real location or
nothing will work.
This makes difficult to install and package clam in another directory.
I've used sandbox as a trick to workaround this, but it is VERY ugly.
3) Installation basically doesn't work. It install all in C:\mingw
instead of the
/mingw directory.

I hope to find the time to fix these issues soon, but I'm quite busy
rigth now.

I don't know where to put the patch, so I attach it here.
It will be useful to merge at least the spawn and test_with_pkgconfig
part of
the patch. As they're general and quite stable, right now.

Cheers,
    Giulio.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHfmmDLPmMsbfuemQRAi61AKCXvFLLBYnhPdcHSjQJ0BlO/bEr9ACfXhul
hqA4NEkVa8lq//kiwikkySw=
=F3Mb
-----END PGP SIGNATURE-----


-------------- next part --------------
A non-text attachment was scrubbed...
Name: clam_win32build_r11052.patch
Type: text/x-patch
Size: 21858 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080104/ab3ace1d/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: giuliopaci.vcf
Type: text/x-vcard
Size: 180 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080104/ab3ace1d/attachment-0004.vcf>


More information about the clam-devel mailing list