Uninstall
=========
Execute '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
+
+* 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:
+
+ <user>@<host>:/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
+
+
+
+
# Versioning
release = ARGUMENTS.get ('release', 0)
+# Environment
+env = Environment ()
+oracle_includes = os.environ['ORACLE_HOME'] + "/include"
+
# Headers
source_include = os.path.join (current_directory, "include")
usr_include = [
- "/usr/include/oracle/11.2/client",
+ #"/usr/include/oracle/12.1/client64",
+ oracle_includes,
"/usr/include/libxml2",
#"/usr/include/boost",
#"/usr/include/mysql",
libraries = []
# Environment
-env = Environment ()
+#env = Environment ()
# CPPPATH will be relative to src/<target>
env.Append (CPPPATH = [source_include, usr_local_include, usr_include ])
env.Append (CCFLAGS = '-std=c++0x')
# C++11 support:
-env.Append (CXXFLAGS = '-std=c++11')
+#env.Append (CXXFLAGS = '-std=c++11')
env.Append (LIBS = [''])
# scons -Q release=1
#define anna_core_core_hpp
/**
-Proporciona las clases y patrones de desarrollo básico, que podrían ser utilizados por cualquier
-aplicación y/o plataforma.
+Proporciona las clases y patrones de desarrollo b�sico, que podr�an ser utilizados por cualquier
+aplicaci�n y/o plataforma.
-El ejecutable deberá enlazarse con la librería: libanna.core.a
+El ejecutable deber� enlazarse con la librer�a: libanna.core.a
El <b>Packet Header</b> es anna.h
#include <anna/core/Allocator.hpp>
#include <anna/core/AutoPointer.hpp>
#include <anna/core/Cloneable.hpp>
-#include <anna/core/Configuration.hpp>
+#include <anna/core/util/Configuration.hpp>
#include <anna/core/define.autoenum.hpp>
#include <anna/core/Exception.hpp>
#include <anna/core/functions.hpp>
#include <anna/core/tracing/TraceWriter.hpp>
#include <anna/core/DataBlock.hpp>
#include <anna/core/functions.hpp>
-#include <anna/core/Configuration.hpp>
+#include <anna/core/util/Configuration.hpp>
#include <anna/core/tracing/TraceWriterObserver.hpp>
using namespace std;
// (1) Aunque sea un objeto de tipo Date lo define/trata como un tipo TimeStamp, porque de otro modo no se grabaria la
// informacion referente a la hora.
// (2) El Float hasta ahora se trataba como un tipo especial de cadena, pero no es un tratamiento indicado
-// para todos los gestores de base de datos, así que vamos a resumir en estas clases todos los detalles de
+// para todos los gestores de base de datos, as� que vamos a resumir en estas clases todos los detalles de
// tratamiento.
//
dbms::oracle::BaseBind::oci_param dbms::oracle::BaseBind::getOCIParam(dbms::oracle::Database& database, dbms::oracle::Connection* connection, dbms::Data& data)