Changes between Version 28 and Version 29 of Building/GettingTheSources


Ignore:
Timestamp:
Sep 5, 2008 3:44:31 AM (6 years ago)
Author:
benl
Comment:

Add warning about dash vs bash on Ubuntu.

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v28 v29  
    157157 
    158158This creates a file with a {{{.sparseimage}}} extension (e.g., {{{GHC Disk.sparseimage}}}) at the location that was set in step 10 and automatically mounts it.  The partition can be accessed through the {{{/Volumes}}} folder (e.g., {{{/Volumes/GHC}}}).  This partition behaves exactly like any other Apple partition except that it's case sensitive and darcs can apply the patches it couldn't on the case insensitive file system.  After the patches have been applied, the repository can be copied to the normal file system, the partition can be unmounted, and the sparse image can be deleted. 
     159 
     160=== Ubuntu === 
     161 
     162==== {{{dash}}} vs {{{bash}}} ==== 
     163In Ubuntu 6.10 the default system shell {{{/bin/sh}}} was changed to {{{dash}}} (The Debian Almquist Shell) instead of {{{bash}}}, see [http://wiki.ubuntu.com/DashAsBinSh DashAsBinSh]. This has been reported to break the GHC build. Until the GHC scripts are updated, the easiest way to fix this problem is to (as {{{root}}}) change the {{{/bin/sh}}} link back to {{{/bin/bash}}}. There should be minimal effect on the rest of the system, bar a small speed penalty for script heavy processes due to {{{bash}}} slowness. 
     164