Re: Illegal option --
Mike Aubury <[email protected]> Wed, 13 Jan 2021 14:00:55 +0000
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WHmdxqZWOqVU1567joBKo57Tc6yQ0RqrC10DWTsktXVLw@mail.gmail.com> |
I've already said - you can safely ignore that warning, along with why its happening (because the Makefile uses the "aubit" script to ensure the PATH, LD_LIBRARY_PATH and AUBITDIR are set). If you set those separately - and dont use the aubit script yourself - you'll be fine. On Wed, 13 Jan 2021, 13:44 James B. Byrne via Aubit4gl-discuss, < [email protected]> wrote: > > > On Wed, January 13, 2021 05:17, Mike Aubury wrote: > > This comes from the "aubit" command its using > > .. > > sh --version > > .. > > Illegal option -- > > > > > > In general - I *never* use this command > > I always just set the environment > > > > AUBITDIR=/usr/home/aubit4gl/Projects/aubit4glsrc > > export AUBITDIR > > export PATH=$PATH:$AUBITDIR/bin > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/lib > > > > > > AUBITDIR=/usr/home/aubit4gl/Projects/aubit4glsrc > export AUBITDIR > export PATH=$PATH:$AUBITDIR/bin > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/lib > > > Those are set. The Makefile is provided. The error remains: > > > [byrnejb_hll@vhost01 test (master)]$ export > AUBITDIR=/home/byrnejb_hll/Projects/aubit4gl && export > PATH=$PATH:$AUBITDIR/bin > && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/lib > > [byrnejb_hll@vhost01 test (master)]$ gmake > /usr/local/bin/bash /home/byrnejb_hll/Projects/aubit4gl/bin/aubit 4glpc > -fPIC > -DPIC -ohello.4ae hello.4gl -L/usr/local/lib -L/usr/lib > Illegal option -- > > /usr/local/bin/bash /home/byrnejb_hll/Projects/aubit4gl/bin/aubit 4glpc > -fPIC > -DPIC -ohello2.4ae hello2.4gl -L/usr/local/lib -L/usr/lib > Illegal option -- > > Warning : Error file is not empty - but I got no error > Check hello2.warn for details > > /usr/local/bin/bash /home/byrnejb_hll/Projects/aubit4gl/bin/aubit 4glpc > -fPIC > -DPIC -ohello_db.4ae hello_db.4gl -L/usr/local/lib -L/usr/lib > Illegal option -- > > Warning : Error file is not empty - but I got no error > Check hello_db.warn for details > > export A4GL_PACKER=PACKED; export A4GL_FORMTYPE=GENERIC;/usr/local/bin/bash > /home/byrnejb_hll/Projects/aubit4gl/bin/aubit fcompile form.per > Illegal option -- > > 4GL Form Compiler (c) 1997-2014 Aubit project - Version 1.5-2 > > The form 'form.per' will now be compiled > > > The form compilation was successful. > > /usr/local/bin/bash /home/byrnejb_hll/Projects/aubit4gl/bin/aubit > amkmessage > helpfile.msg helpfile.hlp > Illegal option -- > > /usr/local/bin/bash /home/byrnejb_hll/Projects/aubit4gl/bin/aubit 4glpc > -fPIC > -DPIC -ofile.4ae file.4gl -L/usr/local/lib -L/usr/lib > Illegal option -- > > +--------------------------------------------------------------------+ > | Default simple demo targets successfully compiled | > | Try 'make all' for more example code. | > | You can run compiled demo program 'hello' by executing: | > | ./hello.4ae | > | Alternatively, if you did not yet set your run-time environment for| > | execution of Aubit programs (PATH, LD_LIBRARY_PATH, AUBITDIR, etc) | > | you can use 'aubit' wrapper script to run programs - for example: | > | aubit ./hello.4ae | > +--------------------------------------------------------------------+ > > Thank you for using Aubit 4gl compiler > > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Unencrypted messages have no legal claim to privacy > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:[email protected] > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > > > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss > _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss