No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
altibase_home Create .empty Oct 15, 2018
autoconfig Initial commit Feb 8, 2018
dist_file Initial commit Feb 8, 2018
install encoding conversion from euckr to utf8 Oct 15, 2018
makefiles Initial commit Feb 8, 2018
src changes for using gcc-7, g++-7 Oct 16, 2018
thirdparty Initial commit Feb 8, 2018
tool encoding conversion from euckr to utf8 Oct 15, 2018
tsrc encoding conversion from euckr to utf8 Oct 15, 2018
ut encoding conversion from euckr to utf8 Oct 15, 2018
.gitattributes Initial commit Feb 8, 2018
COPYING.GNU-AGPLv3 Initial commit Feb 8, 2018
COPYING.GNU-LGPLv3 Initial commit Feb 8, 2018
COPYING.GPC-License Initial commit Feb 8, 2018
Makefile encoding conversion from euckr to utf8 Oct 15, 2018
Makefile.gcc_version Initial commit Feb 8, 2018
README.md erased locale setting Oct 15, 2018
add_revisioninfo.sh Initial commit Feb 8, 2018
alticore.mk Initial commit Feb 8, 2018
altiodbcInstall_win.xml Initial commit Feb 8, 2018
check_bison_version.awk Initial commit Feb 8, 2018
check_gcc_version.awk Initial commit Feb 8, 2018
check_linux_version.awk Initial commit Feb 8, 2018
clientInstall.xml Initial commit Feb 8, 2018
clientInstall_win.xml Initial commit Feb 8, 2018
clientPatchInstall.xml Initial commit Feb 8, 2018
clientPatchInstall_win.xml Initial commit Feb 8, 2018
clientValuepack.xml Initial commit Feb 8, 2018
conf.java Initial commit Feb 8, 2018
configure make executable Feb 23, 2018
configure.in encoding conversion from euckr to utf8 Oct 15, 2018
env.mk.in encoding conversion from euckr to utf8 Oct 15, 2018
makeAutoconf.sh Initial commit Feb 8, 2018
moddep.mk Initial commit Feb 8, 2018
oem_copy.sh Initial commit Feb 8, 2018
oem_env Initial commit Feb 8, 2018
pkg.map Initial commit Feb 8, 2018
pkg_dotnet_provider.map Initial commit Feb 8, 2018
pkg_natc.map Initial commit Feb 8, 2018
serverCommunityEditionInstall.xml Initial commit Feb 8, 2018
serverCommunityEditionInstall_win.xml Initial commit Feb 8, 2018
serverInstall.xml Initial commit Feb 8, 2018
serverInstall_win.xml Initial commit Feb 8, 2018
serverOpenEditionInstall.xml Initial commit Feb 8, 2018
serverPatchInstall.xml Initial commit Feb 8, 2018
serverPatchInstall_win.xml Initial commit Feb 8, 2018
unittest.mk Initial commit Feb 8, 2018
vars.mk.in encoding conversion from euckr to utf8 Oct 15, 2018

README.md

Altibase: Enterprise grade High performance Relational DBMS

Help

Q&A and Bug Reports

License

  • Altibase is an open source with GNU Affero General Public License version 3(GNU AGPLv3) for the Altibase server code and GNU Lesser General Public License version 3(GNU LGPLv3) for the Altibase client code.
  • The products that can be downloaded from this site are open source versions. Please contact Altibase for Altibase enterprise edition products.
  • License information can be found in the COPYING files.
  • Altibase includes GPC sources, so, if you want to use those sources for commertial use then you need to buy "General Polygon Clipper (GPC) License".

Build environment setting steps


- OS: Red Hat or Ubuntu
- CPU: x86_64
- selinux disabling (optional)
  vi /etc/sysconfig/selinux 
  SELINUX=disabled
- ntsysv  (optional)
  IPTables = iptables, ip6tables *uncheck*
  vsftpd = *check* 
  /etc/init.d/iptable stop
  /etc/init.d/vsftpd start
- /etc/rc.local  (optional)
  echo 16147483648 > /proc/sys/kernel/shmmax
  echo 1024 32000 1024 1024 > /proc/sys/kernel/sem
- /etc/sysctl.conf  (optional)
  # Controls the default maxmimum size of a mesage queue
  kernel.msgmnb = 65536
  # Controls the maximum size of a message, in bytes
  kernel.msgmax = 65536
  # Controls the maximum shared segment size, in bytes
  kernel.shmmax = 68719476736000
  # Controls the maximum number of shared memory segments, in pages
  kernel.shmall = 4294967296
  fs.suid_dumpable = 1
  fs.aio-max-nr = 1048576
  fs.file-max = 6815744
  # semaphores: semmsl, semmns, semopm, semmni  
  kernel.sem = 1024 32000 1024 1024
  net.ipv4.ip_local_port_range = 32768 61000
  net.core.rmem_default = 4194304
  net.core.rmem_max = 4194304
  net.core.wmem_default = 262144
  net.core.wmem_max = 1048586
  # core filename pattern (core.execution_file_name.time)
  kernel.core_uses_pid = 0
  kernel.core_pattern = core.%e.%t
- glibc 2.12 ~ 2.20
- gcc 4.6.3
- Install following libraries  (optional)
  https://gmplib.org/ 
  http://www.mpfr.org/
  http://www.multiprecision.org/
  http://www.mr511.de/software/english.html
  Gmp => ./configure --enable-shared --enable-static --prefix=/usr/gmp
  Mpfr => ./configure --enable-shared --enable-static --prefix=/usr/mpfr --with-gmp=/usr/gmp
  Mpc => ./configure --enable-shared --enable-static --prefix=/usr/mpc --with-gmp=/usr/gmp --with-mpfr=/usr/mpfr
  Libelf => ./configure --enable-shared --enable-static --prefix=/usr/elf --with-gmp=/usr/gmp --with-mpfr=/usr/mpfr
  LD_LIBRARY_PATH=/usr/gmp/lib:/usr/mpfr/lib:/usr/mpc/lib:/usr/elf/lib:$LD_LIBRARY_PATH
  Install glibc-devel package(e.g. glibc-devel-2.*.el6.i686.rpm)
  https://gcc.gnu.org/
  ./configure --prefix=/usr/local/gcc-4.6.3 \
  --enable-shared \
  --enable-threads=posix \
  --enable-languages=c,c++ \
  --with-gmp=/usr/gmp \
  --with-mpfr=/usr/mpfr \
  --with-mpc=/usr/mpc \
  --with-libelf=/usr/elf \
  make; make install
- Install both of Oracle Java JDK 1.5 and 1.7
- Install https://www.openssl.org/source/openssl-1.0.2o.tar.gz 
- Install development tools 
  autoconf
  autopoint
  help2man
  texinfo
  g++
  gawk
  flex (2.5.35 version)
  bison (2.4.1 version)
  libncurses5-dev
  binutils-dev
  ddd
  tkdiff
  manpages-dev 
  libldap2-dev
- Modify /usr/include/sys/select.h
  $ diff select.h_old select.h_new
  62a63,67
  > /* Maximum number of file descriptors in `fd_set'. */
  > #ifndef FD_SETSIZE
  > #define FD_SETSIZE __FD_SETSIZE
  > #endif
  > 
  69c74
  <     __fd_mask fds_bits[__FD_SETSIZE / __NFDBITS];
  ---
  >     __fd_mask fds_bits[FD_SETSIZE / __NFDBITS];
  72c77
  <     __fd_mask __fds_bits[__FD_SETSIZE / __NFDBITS];
  ---
  >     __fd_mask __fds_bits[FD_SETSIZE / __NFDBITS];
- re2c 
  /home/user/local/pkg$ tar xvf ./re2c-0.13.5.tar.gz
  /home/user/local/pkg$ cd ./re2c-0.13.5
  /home/user/local/pkg/re2c-0.13.5$ ./configure
  /home/user/local/pkg/re2c-0.13.5$ make
  /home/user/local/pkg/re2c-0.13.5$ make install
- Other environment variable setting
  export ALTIDEV_HOME=*source code directory*
  export ALTIBASE_DEV=${ALTIDEV_HOME}
  export ALTIBASE_HOME=${ALTIDEV_HOME}/altibase_home
  export ALTIBASE_NLS_USE=US7ASCII
  export ALTIBASE_PORT_NO=17730
  export ADAPTER_JAVA_HOME=/usr/java/jdk1.7.0_71
  export JAVA_HOME=/usr/java/jdk1.5.0_22
  export PATH=.:${ALTIBASE_HOME}/bin:${JAVA_HOME}/bin:${PATH}
  export CLASSPATH=.:${JAVA_HOME}/lib:${JAVA_HOME}/jre/lib:${ALTIBASE_HOME}/lib/Altibase.jar:${CLASSPATH}
  export LD_LIBRARY_PATH=$ADAPTER_JAVA_HOME/jre/lib/amd64/server:${ALTIBASE_HOME}/lib:${LD_LIBRARY_PATH}
- Compile Altibase
  ./configure --with-build_mode=release
  make clean
  make build