On Thu, May 11, 2006 at 01:47:07AM +0200, Lars Gullik Bjønnes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > | On Wed, May 10, 2006 at 05:01:33PM -0500, Bo Peng wrote: > | > | > Please test. all you need to do is > | > > | > $ cd development/scons > | > $ scons frontend=qt3 ... > | > $ scons frontend=qt4 ... > | > | Failure on cygwin, too. > > With this patch I am able to do a > > scons -f development/scons/SConstruct from the lyx top dir with scons > SCons by Steven Knight et al.: > script: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca > engine: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca > Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation > > I had the same error you had initially
Perfect! Thanks Lars. Now it works on solaris but still fails on cygwin due to a typo. Patch attached. -- Enrico
Index: development/scons/SConscript =================================================================== --- development/scons/SConscript (revision 13830) +++ development/scons/SConscript (working copy) @@ -543,12 +543,12 @@ if frontend == 'qt3': ''')] # under windows, because of the .C/.c confusion - # moc_files are not moced automatically. + # qt3_moc_files are not moced automatically. # I am doing it manually here, until lyx changes # file extension from .C to .cpp qt3_moced_files = [] if os.name == 'nt' or sys.platform == 'cygwin': - qt3_moced_files = [qt3env.Moc('$BUILDDIR/common/frontends/qt3/'+x.replace('.C', '.h')) for x in moc_files] + qt3_moced_files = [qt3env.Moc('$BUILDDIR/common/frontends/qt3/'+x.replace('.C', '.h')) for x in qt3_moc_files] qt3 = qt3env.StaticLibrary( target = '$LOCALLIBPATH/qt3',