While trying install, meet problem as below:
..........
-Wl,--out-implib,scons\libs\core\libclam_core.a 
-Wl,--output-def,scons\libs\core\clam_core.def

Creating library file: scons\libs\core\libclam_core.a

Install file: "scons\libs\core\clam_core.dll" as 
"D:\mingw\local\lib\clam_core.dll"

Install file: "scons\libs\core\libclam_core.a" as 
"D:\mingw\local\lib\libclam_core.a"

Install file: "scons\libs\core\clam_core.exp" as 
"D:\mingw\local\lib\clam_core.exp"

scons: building terminated because of errors.

scons/sconstools\versionInfo.py:14: DeprecationWarning: raising a string 
exception is deprecated

  raise "No svn revision found for "+ whatToCheck

scons: *** [D:\mingw\local\lib\clam_core.exp] scons\libs\core\clam_core.exp: No 
such file or directory



Finding the cause: 

 
"no_import_lib
 When set to non-zero, suppresses creation of a corresponding Win32 static 
import lib by the
SharedLibrary builder when used with MinGW or Microsoft Visual Studio. This 
also suppresses 
creation of an export (.exp) file when using Microsoft Visual Studio.
Maybe, having the msvc tool chain is messing up things again"

As a test, change the line in Sconstruct from:
clam_env = Environment( ENV=os.environ, tools=['default'], CCFLAGS='')
to:
clam_env = Environment( ENV=os.environ, tools=['mingw'], CCFLAGS='')

Then done building targets.
_______________________________________________
Clam-devel mailing list
[email protected]
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

Reply via email to