RexxWrapper on Tru64

Help
2004-08-12
2004-08-12
  • Hello,
    I have installed RexxWrapper 2.3 on Unix Tru64.

    I need to make some change in the installation procedure:

    1) I run ./configure --prefix=/usr/users/cbu/ --with-rexx=regina

    loading cache ./config.cache
    checking host system type... alphaev7-dec-osf5.1
    checking target system type... alphaev7-dec-osf5.1
    checking build system type... alphaev7-dec-osf5.1
    checking for regina-config... (cached) yes
    checking for rexx... /usr/users/cbu/bin/rexx
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating rexxwrapper-config

    2) I run make, but I have the following error:

    This is Rexx/Wrapper 2.3 - 03 January 2004
    ------------------------------------------
    Modifica dei flags - Begin -
    Modifica dei flags -  End  -
    Running configure script...
    loading cache ./config.cache
    creating ./config.status
    creating defined_values
    creating config.h
    config.h is unchanged
    Compiling ZLIB modules...compress uncompr deflate inflate adler32 zutil trees infblock infcodes inftrees infutil inffast
    Compiling intbuild.c...
    Linking intbuild...
    ld:
    -ointbuild: Unknown flag
    ld: Usage: ld [options] file [...]
    ************************************************************
    error linking intbuild
    ************************************************************
    *** Exit 1
    Stop.

    3) I modify the rexx script rexxwrap.cmd at line 590,591,592 as show:

             ldflags_intbuild. = opt '-o intbuild'
             ldflags_rexxtok. = opt '-o rexxtok'
             ldflags_program. = opt '-o ' || !program

       simply I have added a blank after -o switch.

    4) I run make again, but now I have many warning message like this:

    cc: Warning: ./rexxwrapper.c, line 220: In the initializer for progline[137].line, the referenced type of the pointer value ""!OYX3=4@V#L2]O\#8WY9"0  "" is "char", which is not compatible with "unsigned char" because they differ by signed/unsigned attribute. (ptrmismatch1)
       { 24, "!OYX3=4@V#L2]O\\#8WY9\"0  " },
       ---------^

       compiling rexxwrapper.c

    5) I modify rexxwrap.c at line 75 (

    typedef struct
    {
       int len;
       char *line; /*  <= line 75 */
    } PROGLINE;

    6) I run make again, and now works ok!

    This is Rexx/Wrapper 2.3 - 03 January 2004
    ------------------------------------------
    Running configure script...
    loading cache ./config.cache
    creating ./config.status
    creating defined_values
    creating config.h
    config.h is unchanged
    Compiling ZLIB modules...compress uncompr deflate inflate adler32 zutil trees infblock infcodes inftrees infutil inffast
    Compiling intbuild.c...
    Linking intbuild...
    Running intbuild to produce rexxwrapper.c...
       If you need to dump the original code from the rexxwrapper executable, run:
        rexxwrapper --key=1
        Compiling rexxwrapper.c...
        Compiling getargv0.c...
        Linking rexxwrapper
        Done!

    7) make install run ok
    8) make clean have a problem... it show only

        rm -f

    9) when I try to use rexxwrapper with flag -encrypt have many message like this:

    Unaligned access pid=648318 <intbuild> va=0x120002bcc pc=0x120006f5c ra=0x120005ec4 inst=0xa6520300

        and program don't work but show a message like...

    Unaligned access pid=649336 <prova> va=0x120002f44 pc=0x12000752c ra=0x120005934 inst=0xa5080500
    Error 13 running "prova", line 1: Invalid character in program
    Error 13.1: Invalid character in program "('60'X)"
    Error from Rexx interpreter: -13

    program prova is:

    /* Rexx */
    Say "Questa e' una prova"
    sFileOut = 'prova.txt'
    sTextOut = Date('E')||' '||Time()
    Call LineOut sFileOut,sTextOut
    Return

    10) without -encrypt flag program works fine.

    Now I use rexxwrapper to compile my rexx script also on Tru64!

    - I cannot use the -encrypt flag
    - when I call a program from remote shell (rsh) the program don't work
      and don't show any message.

    Can anyone help me to solve this problem?

    Thanks an sorry for my english