GNU Ada 95 Database Developement Environment - (GNADE)

Version 0.9k

Editor M.Erdmann

9.4.2001

Content

This release 0.9k is a preview on the planned version 1.0 of the GNADE project. It is intended for the platforms Linux, Solaris and Windows NT/2000 and features:

New in this release are several bug fixes and the first time support for the MimerSQL Database.

The following data base products are known to work with this release, assuming, that you are using the correct driver manager (see section "Other Components").

Component Description Version OS Distribution/Source of the release
Postgres Postgres Database 7.0.3 www.postgresql.org
3.50 Lunix RedHat 7.0
Lunix SuSe 7.0
Windows NT
Mimer Mimer SQL RDBMS www.mimer.com
8.2.1B Solaris 8
8.2.3B Linux RedHat 7.0
MySQL MySQL Database

MyODBC

3.23.22

2.50.36-1

Linux www.mysql.com
MySQL Database

MyODBC

3.23.35a

2.50.36

Windows 2000 www.mysql.com

The software and documentation of this release is contained in the following files:

File Size in Bytes Contents
gnade-src-0.9k.tar.gz 248348 Complete GNADE distribution GNU compressed tar file
gnade-src-0.9k.zip 420612 Complete GNADE distribution as ZIP file.

Copyright, License and Authors

The GNU Public License (GPL) applies with the following extension to all software components in this release

As a special exception, if other files instantiate generics from GNADE Ada units, or you link GNADE Ada units or libraries with other files to produce an executable, these units or libraries do not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

The documentation has been put under the Free GNU Documentation License.

The authors and copyright holders of the GNADE project are:

Jürgen Pfeifer juergen.pfeifer@gmx.net>
Michael Erdmann Michael.Erdmann@snafu.de
Sune Falck sunef@hem.passagen.se

Contact

Bug Reports http://sourcefore.net/projects/gnade M.Erdmann
GNADE Discussions http://cert.uni-stuttgart.de/mailman/listinfo/gnade-dev

gnade-dev@cert.uni-stuttgart.de

Florian Weimer
Project Page http://gnade.sourceforge.net/

http://sourcefore.net/projects/gnade

M.Erdmann
Dev. Coordination Michael.Erdmann@snafu.de M.Erdmann

Restrictions

Fixed Problems

Bug Ref. Version Short Description Comments
411143 0.9g configure does not fail. The configure.in script has been updated and aborts if the library check failes or one of the GNAT components is missing
412931 0.9h Ada compiler not found On FreeBSD and Solaris the ada compiler is not found even it is there. The configuration procedure assumes the name of the compiler based on the build OS name.
412885 0.9h Distribution not instalable on Solaris A prebuild version of the configure script was missing. If the target system does not support autoconf, the files in ./autoconf should never touched.
412884 0.9h HTML Documentation files where missing The prebuild version of the documentation was missing. The make dist traget has been changed.
413658 0.9i MyODBC 2.50.36 failes with 0.9h The offending SQL primitive has been removed.
413660 0.9i Long_String looks not nice Patch from Sune Falck has been inserted
413687 0.9j test sample gnerates exception Change in esql_support. Pointer not intialized.
414349 0.9k cp failes on Solaris Depending on the OS, different options are used for the cp command.
414350 0.9k Install not found on Solaris The autoconf specific fallback procedures are used which means the install-sh script will be used in case of problems.
414351 0.9k configure terminates on Solaris wih erro The -e parameter for the test command is not supported by Solaris. The parameter -f seems to be more comonly supported.
413687 0.9k test sample gnerates exception A patch has been recevied from Mr. Obry solving the problen in esql_support.adb.
414526 0.9k configure - make directories executed ./configure checks the result of auotconf/configure
414583 0.9k Wrong error message for errors in sql qu Patch from S. Falck added.

Known Problems

Bug Ref. Short Description Comments
411141 Missing ";" for "EXEC SQL DECLARE DB01 D This problem may be bypassed by putting a semicolon

in the source code.

Installation

The installation of this software requires the following components:

Component Version Origin
gzip GNU
unzip GNU
zip
tar
autoconf*1 2-13-9 GNU
make 3.79.1 GNU
gnat 1.13p ALT distribution
gawk GNU

The autoconf utility is only required on Linux/Unix Systems if the configuration scripts have to be changed. For window systems a special set of makefiles in the directory ./win32 is provided which are not using the autoconf facility.

Installation on Linux/Unix

Unpacking and Configuratiuon

$ gunzip -c gnade-src-linux-gnu-<version>.tar.gz | tar xvf -
$ cd gnade-src-linux-gnu-<version>
$ ./configure <dbname>

As dbname the following values are allowed.

If the value is obmitted, all subsequent steps regarding the data base installation may be skiped.

Installation of the Database

Depending on the installation of the data base you have specified in the configure script command, you have to execute the following step either by using a DBA account our you may use your own user account.

$ su ..dba..
$ make createuser

After the database and the database uer has been configured, the ODBC interface has to be configured. The directory ./samples/sample_db contains sample files for the unixODBC driver manager. The files odbc.ini.sample odbcinst.ini.sample have to be copied to /etc/odbc.ini and /etc/ odbcinst.ini.sample.

Compiling an testing

After the creation of the data base user, the final build may be done by:

$ make

Test code is located under ./samples. In order to test the functionality of the ODBC interface youse the examples in ./odbc or ./esql.

If it does not work

If this installation procedure failes you may use the Makefile under ./win32. This makefile is known to work at least on Solaris well if the correct driver manager is installed (see section other components).

Installation on Windows NT

For window users a zip file is provided. In order to install perform the following steps:

> unzip gnade-src-linux-gnu-<version>.zip
> cd gnade-src-linux-gnu-<version>/win32
> make 
                                   
The issue regarding the installation of a data base user has to be dony by hand. 
The windows makefile  uses the make.conf file which is prebuild by the ./configure script. Any configuration
change has to be done there. Please refere to the README file in ./win32.

Other components

The following Driver Manager are known to work with the release:

Component Description Version Operating System Comments
iODBC ODBC Driver Manager 3.0.4 Windows NT www.iodbc.org
unixODC ODBC Driver Manager 1.8.12-2 Linux www.unixodbc.org
2.0.5 Solaris 8

www.unixodbc.org


Warning:

The iODBC 3.04 implementation on Solaris seems to have a problem with the handling of cursor
states. It should not be used. 


Contributions

Special regards to the following persons which have contributed to the project:

Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
François Fabien. fr.fabien@infonie.fr
Pascal Obry p.obry@wanadoo.fr