Serlvers 0.1.0 review
DownloadSerlvers is a set of Erlang modules designed to help in the implementation of IP services (i.e
|
|
Serlvers is a set of Erlang modules designed to help in the implementation of IP services (i.e. TCP/IP or Internet servers).
Serlvers consists of a set of behaviours to abstract the internals of each protocol, and other modules to help with the infrastructure.
Serlvers's goal is that when making a server, you only need worry about how to store, handle, process, etc. the information instead of the internals of each protocol (to save countless hours of RFC reading).
Installation:
SCons is used to compile and install this package.
First check out the variables you need to set by running:
scons --help
You'll need to set PREFIX, the prefix directory (where Erlang is installed, it contains something like: bin erts-5.4.13 Install lib misc releases usr) and at the same time you set it, it'll compile.
Then run:
scons install
to install. You might need sudo or su to reach superuser capabilities.
For example:
$ scons PREFIX=/usr/lib/erlang
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
erl -noshell -run edoc_run files '["src/launcher.erl","src/gen_echo.erl","src/gen_chargen.erl","src/gen_daytime.erl","src/gen_time.erl"]' '[{dir, "doc/"}]' -run init stop
erlc -o src/ src/gen_chargen.erl
erlc -o src/ src/gen_daytime.erl
erlc -o src/ src/gen_echo.erl
erlc -o src/ src/gen_time.erl
erlc -o src/ src/launcher.erl
scons: done building targets.
$ sudo scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Install file: "src/gen_chargen.beam" as "/usr/lib/erlang/lib/serlvers-0.1.0/ebin/gen_chargen.beam"
Install file: "src/gen_daytime.beam" as "/usr/lib/erlang/lib/serlvers-0.1.0/ebin/gen_daytime.beam"
Install file: "src/launcher.beam" as "/usr/lib/erlang/lib/serlvers-0.1.0/ebin/launcher.beam"
Install file: "src/gen_chargen.erl" as "/usr/lib/erlang/lib/serlvers-0.1.0/src/gen_chargen.erl"
Install file: "src/gen_daytime.erl" as "/usr/lib/erlang/lib/serlvers-0.1.0/src/gen_daytime.erl"
Install file: "src/launcher.erl" as "/usr/lib/erlang/lib/serlvers-0.1.0/src/launcher.erl"
scons: done building targets.
$
Requirements:
Erlang R10B-10
SCons 0.96.1
SCons Erlang 0.1.0
Serlvers 0.1.0 search tags