Compiling on Debian

Michael Pope <[email protected]> Thu, 29 Sep 2022 10:41:04 +1000
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello,

I'm new to Aubit 4GL, I've got an old Informix 7.20 application and 
would like to use Aubit 4GL.

I'm trying to compile the source of Aubit 1.5.3 on a Debian 7 32bit VM 
and I'm getting an error on make and a few warnings on the configure.

Here are the commands I tried;

           : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/lib
           : export AUBITDIR=/home/map7/src/aubit4glsrc
           : export PATH=$PATH:$AUBITDIR/bin
           : export A4GL_UI=TUI
           : export A4GL_SQLTYPE=esql
           : sudo apt-get install libncurses5-dev libncursesw5-dev 
pkg-config bison flex iodbc unixodbc postgresql libecpg-dev 
libglib2.0-dev doxygen valgrind cvs splint expect curl texi2html 
libgmp3-dev apache2-prefork-dev perl-doc gawk libsigsegv2
           : ./configure
           : make

           - Error on make
             : make[2]: Entering directory 
`/home/map7/src/aubit4glsrc/compilers/fcompile'
             : LANG=C LC_ALL=C /usr/bin/bison -y -Wno-yacc -r all -d 
-v    screen.yacc
             : screen.yacc:75.20-33: syntax error, unexpected {...}
             : make[2]: *** [y.tab.c] Error 1
             : make[2]: Leaving directory 
`/home/map7/src/aubit4glsrc/compilers/fcompile'
             : make[1]: *** [/home/map7/src/aubit4glsrc/bin/fcompile] 
Error 2
             : make[1]: Leaving directory `/home/map7/src/aubit4glsrc/lib'
             : make: *** [corecompile] Error 2

The warnings I get in the configure are;

+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
| You have specified one or more --with-xxxx=<path> switches to      |
| 'configure' script, specifiying package installed in non-standard  |
| <path> In most cases, you will have to add this path to your PATH  |
| and/or LD_LIBRARY_PATH and/or ld.so.conf in your run-time          |
| environment, for Aubit compilers and compiler programs to be able  |
| to find nedded programs and/or libraries that belong to this way   |
| specified package in non-standard place. We will try to do this    |
| automatically for you:                                             |
+--------------------------------------------------------------------+
| Adding to /etc/ld.so.conf (if possible) :                          |
|                                                                    |
Paths : /usr/informix/lib /usr/informix/lib/esql  /usr/local/lib
/usr/local/bin/bash: line 7: /etc/ld.so.conf: Permission denied
+--------------------------------------------------------------------+
|                        ***   NOTE ***                             |
| One or more optional modules will not be built, because required   |
| libraries or programs where not detected.                          |
| If this computer is connected to the Internet,                     |
|  you should be able to install all of them automaticall by using   |
|  command 'make missing.optional'.                                  |
|                                                                    |
| make targets to install this options are:                          |
|  install.unixodbc install.pdcurses install.pdflib install.ingres 
install.pg.odbc install.ifx.odbc install.iodbc install.xmlrpc 
install.cint install.sapdb.odbc install.iksemel install.gtk install.gtk2 
install.glade2 install.sqlite install.sqlite.odbc install.libspopc 
install.libsmtp install.sxml install.dot install.libcheck
|                                                                    |
| You can install individual options as spercified in output of      |
| 'make help.optional' command. Otherwise:                           |
|                                                                    |
| Please install this options manually, if you wish to use           |
| this Aubit compiler extended functionality:                        |
|                                                                    |
|  LEX_PCODEC LEX_PERL aubit4gl_pl.pm UI_HL_TUIX EXREPORT_PDF 
LOGREPPROC_PDF EXREPORT_HARU LOGREP_PDF SQL_ingres ESQL_INGRES 
SQL_pgodbc SQL_ifxodbc SQL_iodbc SQL_unixodbc RPC_XMLRPC A4GL_cint 
SQL_sapodbc UI_HL_GTK LOGREP_CSV LOGREP_TXT LOGREP_HTML UI_GLADE 
A4GL_glade  SQL_sqlite SQL_sqliteS SQL_sqlite3 SQL_sqlite3S 
SQL_sqliteodbc A4GL_pop fgl_smtp A4GL_sxml ESQL_QUERIX SQL_esqlQ 
SQL_esqlSAP ESQL_SAP  IM_JABBER IM_JABBERs
+--------------------------------------------------------------------+


Looks like I'm missing some dependencies but I don't know how to install 
all of them on debian or find the correct packages. Is there any 
documentation for installation geared towards debian?

What is a the list of debian 7 packages I need to install?


-- 
Regards,

*Michael Pope*

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss