答复: [CLAM] again(just now code errors):problems with scons configure, thks

David García Garzón dgarcia at iua.upf.edu
Sat Aug 30 06:44:15 PDT 2008


Did you issued 'scons install' after 'scons' in CLAM libs?

do you have such a mingw/lib/pkgconfig folder?

why not mingw/local/lib? have you set the clam_prefix to mingw/ instead of 
mingw/local?



On Dissabte 30 Agost 2008, Yang Sujuan(杨素娟) wrote:
> to compile SMSTools, I used scons command. please see below...
>
>
> thks for your hardwork, especially on Saturday...
>
>
>
>
> y34807 at Y34807 /mingw/SMSTools-0.4.9
> $ ls -asl
> total 14
>    0 drwxr-xr-x    9 y34807   Administ        0 Aug 28 18:18 .
>    0 drwxr-xr-x   35 y34807   Administ        0 Aug 30 16:43 ..
>    1 -rw-r--r--    1 y34807   Administ     1141 Feb  7  2008 CHANGES
>    2 -rw-r--r--    1 y34807   Administ     2220 May 19  2006 COPYING
>    1 -rw-r--r--    1 y34807   Administ      754 Jan 21  2006 INSTALL
>    0 -rw-r--r--    1 y34807   Administ        0 Dec 17  2005 README
>    5 -rwxr-xr-x    1 y34807   Administ     9443 Aug 28 18:18 SConstruct
>    5 -rwxr-xr-x    1 y34807   Administ     9363 Aug 28 11:29 SConstruct.bak
>    1 -rw-r--r--    1 y34807   Administ        6 Feb  8  2008 SVN_REVISION
>    0 drwxr-xr-x    2 y34807   Administ        0 Aug 11 17:14 debian
>    0 drwxr-xr-x    4 y34807   Administ        0 Aug 11 17:14 draft
>    0 drwxr-xr-x    2 y34807   Administ        0 Aug 11 17:14 example-data
>    0 -rw-r--r--    1 y34807   Administ        0 Aug 28 18:18 options.cache
>    0 drwxr-xr-x    4 y34807   Administ        0 Aug 11 17:14 resources
>    0 drwxr-xr-x    5 y34807   Administ        0 Aug 28 18:18 src
>    0 drwxr-xr-x    2 y34807   Administ        0 Aug 11 17:14 test
>    0 drwxr-xr-x    3 y34807   Administ        0 Aug 11 17:14 vmqt
>
> y34807 at Y34807 /mingw/SMSTools-0.4.9
> $ scons
> scons: Reading SConscript files ...
> Loading nsis tool...
> Lodading dmg tool...
> Version:  0.4.9
> Package version:  0.4.9
> IOError: [Errno 2] No such file or directory:
> '/mingw\\lib\\pkgconfig\\clam_core                  .pc':
>   File "D:\MinGW\SMSTools-0.4.9\SConstruct", line 78:
>     ] , CLAMInstallDir)
>   File "D:\mingw\clam\scons\sconstools\clam.py", line 21:
>     instream = open( desc_file )
>   File
> "D:\Python25\Lib\site-packages\scons-0.98.5\SCons\Platform\win32.py", lin  
>                e 79:
>     fp = apply(_builtin_open, args, kw)
>
> y34807 at Y34807 /mingw/SMSTools-0.4.9
>
>
> Best Regards,
> Yang Sujuan(杨素娟)
>
> -----Original Message-----
> From: David García Garzón [mailto:dgarcia at iua.upf.edu]
> Sent: Saturday, August 30, 2008 5:41 PM
> To: Yang Sujuan(杨素娟)
> Cc: clam at iua.upf.edu
> Subject: Re: 答复: [CLAM] again(just now code errors):problems with scons
> configure, thks
>
> Can you be more specific on the command you issue and the error you get?
>
> On Dissabte 30 Agost 2008, Yang Sujuan(杨素娟) wrote:
> > thank you very much.
> >
> > I found that I must begin with scons...
> >
> > but now the problems is where to find clam_core? I can not find all
> > the
> > clam_* files
> >
> > thks:)
> >
> > Best Regards,
> > Yang Sujuan(杨素娟)
> >
> > 华为技术有限公司  huawei_logo(Huawei Technologies)
> >
> >
> >
> > -----Original Message-----
> > From: David García Garzón [mailto:dgarcia at iua.upf.edu]
> > Sent: Tuesday, August 19, 2008 7:48 PM
> > To: Yang Sujuan ("杨素娟")
> > Cc: clam at iua.upf.edu
> > Subject: Re: 答复: [CLAM] again(just now code errors):problems with
> > scons configure, thks
> >
> > As far i can understand there was no need to uninstall visual studio.
> > The error you get is the error that normally SCons issues when you run
> > scons from the wrong path. You should run it from a directory
> > containing a file named 'SConstruct'.
> >
> > On Tuesday 19 August 2008 08:28:46 Yang Sujuan wrote:
> > >  Thanks a lot
> > >
> > > I've installed mingw already and gcc works well.(According to the
> > > INSTALL file I installed visual studio but I think scons error has
> > > no relation with
> > > c1.exe)
> > >
> > > I uninstalled visual studio but scons still reports the same error:
> > >
> > > scons:  *** No SConstruct file found.
> > > File
> > > "D:\Python25\Lib\site-packages\scons-0.98.5\SCons\Script\Main.py",
> > > line 817, in_main
> > >
> > >
> > > so, how to next?
> > >
> > >
> > > Best Regards,
> > > Yang Sujuan(杨素娟)
> > >
> > >
> > > -----邮件原件-----
> > > 发件人: David García Garzón [mailto:dgarcia at iua.upf.edu]
> > > 发送时间: 2008年8月18日 23:28
> > > 收件人: clam at iua.upf.edu
> > > 抄送: Yang Sujuan ("杨素娟"); clam at iua.upf.edu
> > > 主题: Re: [CLAM] again(just now code errors):problems with scons
> > > configure, thks
> > >
> > > Visual Studio is not supported anymore. Install mingw.
> > >
> > > On Dilluns 18 Agost 2008, Yang Sujuan wrote:
> > > > Hi,
> > > >
> > > > I've checked with INSTALL under CLAM.
> > > >
> > > > Command "scons --help" works well. However, other scons commands
> > > > like "scons configure""scons"can not work. I have "cl.exe" with
> > > > VC8(Visual studio 2005)
> > > >
> > > > who can help to configure the ENV varibles?
> > > >
> > > > ps:my env   is Win XP SP2, with visual studio 2005, CLAM-1.0.0. And
>
> my
>
> > > > install directory is:
> > > >
> > > >  mingw\CLAM\
> > > >  mingw\xercesc\
> > > >  mingw\fftw\
> > > >  mingw\...
> > > >
> > > >
> > > >
> > > > Best Regards,
> > > > Yang Sujuan(杨素娟)
> > > >
> > > > 华为技术有限公司  huawei_logo(Huawei Technologies)
> > > >
> > > >
> > > > 地址:深圳市龙岗区坂田华为基地 邮编:518129
> > > > Add:  Section B, Huawei Industrial Base, Bantian, Longgang,
> > > > Shenzhen,
> > > > 518129 P.R.China
> > > > tel:+86-755-28780808(28787196)/+86-755-13824396653(m)
> > > > FAX: +86-755-28787435
> > > > http://www.huawei.com
> > > >
> > > >-------------------------------------------------------------------
> > > >--
> > > >--
> > > >----
> > > >- ---------------------------------------------------------
> > > > 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人
>
>>
> > 群
> >
> > > > 组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
>
>>
> > 散
> >
> > > > 发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并
>
>>
> > 除
> >
> > > 本
> > >
> > > > 邮件!
> > > > This e-mail and its attachments contain confidential information
> > > >from HUAWEI, which is intended only for the person or entity whose
> > > >address is  listed above. Any use of the information contained
> > > >herein in any way  (including, but not limited to, total or partial
> > > >disclosure, reproduction,  or dissemination) by persons other than
> > > >the intended
> > > >recipient(s) is  prohibited. If you receive this e-mail in error,
> > > >please notify the sender  by phone or email immediately and delete it!
> > >
> > > --
> > > David García Garzón
> > > (Work) dgarcia at iua dot upf anotherdot es
> > > http://www.iua.upf.edu/~dgarcia
>
> --
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es http://www.iua.upf.edu/~dgarcia



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20080830/26451129/attachment-0002.pgp>


More information about the clam-users mailing list