X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=README.md;h=29e3fef4d0072861b2b4c7b1c8feed7810e90643;hb=37e9fbf9c427f6cedb6da49959eae8e6c44fd9ec;hp=bb53bcff75dba6f1e6ce79aa1747e09d2995e0d3;hpb=6fad401807254ca484b90304ded9501ce4d1cf99;p=anna.git diff --git a/README.md b/README.md index bb53bcf..29e3fef 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,95 @@ -ANNA -==== -ANNA is the acronym for "ANNA is not 'N' anymore", a complete suite of tools and resources - to build proffesional applications with minimum cost. +# ANNA -Revision control -================ -Based on GIT, hosted on www.bitbucket.org. +Multi-purpose C++ development suite, focused on Telco resources (communications, protocols and tools). +ANNA is acronym for "Anna is not nothingness anymore", that is to say: "Anna is something to take into +account" (like a SONaTINA). + +ANNA is a complete suite of tools and resources to build proffesional applications with minimum cost. + +## Revision control + +Based on GIT, hosted on http://redmine.teslayout.com You could use my pre-commit specific template if you want to do some basic checkings (i.e. astyle code processing): Execute './scr/git/use-pre-commit.sh' -Documentation -============= +## Documentation + Execute 'scons doc' -Unit tests -========== +## Unit tests + Execute 'scons test' -Examples -======== -Execute 'scons examples' to generate example binaries +## Examples + +Execute 'scons example' to generate example binaries + +## Install + +Execute 'sudo scons install-include' for only headers +Execute 'sudo scons install-lib' for only libraries +Execute 'sudo scons install-include-and-lib' for headers & libraries +Execute 'sudo scons install-example' for only example binaries/resources +Execute 'sudo scons install' to install the whole suite + +## Uninstall + +Execute 'sudo scons uninstall' + + + +## Some basic ubuntu requirements + +### Scons python-based building suite: + sudo apt-get install scons + +### OpenSSL: + sudo apt-get install libssl-dev + +### Gnome XML: + sudo apt-get install libxml2-dev + +### OpenLDAP: + sudo apt-get install libldap2-dev + +### Pcap: + sudo apt-get install libpcap-dev + +### MySql: + sudo apt-get install libmysqlclient-dev + +### Oracle: + https://help.ubuntu.com/community/Oracle%20Instant%20Client + Set 'ORACLE_HOME' environment variable in your profile, i.e.: + export ORACLE_HOME=/usr/lib/oracle/12.1/client64/ + + Be sure to create in that directory, a link to oracle includes, + for example: + + @:/usr/lib/oracle/12.1/client64$ ls -lrt + total 8 + drwxr-xr-x 2 root root 4096 Feb 28 15:59 bin + drwxr-xr-x 2 root root 4096 Feb 28 15:59 lib + lrwxrwxrwx 1 root root 33 Feb 28 16:07 include -> /usr/include/oracle/12.1/client64 + + The alternative is to edit SConstruct file directly to set + oracle includes directory. + +### Oracle-OpenLDAP conflict: + as usual, Oracle is doing things very bad. Move the ldap.h from oracle includes, i.e.: + + cd /usr/include/oracle/12.1/client64 + sudo mv ldap.h ldap.h.orig + +### Boost: + Although the more i use, the more i dislike, this suite is included (ambition to learn + new things...): + + sudo apt-get install libboost-dev + sudo apt-get install libboost-test-dev + + Development module is no longer needed, but still unit testing is done through boost. + Pending migration to google test framework. -Install -======= -Execute 'scons install' -(install-include-and-lib and install-example, are another aliases for selective installation) -Uninstall -========= -Execute 'scons uninstall'