Changes between Version 3 and Version 4 of Install
- Timestamp:
- Mar 20, 2012, 1:02:49 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Install
v3 v4 1 = Installing RefactorErl =1 = Installing !RefactorErl = 2 2 3 3 ... 4 4 5 == Required software==5 == Dependencies == 6 6 7 The following list contains all requierements for RefactorErl that are used by one or more features. If a listed program depends on further ones, then they are not listed but we suppos that they are installed with the standard (default) way.7 The following list enumerates required software. 8 8 9 9 === Base system === 10 10 11 11 * Erlang R14B04 or higher (currently WebInterface does ''not'' work with any higher version) 12 * GCC 4.2 or higher 13 * graphviz (TODO) (graph drawing, dependency visualization) 14 * 12 13 * GCC 4.2 or higher (for the graph based NIF back-end) 14 * graphviz 2.0 or higher (for graph drawing and dependency visualization) 15 {{{#!comment 16 What version do we depend on, actually? 17 }}} 15 18 16 19 17 20 === WebInterface === 18 * Yaws 1.89 19 * Web browser (Mozilla Firefox 3.6 or higher, Google Chrome) 21 22 * Server side: Yaws 1.89 23 * Client side: Mozilla Firefox 3.6 or higher / Google Chrome 20 24 21 25 === EmacsInterface === 22 26 23 * Emacs 23.3 or higher with erlang-mode and widget27 * Emacs 23.3 or higher - with [http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html erlang-mode] and widgets 24 28 25 29 === EclipseInterface === … … 35 39 == Local install instructions on Linux == 36 40 37 You can install RefactorErl on a system where you have no admin 38 right. Follow the instructions below. 41 You can install !RefactorErl on a system where you do not own admin rights. Follow the instructions below. 39 42 40 You need some packages installed by the admin, but they can be found 41 in almost all Linux system. These are: 42 * gcc >= 4.5 43 You need some packages installed by the admin, but they can be found in almost all Linux systems. These are: 44 * gcc (>= 4.5) 43 45 * make 44 46 * tar 45 47 * bash 48 * ncurses 49 50 * libpam-dev (for yaws) 46 51 * openssl (for yaws) 47 * ncurses 48 * (optional) wx 52 * wx (optional) 49 53 50 I will assume that you would like to install the tool into a local 51 "root" directory. You should modify the next route to your one: 52 E.g.: /home/olikas/local 54 We assume you would like to install the tool into a local "root" directory. You should modify the following path to your one: 53 55 54 56 {{{ … … 63 65 }}} 64 66 65 Run the next scriptto initialize the directory layout.67 Run the next command in order to initialize the directory layout. 66 68 67 69 {{{ 68 cd ~ 69 mkdir $REFERL_ROOT 70 cd $REFERL_ROOT 71 mkdir home 72 cd home 73 mkdir $REFERL_GHOST_USER 70 mkdir -p $REFERL_ROOT/$REFERL_GHOST_USER 74 71 }}} 75 72 76 To install Erlang 73 If you have not installed Erlang yet, run the following commands to install Erlang/OTP R14B04: 77 74 78 75 {{{ … … 88 85 }}} 89 86 90 To install RefactorErl:87 To install !RefactorErl: 91 88 92 89 {{{ … … 103 100 104 101 {{{ 105 cd $REFERL_ROOT/$REFERL_GHOST_USER/refactorerl- .9.12.01102 cd $REFERL_ROOT/$REFERL_GHOST_USER/refactorerl-0.9.12.01 106 103 bin/referl -erl $REFERL_ROOT/bin/erl 107 104 }}} 108 105 109 If you want to use the web based interface of the tool you have to 110 install the proper version (1.89) of Yaws. 106 If you want to use the web based interface of the tool, you have to install the proper version (1.89) of Yaws. 111 107 112 108 {{{ … … 128 124 129 125 {{{ 130 cd $REFERL_ROOT/$REFERL_GHOST_USER/refactorerl- .9.12.01126 cd $REFERL_ROOT/$REFERL_GHOST_USER/refactorerl-0.9.12.01 131 127 bin/referl -erl $REFERL_ROOT/bin/erl -db nif 132 128 }}}