Open a console and digit :


tar -xvzf openddpt_xxx.tar.gz

or :


tar -xvjf openddpt_xxx.tar.bz2

If the package is correctly downloaded on the console will appear the sequence of decompressed file :





openddpt/bin/
openddpt/bin/sls/
openddpt/bin/sls/Makefile.am
openddpt/bin/sls/Makefile.in
openddpt/bin/cluster/
openddpt/bin/cluster/train/
openddpt/bin/cluster/train/training.txt
openddpt/bin/cluster/train/train.m
openddpt/bin/cluster/README
openddpt/bin/cluster/Makefile.am
openddpt/bin/cluster/Makefile.in
openddpt/bin/cluster/train.m
openddpt/bin/datasets/
openddpt/bin/datasets/glass.train



Select the package directory :


cd openddpt_xxx

Execute the configuration bash script:


./configure [--prefix=(installdir)] [--help for options] [--disable-socket]

Now configure check your system :



checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc...

...........................

When configure finish its work ,it gives to you a report about your system and about packages required by openddpt :







*** Note: Your system appears to not have the openGL libraries then
*** you can compile OpenDDPT library but some test may not work like
*** gravity test.

*** Note: Your system appears to not have the FFTW libraries then
*** you can compile OpenDDPT library but you cannot do Bode diagram
*** of digital filters.



Digit:


make

We start the compiling process :



cd . /bin/sh /home/treni/prov/openddpt/missing --run automake-1.8 --gnuMakefile
cd . /bin/sh ./config.status Makefile
config.status: creating Makefile
Making all in src
make[1]: Entering directory `/home/treni/prov/openddpt/src
Making all in core
make[2]: Entering directory `/home/treni/prov/openddpt/src/core
Making all in cluster
make[3]: Entering directory `/home/treni/prov/openddpt/src/core/cluster'
if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/ -I../../../include/core -I../../../include/balancedtree -I../../../include/optimization -Wall -O2 -fstrength-reduce -finline-functions -freduce-all-givs -ffast-math -fomit-frame-pointer -fpermissive -D_COMMON_INCLUDE_H -MT socket_rpc_call.lo -MD -MP -MF ".deps/socket_rpc_call.Tpo" -c -o socket_rpc_call.lo socket_rpc_call.cpp; \
then mv -f ".deps/socket_rpc_call.Tpo" ".deps/socket_rpc_call.Plo"; else rm -f ".deps/socket_rpc_call.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/ -I../../../include/core -I../../../include/balancedtree -I../../../include/optimization -Wall -O2 -fstrength-reduce -finline-functions -freduce-all-givs -ffast-math -fomit-frame-pointer -fpermissive -D_COMMON_INCLUDE_H -MT socket_rpc_call.lo -MD -MP -MF .deps/socket_rpc_call.Tpo -c socket_rpc_call.cpp -fPIC -DPIC -o .libs/socket_rpc_call.o
socket_rpc_call.cpp: In member function `void
rpc_socket_client::add_slave(char*):
socket_rpc_call.cpp:256: warning: char format, different type arg (arg 3)
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/ -I../../../include/core -I../../../include/balancedtree -I../../../include/optimization -Wall -O2 -fstrength-reduce -finline-functions -freduce-all-givs -ffast-math -fomit-frame-pointer -fpermissive -D_COMMON_INCLUDE_H -MT socket_rpc_call.lo -MD -MP -MF .deps/socket_rpc_call.Tpo -c socket_rpc_call.cpp

...........................



Make sure that you have root privileges and digit:


make install

The installing directory can be choised using configure options :


./configure --prefix=Directory

All binaries are installed so we can use the neuralnetwork emulation test-suite digiting from console :


loadtrn [... option ...]







Apache