Menu

testing gnucobol-4.0-early-dev on Mingw

thomas
2021-02-06
2021-02-06
  • thomas

    thomas - 2021-02-06

    Hi everyone,

    I am trying to configure GnuCOBOL-4.0 early-dev with UnixODBC but i am getting the below error, i know my ODBC works because i can connect and query the database.

    i used the following command to configure configure --with-odbc --with-db

    Is there anything i can do to make it work?

    checking for odbc... no
    checking sql.h usability... no
    checking sql.h presence... yes
    configure: WARNING: sql.h: present but cannot be compiled
    configure: WARNING: sql.h:     check for missing prerequisite headers?
    configure: WARNING: sql.h: see the Autoconf documentation
    configure: WARNING: sql.h:     section "Present But Cannot Be Compiled"
    configure: WARNING: sql.h: proceeding with the compiler's result
    configure: WARNING:     ## ----------------------------------- ##
    configure: WARNING:     ## Report this to bug-gnucobol@gnu.org ##
    configure: WARNING:     ## ----------------------------------- ##
    checking for sql.h... no
    configure: error: sql.h and sqlext.h are required for ODBC
    
     
  • Simon Sobisch

    Simon Sobisch - 2021-02-06

    You don't have unixODBC installed (or at least not the -dev part). For Plain MinGW I'd try to build it from source http://www.unixodbc.org/download.html

     
    👍
    1
    • thomas

      thomas - 2021-02-06

      Thanks Simon, i will try to install from that link.

       

Anonymous
Anonymous

Add attachments
Cancel