Project

General

Profile

ENX Installation Manual V2.8+

Downloading

ENX software is available on

Example in linux like console :

Prompt> 

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 *

Compiling and Installing ENX

To install ENX, ..................

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)