Since the compilation process is very long, I suggest you give a higher
nice value to the make processes launched by wineinstall. I will allow
the user to do something else with its computer while wine is compiling.

See where you could give higher nice values in the diff file attached.

Jérôme
Index: tools/wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.60
diff --unified -r1.60 wineinstall
--- tools/wineinstall	29 Sep 2003 20:25:47 -0000	1.60
+++ tools/wineinstall	5 Nov 2003 21:09:42 -0000
@@ -276,7 +276,7 @@
     if [ "$ROOTINSTALL" = "yes" ]
     then {
       # start out with the basic command
-      sucommand="make install"
+      sucommand="nice -1 make install"
 
       # if the user doesn't have $libdir in their ld.so.conf add this
       # to our sucommand string
@@ -304,9 +304,9 @@
     std_sleep
 
     # try to just make wine, if this fails 'make depend' and try to remake
-    if ! { make; }
+    if ! { nice -1 make; }
     then {
-      if ! { make depend && make; }
+      if ! { nice -1 make depend && nice -1 make; }
       then {
         echo
         echo "Compilation failed, aborting install."
@@ -620,7 +620,7 @@
   if [ "$BINDIST" = 'no' ]
   then {
     echo "Compiling regedit..."
-    (cd programs/regedit; make)
+    (cd programs/regedit; nice -1 make)
     echo
   }
   fi

Reply via email to