| | 102 | |
| | 103 | = Fail Safe C = |
| | 104 | * [http://staff.aist.go.jp/y.oiwa/FailSafeC/ Fail-Safe C: Top Page] |
| | 105 | |
| | 106 | * Ubuntu 12.04 LTS x86_64 |
| | 107 | * mitty@precise:~$ sudo aptitude install ocaml-nox ocaml-native-compilers ocaml-findlib libextlib-ocaml-dev camlp4 libgc-dev libgdbm-dev |
| | 108 | {{{ |
| | 109 | The following NEW packages will be installed: |
| | 110 | camlp4 ledit{a} libextlib-ocaml{a} libextlib-ocaml-dev |
| | 111 | libfindlib-ocaml{a} libfindlib-ocaml-dev{a} libgc-dev libgc1c2{a} |
| | 112 | libgdbm-dev ocaml-base-nox{a} ocaml-findlib ocaml-interp{a} |
| | 113 | ocaml-native-compilers ocaml-nox |
| | 114 | 0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. |
| | 115 | Need to get 31.6 MB of archives. After unpacking 106 MB will be used. |
| | 116 | }}} |
| | 117 | * mitty@precise:~$ svn co https://svn.rcis.jp/FailSafeC/pub/trunk FailSafeC-trunk |
| | 118 | {{{ |
| | 119 | Checked out revision 2255. |
| | 120 | }}} |
| | 121 | |
| | 122 | == fix version getter script == |
| | 123 | * mitty@precise:~/FailSafeC-trunk$ vim tools/disthelpers/svn-get-revision.pl |
| | 124 | {{{#!diff |
| | 125 | Index: tools/disthelpers/svn-get-revision.pl |
| | 126 | =================================================================== |
| | 127 | --- tools/disthelpers/svn-get-revision.pl (revision 2255) |
| | 128 | +++ tools/disthelpers/svn-get-revision.pl (working copy) |
| | 129 | @@ -9,7 +9,7 @@ |
| | 130 | while (<F>) { |
| | 131 | # 123456 1234567890 12345678 123456789012 |
| | 132 | # A + - 1723 yutaka local-packaging/debian-dir |
| | 133 | - /(^[AMDR\+ \?]{6}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; |
| | 134 | + /(^[AMDR\+ \?]{7}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; |
| | 135 | $fname = $4; |
| | 136 | $frev = $3 + 0; |
| | 137 | # print $_; |
| | 138 | }}} |
| | 139 | * mitty@precise:~/FailSafeC-trunk$ ./tools/disthelpers/svn-get-revision.pl |
| | 140 | {{{ |
| | 141 | 2255+20120602T162127Z |
| | 142 | }}} |
| | 143 | |
| | 144 | * mitty@precise:~/FailSafeC-trunk$ ./configure |
| | 145 | * mitty@precise:~/FailSafeC-trunk$ make |
| | 146 | * mitty@precise:~/FailSafeC-trunk$ sudo make install |