The second one is easy, please apply the following patch. Still
checking the first one.

Index: development/scons/SConstruct
===================================================================
--- development/scons/SConstruct        (revision 14113)
+++ development/scons/SConstruct        (working copy)
@@ -623,7 +623,7 @@

if not fast_start:
  # check boost libraries
-  boost_opt = ARGUMENTS.get('boost', default_boost_opt)
+  boost_opt = ARGUMENTS.get('boost', 'auto')
  # check for system boost
  paths = env['LIBPATH'] + ['/usr/lib', '/usr/local/lib']
  env['BOOST_LIBRARIES'] = []
@@ -675,7 +675,7 @@
    env['INCLUDED_GETTEXT'] = False
  else:
    # check gettext libraries
-    gettext_opt = ARGUMENTS.get('gettext', default_gettext_opt)
+    gettext_opt = ARGUMENTS.get('gettext', 'auto')
    # check for system gettext
    succ = False
    if gettext_opt in ['auto', 'system']:


Bo

On 6/14/06, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
Hello Bo,

I have problems with either mingw or msvc:

D:\devel\lyx\trunk\development\scons>msvc_scons.bat

D:\devel\lyx\trunk\development\scons>scons use_vc=yes build_dir=msvc
frontend=qt4 qt_dir=d:/program/Qt/4.1 extr
a_inc_path=d:/program/GnuWin32/include
extra_lib_path=d:/program/GnuWin32/lib boost=included nls=no warnings=no
  -j3 prefix=d:/program/lyx-msvc fast_start=no install
scons: Reading SConscript files ...
AttributeError: 'NoneType' object has no attribute 'split':
   File "SConstruct", line 394:
     env.Tool('msvc')
   File "D:\program\Python24\scons-0.96.92\SCons\Environment.py", line 1108:
     tool(self)
   File "D:\program\Python24\scons-0.96.92\SCons\Tool\__init__.py", line
135:
     apply(self.generate, ( env, ) + args, kw)
   File "D:\program\Python24\scons-0.96.92\SCons\Tool\msvc.py", line 728:
     env.PrependENVPath('INCLUDE', include_path)
   File "D:\program\Python24\scons-0.96.92\SCons\Environment.py", line 1022:
     nv = SCons.Util.PrependPath(orig, newpath, sep)
   File "D:\program\Python24\scons-0.96.92\SCons\Util.py", line 672:
     paths = string.split(paths, sep)
   File "D:\program\Python24\lib\string.py", line 292:
     return s.split(sep, maxsplit)
D:\devel\lyx\trunk\development\scons>mingw_scons.bat

D:\devel\lyx\trunk\development\scons>scons CCFLAGS="-O3 -w" mode=release
qt_dir=d:/program/Qt/4.1.3 extra_inc_p
ath=d:/program/Aspell-0.60.4/include
extra_lib_path=d:/program/Aspell-0.60.4/lib fast_start=no nls=yes gettext=
included -j3 prefix=d:/program/lyx-svn install
scons: Reading SConscript files ...
Checking for pkg-config...no
pkg-config >= 0.1.50 is not found
Checking for main() in C library z... yes
Checking for QApplication qapp() in C++ library QtCore... no
Checking for QApplication qapp() in C++ library QtCore4... yes
Qt4 libraries are found.
Checking for main() in C library socket... no
Checking for main() in C library nsl... no
NameError: name 'default_boost_opt' is not defined:
   File "SConstruct", line 626:
     boost_opt = ARGUMENTS.get('boost', default_boost_opt)


Reply via email to