Changes between Version 18 and Version 19 of BuildSystem


Ignore:
Timestamp:
Feb 8, 2014, 9:03:10 AM (10 years ago)
Author:
Bluefin Tuna
Comment:

Added notes about compilation

Legend:

Unmodified
Added
Removed
Modified
  • BuildSystem

    v18 v19  
    3131}}}
    3232
    33     * This has created the 'Makefile'. Run it using
     33    * This has created the 'Makefile'. Run compilation using
    3434
    3535{{{
    3636make
    3737}}}
     38
     39Note that none of the above except the installation of missing packages should be run as root.
    3840
    3941== Use cases ==
     
    9294}}}
    9395
    94 == Problems during compilation phase ==
     96== Problems during compilation ==
    9597
    9698Once you run `make`, a few problems may occur.
     
    104106
    105107Solution: Edit "generate_svn_version.sh" to put quotes around an argument (see https://boinc.berkeley.edu/trac/ticket/1253)
     108
     109== Installation ==
     110
     111(Apparently 'make install' is not the correct way to install. What _is_ the correct way?)
     112
     113Once compilation succeeded, run:
     114
     115{{{
     116make install
     117}}}
     118
     119== Problems during installation ==
     120
     121Once you run `make install`, a few problems may occur.
     122
     123Make breaks off with:
     124
     125{{{
     126/usr/bin/install -c -d /etc/init.d
     127/usr/bin/install -c -b ./boinc-client /etc/init.d/boinc-client
     128/usr/bin/install: cannot create regular file `/etc/init.d/boinc-client': Permission denied
     129}}}
     130
     131This happens if you don't want to 'make install' as root. Edit {{{client/scripts/Makefile}}} and zero out the 'install-exec-hook' make target (see https://boinc.berkeley.edu/trac/ticket/1255)
    106132
    107133== Source layout ==