- Table of contents
- ENX Installation Manual V2.6+
ENX Installation Manual V2.6+¶
Downloading¶
ENX software is available on the subversion repository at http://csngwinfo.in2p3.fr:2401/enx
A generic login/password is enx/enx (to use with svn).
Example in linux like console :
Prompt> svn --username enx --password enx co http://csngwinfo.in2p3.fr:2401/enx
The Trunk directory contains the development version of ENX.
The Tags directory contains all the stable ENX version.
The Drivers directory contains all the proposed drivers for ENX and have the same structure with Tags and Trunk directory.
Dependancies¶
Before compiling ENX you need- An Ada compiler
- some libraries that you can find in https://forge.in2p3.fr/projects/enx/files
- AWS
- http://libre.adacore.com/libre/tools/aws/
- In debian distribution you have three packages to install libaws-bin, libaws-dev and libaws2.5.
Compiling and Installing ENX¶
To install ENX, type "./configure" in ENX source directory. By default you will compile the standard ENX web application on port 5555.
In version V2.6.00, you will too compile the console (standalone application without web access).
In version V2.6.01, by default you the remote console and you can enable if needed the console and the remote shell.
dataserver:~/Projects/enx/Tags/ENX-v2.6.01$ ./configure --help ... Usual configure options ... Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-console Enabled the console application (Default is no) --enable-remote_console Enabled the remote console application (Default is yes) --enable-remote_shell Enabled the remote console application (Default is no) --enable-server_web Enabled the server_web application (Default is yes) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-port=NUMBER Default port for ENX web server (default is 5555)
Then use "make" and "make install" command.
dataserver:~/Projects/enx/Tags/ENX-v2.6.01$ ./configure checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gnatmake... /usr/bin/gnatmake checking for ada2wsdl... /usr/bin/ada2wsdl checking for wsdl2aws... /usr/bin/wsdl2aws checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for -strip... no checking for strip... /usr/bin/strip checking for /usr/share/ada/adainclude/print.gpr... no checking for /opt/ada_library/Trunk//print.gpr... yes checking for /usr/share/ada/adainclude/log4Ada.gpr... yes checking for /usr/share/ada/adainclude/aws.gpr... yes checking for /usr/share/ada/adainclude/xmlada2.gpr... no checking for /usr/share/ada/adainclude/xmlada.gpr... yes checking Compilation of Console application... no checking Compilation of Remote Console application... yes checking Compilation of Remote Shell application... no checking Compilation of Server Web application... yes configure: creating ./config.status config.status: creating GNUmakefile config.status: creating GNUmakefile.mk config.status: creating shell.gpr config.status: creating constants.ads dataserver:~/Projects/enx/Tags/ENX-v2.6.01$ make ..... dataserver:~/Projects/enx/Tags/ENX-v2.6.01$ make install .....
Environment variable¶
ENX_SCRIPT: This variable defines the directory that should contains ENX script file. If it's not ENX will look in your current directory.
ENX_SRC: This variable must point out on the home source directory of ENX (for example ~/enx/Trunk)