[Clam-devel] Try continuing Windows MinGW build

JunJun wangjun at dsp.ac.cn
Sun Apr 20 02:40:16 PDT 2008


lately I am trying the native Windows Clam install with Mingw. The original developer Giulio seems not around recently (so does David :(). Consequently, the work is not a piece of cake as I thought.
I took the revision 11059 and applied the patch Giulio supplied.
In clam-3rdparty-mingw-20080128.tar.gz, the 3rd party library has deployed to be with the same prefix, however, it was submitted later than the patch by Giylio and needs some work to be applied. Giulio descriped the install of 3rd party library but I intend to skip those steps and revise the patch to be compliant with the new 3rd party library.
A lot of changes have to be taken a look at, in 'clam_dependent_libs_checks.py'.
For example,in mingw I got:
-------------------------------------------------
junjun at CA53CAC112824A7 /d/devel/clam11059
$ scons
scons: Reading SConscript files ...
Version: 1.1.1
Package version: 1.1.1~svn10984
Configure phase...
############################################
### CLAM GLOBAL DEPENDENCIES CHECKING ###
############################################
include path: d:/devel/clam-3rdparty-mingw-20080128/local/include
lib path: d:/devel/clam-3rdparty-mingw-20080128/local/lib
adding include dir from windows config: C:\MinGW\include
Checking for pkg-config... no
WARNING: pkg-config is not installed
... DEBUG MODE
Checking for C header file pthread.h... yes
Checking for pthread_join() in C library pthreadGC2... no
Could not find pthread (Posix Threads) library binaries!
Check the config.log file for details
scons/sconstools\versionInfo.py:14: DeprecationWarning: raising a string exception is deprecated
raise "No svn revision found for "+ whatToCheck
----------------------------------------------------
in 'clam_dependent_libs_checks.py', the related part changes to :
if crosscompiling or sys.platform == 'win32': pthreadLib = 'pthreadGC2'
from:
if crosscompiling : pthreadLib = 'pthreadGC2'
elif sys.platform == 'win32' : pthreadLib = 'pthreadVCE'

I suppose it will be still far for me to achieve a successful install. Every minor help will be appreciated.

June
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080420/9201d0e6/attachment-0002.htm>


More information about the clam-devel mailing list