[Clam-devel] Problem in Wang Jun's Method

Jun Jun wangjun at dsp.ac.cn
Tue Dec 23 18:59:38 PST 2008


BTW,could you send me your PATH and INCLUDE variable? Because if there are VC include dir in your windows config, you may meet problems as below:

$ scons configure prefix='d:\mingw\local' prefix_for_packaging='d:\mingw\local'
 sandbox_path='d:\mingw' verbose=True xmlbackend='xmlpp' audio_backend='portaud
io'
scons: Reading SConscript files ...
scons/sconstools\versionInfo.py:14: DeprecationWarning: raising a string except                                                             on is deprecated
  raise "No svn revision found for "+ whatToCheck
Version:  1.3.1
Package version:  1.3.1~svn12528
Configure phase...
############################################
### CLAM GLOBAL DEPENDENCIES CHECKING    ###
############################################
adding include dir from windows config: C:\Program Files\Microsoft Visual Studi                                                             \VC98\atl\include
adding include dir from windows config: C:\Program Files\Microsoft Visual Studi                                                             \VC98\mfc\include
adding include dir from windows config: C:\Program Files\Microsoft Visual Studi                                                             \VC98\include
Checking for pkg-config... yes
COMPILING IN DEBUG MODE
Checking for C header file pthread.h... no
Could not find pthread (Posix Threads) library headers!
Check the config.log file for details


Aiming at the above problem, my solution is---deleting VC from INCLUDE variable! 
For a smarter solution, plz ask David or Pau.:D 

  ----- Original Message ----- 
  From: Rupinder Singh 
  To: clam-devel at llistes.projectes.lafarga.org 
  Sent: Wednesday, December 24, 2008 3:08 AM
  Subject: [Clam-devel] Problem in Wang Jun's Method


  Hi,

  I'm following Wang Jun's method given on http://www.clam.iua.upf.edu/wikis/clam/index.php/Devel/Windows_MinGW_build . The second last step is producing the following error on my system:

  C:\clam\CLAM>scons configure prefix='c:\\mingw\\local'prefix_for_packaging='c:\\
  mingw\\local' sandbox_path='c:\\mingw' verbose=True xmlbackend='xmlpp' audio_bac
  kend=portaudio
  scons: Reading SConscript files ...

  scons: warning: The Options class is deprecated; use the Variables class instead
  .
  File "C:\clam\CLAM\SConstruct", line 122, in setup_build_options

  scons: warning: The PathOption() function is deprecated; use the PathVariable()
  function instead.
  File "C:\clam\CLAM\SConstruct", line 125, in setup_build_options

  scons: warning: The BoolOption() function is deprecated; use the BoolVariable()
  function instead.
  File "C:\clam\CLAM\SConstruct", line 129, in setup_build_options

  scons: warning: The EnumOption() function is deprecated; use the EnumVariable()
  function instead.
  File "C:\clam\CLAM\SConstruct", line 140, in setup_build_options

  scons: *** Path for option prefix does not exist: 'c:\\mingw\\local'prefix_for_p
  ackaging='c:\\mingw\\local'
  File "C:\clam\CLAM\SConstruct", line 169, in setup_build_options

  Although the directory for 3rd party libraries c:\mingw\local was created as mentioned.

  Kindly help...



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


  _______________________________________________
  Clam-devel mailing list
  Clam-devel at llistes.projectes.lafarga.org
  https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20081224/052b245d/attachment.html>


More information about the clam-devel mailing list