Failure on cygwin:

`src/frontends/qt3/#release/common/frontends/qt3/BulletsModule.h' not
found, needed by target
`release/common/frontends/qt3/#release/common/frontends/qt3/moc_BulletsModule.cc'.
Stop.
scons: building terminated because of errors.

Wrongly use of absolute path. patch attached (and finally tested for
cygwin), please confirm.

and (this is the most surprising) failure on solaris:
virtual memory exhausted: Resource temporarily unavailable
scons: *** [release/common/frontends/qt3/QCharacter.o] Error 1
scons: building terminated because of errors.

Virtual memory exhausted? This is the first time in my life that I see
this message on a solaris system. I have 512Mb of real memory and a fair
amount of swap space:

This one I do not know. You may try the windowish solution: reboot. :-)

Bo
Index: development/scons/SConscript
===================================================================
--- development/scons/SConscript	(revision 13831)
+++ development/scons/SConscript	(working copy)
@@ -397,11 +397,11 @@
   qt3env.Append(CPPPATH = [
     '$BUILDDIR/common',
     '$BUILDDIR/common/frontends',
+    '$BUILDDIR/common/frontends/qt3',
     '$BUILDDIR/common/images',
     '$BUILDDIR/common/frontends/controllers',
     '$BUILDDIR/common/frontends/qt3',
-    '$QT_INC_DIR',
-    '.']
+    '$QT_INC_DIR']
   )
   
   qt3_ui_files = Split('''
@@ -543,7 +543,7 @@
   # 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 qt3_moc_files]
+    qt3_moced_files = [qt3env.Moc(x.replace('.C', '.h')) for x in qt3_moc_files]
   
   qt3 = qt3env.StaticLibrary(
     target = '$LOCALLIBPATH/qt3',

Reply via email to