Am Mittwoch, 13. Dezember 2006 18:22 schrieb Bo Peng:
> > I cannot compile current head (same problems as
> > Kornel),
> 
> scons works, so does cmake.

cmake does not work for me because it uses wildcards, and I have files 
lying around I don't want to build. scons does not work either:

~/lyx-1.5$ mkdir build-tree-scons
~/lyx-1.5$ cd build-tree-scons
~/lyx-1.5/build-tree-scons$ scons -f ../development/scons/SConstruct
scons: Reading SConscript files ...
Can not open configure.ac.
Qt library directory is not found. Please specify it using qt_lib_path


Then it stops.
Qt is in /usr/lib and /usr/include, so it should be found without any help. 
But even if I give the qt dir as argument, as it suggests, it does not 
work:


~/lyx-1.5-clean/build-tree-scons$ scons -f ../development/scons/SConstruct 
qt_lib_path=/usr/lib
scons: Reading SConscript files ...
Can not open configure.ac.

Checking for pkg-config...yes
Checking for C library z... yes
Checking for C library iconv... no
Checking for C library libiconv... no
Checking for C function iconv_open()... yes
Checking for package QtCore...yes
Qt4 libraries are found.
Checking for C library socket... no
Checking for C library nsl... yes
Checking for boost library ... (cached) yes
Checking for C function gettext()... yes
Checking for command msgfmt...(cached) yes
Checking for command uic...(cached) yes
Checking for command moc...(cached) yes
Creating release/boost/config.h...
Checking for C++ header file ostream... yes
Checking for C++ header file locale... yes
Checking for C++ header file sstream... yes
Checking for C type wchar_t... yes

Generating release/common/config.h...
Checking for C++ header file Aiksaurus.h... no
Checking for C++ header file Aiksaurus/Aiksaurus.h... yes
Checking for C library aspell... yes
Checking for arg types for select... yes
Check the size of wchar_t... 4
Checking for C type pid_t... yes
Check for the use of global cstd... yes
Checking for the number of args for mkdir... two
Check if the declaration of iconv needs const... no
Check for LC_MESSAGES in locale.h... yes
Checking for C header file io.h... no
Checking for C header file limits.h... yes
Checking for C header file locale.h... yes
Checking for C header file process.h... no
Checking for C header file stdlib.h... yes
Checking for C header file sys/stat.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file sys/utime.h... no
Checking for C header file sys/socket.h... yes
Checking for C header file unistd.h... yes
Checking for C header file utime.h... yes
Checking for C header file direct.h... no
Checking for C++ header file istream... yes
Checking for C++ header file ios... yes
Checking for C function open()... yes
Checking for C function chmod()... yes
Checking for C function close()... yes
Checking for C function popen()... yes
Checking for C function pclose()... yes
Checking for C function _open()... no
Checking for C function _close()... no
Checking for C function _popen()... no
Checking for C function _pclose()... no
Checking for C function getpid()... yes
Checking for C function _getpid()... no
Checking for C function mkdir()... yes
Checking for C function _mkdir()... no
Checking for C function mktemp()... yes
Checking for C function mkstemp()... yes
Checking for C function strerror()... yes
Checking for C function count()... yes
Checking for C function getcwd()... yes
Checking for C function setenv()... yes
Checking for C function putenv()... yes
Checking for C function fcntl()... yes
Checking for C type std::istreambuf_iterator<std::istream>... yes
Checking for C type wchar_t... yes
Checking for C type mode_t... yes
Checking for C library gdi32... no
Checking for C library Aiksaurus... yes
Configuration
  Host type:                      linux2
  Special build flags:            -O2
  C   Compiler:                   g++
  C   Compiler flags:
  C++ Compiler:                   g++
  C++ Compiler LyX flags:         -O2
  C++ Compiler flags:              -O2
  Linker flags:
  Linker user flags:
Build info:
  Builing directory:              #release
  Local library directory:        #release/libs
  Libraries paths:                
['$LOCALLIBPATH', '/usr/lib', '/usr/X11R6/lib']
  Boost libraries:                []
  Frontend libraries:             ['QtCore', 'QtGui']
  System libraries:               ['z', 'Aiksaurus', 'aspell']
  include search path:            
['$BUILDDIR/common', '$TOP_SRCDIR/src', '$BOOST_INC_PATH']
Frontend:
  Frontend:                       qt4
  Packaging:                      posix
  LyX dir:                        /usr/local
  LyX files dir:                  /usr/local/share/lyx
  include dir:                    /usr/include/qt4
  library dir:                    /usr/lib
  X11:                            1

Building all targets recursively
Processing files in src/support...
Processing files in src/mathed...
Processing files in src/insets...
Processing files in src/frontends...
Processing files in src/graphics...
Processing files in src/frontends/controllers...
Processing files in src/frontends/qt4...

scons: *** No tool named 'qt4': not a Zip file


The detected packages seem to be correct, but as you can see scons is still 
no alternative for me (although I'd love to get rid of the auto stuff).

~$ scons --version
SCons by Steven Knight et al.:
        script: v0.96.93.D001, 2006/11/06 08:31:54, by knight on roxbury
        engine: v0.96.93.D001, 2006/11/06 08:31:54, by knight on roxbury
Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation


Georg

Reply via email to