Message Image  

Informix

 View Only
Expand all | Collapse all

Utils2_ak_myschema_compiling_AIX

  • 1.  Utils2_ak_myschema_compiling_AIX

    Posted Wed July 07, 2021 04:06 PM
    Hello everybody,

    Download the latest version of utils2_ak and compile it into:

    AIX 7.1
    bash-5.0 $ esql -V
    IBM Informix CSDK Version 4.10, IBM Informix-ESQL Version 4.10.FC14
    Software Serial Number AAA # B000000
    bash-5.0 $ xlc -qversion
    IBM XL C / C ++ for AIX, V12.1 (5765-J02, 5725-C72)
    Version: 12.01.0000.0000

    I have this error:

    bash-5.0 $ make myschema
    cd myschema.d; make -f myschema.mk.norcs; cp -p myschema ..
    "myschema.mk.norcs", line 86: make: 1254-055 Dependency line needs colon or double colon operator.
    "myschema.mk.norcs", line 89: make: 1254-055 Dependency line needs colon or double colon operator.
    "myschema.mk.norcs", line 91: make: 1254-055 Dependency line needs colon or double colon operator.
    make: 1254-058 Fatal errors encountered - cannot continue.
    make: 1254-004 The error code from the last command is 2.


    Stop.

    thanks for your help

    ------------------------------
    Arnulfo Martinez Ruiz
    ------------------------------

    #Informix


  • 2.  RE: Utils2_ak_myschema_compiling_AIX

    IBM Champion
    Posted Wed July 07, 2021 07:43 PM
    Anulfo:

    You also sent me a private message and I responded to that. Here is the response:

    OK, so the makefile "myschema.mk.norcs" has some GNU-make-isms in it and you apparently are not running GNU make. So if you are using the native xlc compiler change the command line to:

    make -f myschema.mk.norcs.nognumake

    If you are using GCC, then:

    make -f myschema.mk.norcs.nognumake.aix.gcc

    Also, if you are using XLC then you may have to make some changes to the makefile because it is set up for Linux as is. There are notes in comment and suggested changes in there in comments as well. You can also read the BUILDING text file in the parent directory for suggestions. If you have any more trouble, don't hesitate to reach out to me. My direct email is art.kagel@gmail.com

    Art



    ------------------------------
    Art S. Kagel, President and Principal Consultant
    ASK Database Management Corp.
    www.askdbmgt.com
    ------------------------------