Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Ubuntu and Easysoft ODBC Driver problem

Help
2008-05-31
2013-04-25
  • I am trying to install RexxSQL on Ubuntu using the Easysoft ODBC Driver and get the following error. Has anyone succeeded in doing this? Any help gratefully appreciated!

    Rexx/SQL has now been configured with the following options:

                     Rexx Interpreter: Regina (using regina-config)
                             Database: OpenLink ODBC
                  Database headers in: /usr/include/
                Database libraries in: /usr/lib/
                        Build options: 32BIT
        binaries will be installed in: ${exec_prefix}/bin
       libraries will be installed in: ${exec_prefix}/lib
                             {prefix}: /usr
                        {exec_prefix}: ${prefix}

    To build the Rexx/SQL binaries, and dynamically loadable libraries, type 'make'
    To install Rexx/SQL in the above directories, type 'make install'

    mike@mike-desktop:~/RexxSQL-2.5/regina$ make
    gcc -c -O2 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG  -I. -I.. -I../odbc -I../common -I../general -DOPENLINK -DHAVE_CONFIG_H   -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/ -I../cli-odbc -o loader.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../common/loader.c
    In file included from ../general/apphead.h:20,
                     from ../common/rxpack.h:124,
                     from ../common/loader.c:23:
    ../odbc/dbheader.h:61:20: error: iodbc.h: No such file or directory
    ../odbc/dbheader.h:64:1: warning: "SQL_SQLSTATE_SIZE" redefined
    In file included from /usr/include/isqlext.h:80,
                     from ../odbc/dbheader.h:63,
                     from ../general/apphead.h:20,
                     from ../common/rxpack.h:124,
                     from ../common/loader.c:23:
    /usr/include/sqlext.h:92:1: warning: this is the location of the previous definition
    make: *** [loader.o] Error 1
    mike@mike-desktop:~/RexxSQL-2.5/regina$ make install gcc -c -O2 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG  -I. -I.. -I../odbc -I../common -I../general -DOPENLINK -DHAVE_CONFIG_H   -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/ -I../cli-odbc -o loader.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../common/loader.c
    In file included from ../general/apphead.h:20,
                     from ../common/rxpack.h:124,
                     from ../common/loader.c:23:
    ../odbc/dbheader.h:61:20: error: iodbc.h: No such file or directory
    ../odbc/dbheader.h:64:1: warning: "SQL_SQLSTATE_SIZE" redefined
    In file included from /usr/include/isqlext.h:80,
                     from ../odbc/dbheader.h:63,
                     from ../general/apphead.h:20,
                     from ../common/rxpack.h:124,
                     from ../common/loader.c:23:
    /usr/include/sqlext.h:92:1: warning: this is the location of the previous definition
    make: *** [loader.o] Error 1
    mike@mike-desktop:~/RexxSQL-2.5/regina$