Abdelrazak Younes a écrit :
Bo Peng a écrit :
On 5/8/06, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
Where do I find this win32file?

If you use official python, you need to install win32 module from
http://starship.python.net/crew/skippy/win32/Downloads.html . This is
for mingw only. Cygwin does not seem to need this.
OK, thanks.

Got this. With the QtCore4 hack (until you do something about that) the compilation was going on until Scons tried to compile coloritem.C which is not there anymore. Please find attached a patch that remove coloritem.C and QBrowseBox.C from SConsscript, please review and apply.

After that, relaunching Scons display quickly a lot of cached test and then stay for a while at this point:

scons: done reading SConscript files.
scons: Building targets ...

And then went on with the compilation and stopped at the linking stage of libqt4.a

Is it already quicker because it does not need than the Makefile based compilation because it does not go through the shell libtool command step before each call to gcc. I am talking about this:

/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H ...

I have a question: Is it necessary to copy the complete tree inside "win32-qt4/"? I reckon the object files is enought, isn't it?

Abdel.

__________________________________________________________________--

scons: *** [debug\win32-qt4\libs\libqt4.a] Exception
Traceback (most recent call last):
File "D:\program\Python24\scons-0.96.92\SCons\Taskmaster.py", line 135, in execute
    self.targets[0].build()
File "D:\program\Python24\scons-0.96.92\SCons\Node\__init__.py", line 297, in build
    apply(executor, (self, exitstatfunc), kw)
File "D:\program\Python24\scons-0.96.92\SCons\Executor.py", line 125, in __call__
    self.do_execute(target, exitstatfunc, kw)
File "D:\program\Python24\scons-0.96.92\SCons\Executor.py", line 118, in do_execute
    kw)
File "D:\program\Python24\scons-0.96.92\SCons\Action.py", line 584, in __call__
    return apply(c.__call__, args, kw)
File "D:\program\Python24\scons-0.96.92\SCons\Action.py", line 342, in __call__
    stat = self.execute(target, source, env)
File "D:\program\Python24\scons-0.96.92\SCons\Action.py", line 471, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "D:\cygwin\home\yns\lyx\trunk\scons_utils.py", line 580, in spawn
    sAttrs = win32security.SECURITY_ATTRIBUTES()
NameError: global name 'win32security' is not defined
scons: building terminated because of errors.
D:\cygwin\home\yns\lyx\trunk>\
'\' is not recognized as an internal or external command,
operable program or batch file.

Index: SConscript
===================================================================
--- SConscript  (revision 13809)
+++ SConscript  (working copy)
@@ -133,7 +133,6 @@
   QBoxDialog.C
   QBranchDialog.C
   QBranches.C
-  QBrowseBox.C
   QChangesDialog.C
   QCharacterDialog.C
   QCitationDialog.C
@@ -246,7 +245,6 @@
   lcolorcache.C 
   panelstack.h
   panelstack.C 
-  qcoloritem.C 
   qfontexample.C 
   qfont_loader.C 
   qfont_metrics.C 

Reply via email to