Abdelrazak Younes a écrit :
Abdelrazak Younes a écrit :
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> I changed nothing to my configuration but config.h is
Abdelrazak> still regenerated:

Abdelrazak> config.status: creating src/config.h
Could you keep the config.h before and after running configure and see
what the difference may be?

Will do that after Scons building is finished.

Clean configure:
real    9m45.451s
user    2m58.808s
sys     2m22.669s

second configure:
real    9m24.783s
user    3m0.819s
sys     2m26.820s

Hum, scons reconfigure+null compile is done in 1m30 ! That's better than make null-compile but I am sure we can do better here :-)

One (tiny) problem though: I need to type the whole scons command. "scons" alone apparently does not make use correctly of the options cache:

D:\cygwin\home\yns\lyx\trunk\development\scons>scons
scons: Reading SConscript files ...
Getting options from auto-saved options.cache...
qt_dir = 'd:/program/Qt/4.1'
extra_inc_path = 'd:/program/Aspell-0.60.4/include'
extra_lib_path = 'd:/program/Aspell-0.60.4/lib'
CPPPATH = ['d:/program/Qt/4.1\\include', '$QTDIR/include', 'd:/program/Aspell-0.60.4/include', '#c:/MinGW/include', '$TOP_SRC_DIR/boost', '$TOP_SRC_DIR/src']

Acquiring varaible CCFLAGS from system environment: "-O3 -w"
Acquiring varaible CXXFLAGS from system environment: "-O3 -w"
Checking for pkg-config...(cached) no
pkg-config >= 0.1.50 is not found
Checking for main() in C library z... (cached) yes
Checking for QApplication qapp() in C++ library QtCore... (cached) no
Checking for QApplication qapp() in C++ library QtCore4... no
Did not find qt libraries, exiting!

Log attached.

Abdel.



file SConstruct,line 408:
        Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
scons: Configure: Building ".sconf_temp\conftest_0" failed in a previous run 
and all its sources are up to date.
scons: Configure: The original builder output was:
  |pkg-config --atleast-pkgconfig-version=0.15.0
  |
scons: Configure: (cached) no

scons: Configure: Checking for main() in C library z... 
scons: Configure: ".sconf_temp\conftest_1.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp\conftest_1.c <-
  |  |
  |  |
  |  |#include "zlib.h"
  |  |
  |  |int
  |  |main() {
  |  |  main();
  |  |return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp\conftest_1.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp\conftest_1.o -c -ID:\program\Qt\4.1\include 
-ID:\program\Qt\4.1\include -ID:\program\Aspell-0.60.4\include 
-IC:\MinGW\include .sconf_temp\conftest_1.c
  |
scons: Configure: ".sconf_temp\conftest_1.exe" is up to date.
scons: Configure: The original builder output was:
  |g++ -o .sconf_temp\conftest_1.exe .sconf_temp\conftest_1.o -Ldebug\libs 
-LD:\program\Qt\4.1\lib -LD:\program\Qt\4.1\lib -LD:\program\Aspell-0.60.4\lib 
-lz
  |
scons: Configure: (cached) yes

scons: Configure: Checking for QApplication qapp() in C++ library QtCore... 
scons: Configure: ".sconf_temp\conftest_2.cpp" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp\conftest_2.cpp <-
  |  |
  |  |
  |  |#include "QtGui/QApplication"
  |  |
  |  |int
  |  |main() {
  |  |  QApplication qapp();
  |  |return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp\conftest_2.o" is up to date.
scons: Configure: The original builder output was:
  |g++ -o .sconf_temp\conftest_2.o -c -ID:\program\Qt\4.1\include 
-ID:\program\Qt\4.1\include -ID:\program\Aspell-0.60.4\include 
-IC:\MinGW\include .sconf_temp\conftest_2.cpp
  |
scons: Configure: Building ".sconf_temp\conftest_2.exe" failed in a previous 
run and all its sources are up to date.
scons: Configure: The original builder output was:
  |g++ -o .sconf_temp\conftest_2.exe .sconf_temp\conftest_2.o -Ldebug\libs 
-LD:\program\Qt\4.1\lib -LD:\program\Qt\4.1\lib -LD:\program\Aspell-0.60.4\lib 
-lz -lQtCore
  |
scons: Configure: (cached) no

scons: Configure: Checking for QApplication qapp() in C++ library QtCore4... 
scons: Configure: ".sconf_temp\conftest_3.cpp" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp\conftest_3.cpp <-
  |  |
  |  |
  |  |#include "QtGui/QApplication"
  |  |
  |  |int
  |  |main() {
  |  |  QApplication qapp();
  |  |return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp\conftest_3.o" is up to date.
scons: Configure: The original builder output was:
  |g++ -o .sconf_temp\conftest_3.o -c -ID:\program\Qt\4.1\include 
-ID:\program\Qt\4.1\include -ID:\program\Aspell-0.60.4\include 
-IC:\MinGW\include .sconf_temp\conftest_3.cpp
  |
g++ -o .sconf_temp\conftest_3.exe .sconf_temp\conftest_3.o -Ldebug\libs 
-LD:\program\qt\lib -lz -lQtCore4
D:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot 
find -lQtCore4
collect2: ld returned 1 exit status
scons: Configure: no

Reply via email to