RE: Installation of 4Js BDL compiler V3.53 on RedHat Enterprise Linux 3

"Dener Medrano" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Message
Verify :
DB2DIR=$PATH_INSTALATION

FGLDBS=db28x

FGLCC=gcc

LD_LIBRARY_PATH=$DB2DIR/lib

IBM DB2 Universal Database

1. The DB2DIR environment variable must define the DB2 software installation
path.

2. The PATH environment variable must define the access path to database
client programs.

3. On UNIX, the LD_LIBRARY_PATH environment variable (or equivalent) must
define the access path to shared

objects.

4. The DB2 client library 'DB2DIR/lib/libdb2*' must be available.

5. The remote server node and the remote database must be declared locally
with the CATALOG db2 command.

6. Make some connection tests with the IBM db2 tool.


Creating an IBM DB2 DVM:
To create IBM DB2 DVMs, the DB2 Client Library is needed. The library is
named libdb2.so and is provided in

'$DB2DIR/lib'.

To create a DB2 specific DVM, use the -d option with an "db2" database
driver:

$ fglmkrun -o rundb2 -d db281

Runner successfully created.

Warning: Make sure the IBM DB2 environment is set (DB2DIR).

Creating a DVM with Dynamic Database Interface:

To create a DVM with dynamic database interface, use the "-d dynamic"
option:

$ fglmkrun -o rundyn -d dynamic



Att. Dener Medrano Arriaza,

Analista Desarrollador,

Departamento de Ing. de Software,

Soluciones Creativas,

6ta. Av. "A" 13-24  Zona 9,

Edif. Torre Cannet Of. 505,

Guatemala, C.A,

Telefonos : Fijo:    2339-22-01

                                          2339-22-11   ext. 103

                           Movil: 5600-40-87

e-mail: [email protected].

www.solc.com.gt





  -----Mensaje original-----
  De: SAS Sandy Sawmy [mailto:[email protected]]
  Enviado el: Martes, 08 de Febrero de 2005 09:03 a.m.
  Para: [email protected]
  Asunto: FW: [fourjs-users] Installation of 4Js BDL compiler V3.53 on
RedHat Enterprise Linux 3


  Database is DB2 v8.1


  Regards,

  Sandy Sawmy
  MCS Ltd

  -----Original Message-----
  From: SAS Sandy Sawmy
  Sent: Tuesday, February 08, 2005 19:01
  To: '[email protected]'
  Subject: RE: [fourjs-users] Installation of 4Js BDL compiler V3.53 on
RedHat Enterprise Linux 3


  GCC version: gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
  No Informix CSDK installed.
  BDL compiler version: fjs-f4gl-3.54.2k-lnxlc23.sh


  Regards,

  Sandy Sawmy
  MCS Ltd

    -----Original Message-----
    From: [email protected] [mailto:[email protected]] On
Behalf Of Dener Medrano
    Sent: Tuesday, February 08, 2005 18:00
    To: [email protected]
    Subject: RE: [fourjs-users] Installation of 4Js BDL compiler V3.53 on
RedHat Enterprise Linux 3


    verify this products:

     GCC Version gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

     CSDK Version if this Informix = IBM informix CSDK Version 2.81 IBM
informix-ESQL Version 9.53.UC2X5

     BDL 3.54 = fjs-f4gl-3[1].54.1a.lnxlc23.


    Verify the Variable:

LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/dmi:$INFORMIXDIR/lib/esql:
$INFORMIXDIR/lib/tools

    FGLCC=gcc


    Run the Example hola.c:

    #include <iostream.h>
    main()
    {
     cout <<"Hola mundo\n";
    }

    $ gcc -o hola hola.c

    $ ./hola

      Hola mundo






    Att. Dener Medrano Arriaza,

    Analista Desarrollador,

    Departamento de Ing. de Software,

    Soluciones Creativas,

    6ta. Av. "A" 13-24  Zona 9,

    Edif. Torre Cannet Of. 505,

    Guatemala, C.A,

    Telefonos : Fijo:    2339-22-01

                                              2339-22-11   ext. 103

                               Movil: 5600-40-87

    e-mail: [email protected].

    www.solc.com.gt





      -----Mensaje original-----
      De: SAS Sandy Sawmy [mailto:[email protected]]
      Enviado el: Martes, 08 de Febrero de 2005 01:00 a.m.
      Para: [email protected]
      Asunto: RE: [fourjs-users] Installation of 4Js BDL compiler V3.53 on
RedHat Enterprise Linux 3


      Hi,

      Thx for the tip.  Version 3.54 installed and runner created but
rtsinstall generates the following error:

      /usr/fgl2c/bin/fglrun: error while loading shared libraries:
libdb2.so.1: cannot open shared object file: No such file or directory


      Regards,

      Sandy Sawmy
      MCS Ltd

        -----Original Message-----
        From: [email protected] [mailto:[email protected]]
On Behalf Of Dener Medrano
        Sent: Monday, February 07, 2005 19:27
        To: [email protected]
        Subject: RE: [fourjs-users] Installation of 4Js BDL compiler V3.53
on RedHat Enterprise Linux 3


        provided that you install BDL Version 3.54 since this updated
GLIBC's version of REd Hat Enterprise.


        Att. Dener Medrano Arriaza,

        Analista Desarrollador,

        Departamento de Ing. de Software,

        Soluciones Creativas,

        6ta. Av. "A" 13-24  Zona 9,

        Edif. Torre Cannet Of. 505,

        Guatemala, C.A,

        Telefonos : Fijo:    2339-22-01

                                                  2339-22-11   ext. 103

                                   Movil: 5600-40-87

        e-mail: [email protected].

        www.solc.com.gt





          -----Mensaje original-----
          De: SAS Sandy Sawmy [mailto:[email protected]]
          Enviado el: Lunes, 07 de Febrero de 2005 09:14 a.m.
          Para: [email protected]
          Asunto: [fourjs-users] Installation of 4Js BDL compiler V3.53 on
RedHat Enterprise Linux 3


          Hello AnyOne,

          I would like to know if the above is currently possible and if
not, if any workaround solution exists.

          Thanks.

          Regards,

          Sandy Sawmy
          MCS Ltd

                ====================================================
                DISCLAIMER:
                Confidential or privileged information may be contained in
this message. If you are not the intended recipient of the message, please
notify the sender immediately.

                Opinions, conclusions and other information expressed in
this message are those of the sender, else otherwise stated by the
individual sender, to be those of MCS Ltd, to whom no liability shall be
attached whatsoever.
                *****************************************************


            ====================================================
            DISCLAIMER:
            Confidential or privileged information may be contained in this
message. If you are not the intended recipient of the message, please notify
the sender immediately.

            Opinions, conclusions and other information expressed in this
message are those of the sender, else otherwise stated by the individual
sender, to be those of MCS Ltd, to whom no liability shall be attached
whatsoever.
            *****************************************************


        ====================================================
        DISCLAIMER:
        Confidential or privileged information may be contained in this
message. If you are not the intended recipient of the message, please notify
the sender immediately.

        Opinions, conclusions and other information expressed in this
message are those of the sender, else otherwise stated by the individual
sender, to be those of MCS Ltd, to whom no liability shall be attached
whatsoever.
        *****************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.