Changes between Version 3 and Version 4 of SM


Ignore:
Timestamp:
04/20/06 17:03:20 (20 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SM

    v3 v4  
    1212</cite></blockquote>
    1313}}}
     14
     15= Installation =
     16{{{
     17cdelacruz@metis:/usr/local/sm$ sudo ./set_opts
     18I am going to ask you some questions to decide how to setup SM. If there's
     19something in [square brackets] at the end of a line, it's the default value;
     20to accept it just hit carriage return. If there are alternatives separated
     21by a |, the default value is the first one.
     22
     23It should be safe to hit ^C at any time if you want to start again.
     24
     25What machine are you on? ("all" will give a list of possibilities).
     26Choose a machine: [linux]
     27You are on a linux using the
     28        cc -Wall -Dlinux -DNEED_SWAP
     29compiler; is this OK? [y|n] y
     30What debugging/optimisation flags do you want? [-g]
     31What devices do you want to compile in? Your options are:
     32TK X11
     33Choose one at a time, carriage return on an empty line to finish
     34X11
     35
     36You have selected devices: X11; ok? [y|n] y
     37We can help you configure things for which the defaults are usually OK
     38Do you want to do so? [n|y|list] y
     39Choose data type for vectors, "float" or "double"? [float]
     40Choose length of longest macro [10000]
     41Choose length for string-valued-vector's elements [40]
     42Do you want to treat numbers starting 0 as octal? [n]
     43Do you want to build and install the callable parser, libparser.a? [n]
     44Top level path to install things? [/usr/local] /usr/local/sm
     45The commands make install (and make installinfo) will install files as follows:
     46  binaries                        /usr/local/sm/bin
     47  linkable libraries              /usr/local/sm/lib
     48  SM files (e.g. graphcap)        /usr/local/sm/lib/sm
     49  info files                      /usr/local/sm/info
     50  manual pages                    /usr/local/sm/man/man1
     51is this ok? [y|n] y
     52Do you want to install SM-mode for (gnu)emacs? [y|n] y
     53In which directory? [/usr/local/sm/emacs/site-lisp]
     54I am about to start modifying files, proceed? [y|n] y
     55sed: -e expression #1, char 105: unknown option to `s'
     56Creating Makefile...
     57Creating src/options.h...
     58Creating src/Makefile...
     59Creating callable/Makefile...
     60
     61You will be ready to make SM as soon as you have edited
     62src/options.h to remove our copyright notice.
     63cdelacruz@metis:/usr/local/sm$
     64
     65Removed first seven lines of options.h
     66cdelacruz@metis:/usr/local/sm/src$ sudo vi options.h
     67
     68Run make:
     69
     70cdelacruz@metis:/usr/local/sm$ sudo make 
     71cdelacruz@metis:/usr/local/sm$ sudo make install
     72
     73Added alias to .bashrc file:
     74
     75
     76alias sm="/usr/local/sm/bin/sm"
     77}}}