On 8/4/05, K.S. Bhaskar <[EMAIL PROTECTED]> wrote:
> Zeno --
> 
> Let's try to get your CPRS GUI working so that you can then help others.
> Nancy, please jump into the discussion as appropriate.
> 
> Directory layout - please confirm that you have the following
> directories:
> 
> /usr/local/gtm_V5.0-000 - GT.M installation files.
> /usr/local/gtm - symbolic link to /usr/local/gtm_V5.0-000.
> 
> /usr/local/FOIAVistA - from distribution of OpenVistA SemivivA FOIA Gold
> from May, 2005 with three sub-directories, r/, o/ and g/.  r/ and o/
> should each have 23,100 routines.  g/ should have 2 files, mumps.gld and
> mumps.dat.gz.
> /usr/local/OpenVistA - symbolic link to /usr/local/FOIAVistA.  The
> symbolic links are not that important, but they help to establish that
> the installation went correctly.  None of the files under /usr/local
> should have been modified by you after installation of OpenVistA
> SemiVivA.
> 
> /home/vista - for an instance of VistA, with three sub-directories, r/,
> o/ and g/.  g/ should have a file mumps.dat, which is the database file.
> r/ would have a file XWBTCPM.m, which is a copy
> of /usr/local/FOIAVistA/r/XWBTCPM.m modified as noted by Nancy
> Anthracite on Wednesday, and repeated below.
> 
> I won't go into your xinetd configuration, because it looked as if you
> had that working.  However, in response to a connection request at port
> 9200 (or wherever), the following script is executed by a bash shell
> (you can put a #!/bin//bash as the first line of the script):
> 
> source /usr/local/gtm/gtmprofile
> export vista_source=/usr/local/OpenVistA
> export vista_home=/home/vista
> export gtmroutines="$vista_home/o($vista_home/r)
> $vista_source/o($vista_source/r) $gtm_dist"
> export gtmgbldir=$vista_home/g/mumps.gld
> $gtm_dist/mumps -run GTMLNX^XWBTCPM
> 
> Note that in the above, the first line starts with "source", the last
> line starts with "$gtm_dist" and 4 lines in between start with "export".
> Also, the line "export vista_source=/usr/local/OpenVistA" can also read
> "export vista_source=/usr/local/FOIAVistA".

Ok, above all seems to work fine.
 
> /home/vista/r/XWBTCPM.m should differ
> from /usr/local/FOIAVistA/r/XWBTCPM.m in that the lines starting with
> the label GTMLNX and ending with G CONNTYPE should be replaced with:
> 
> GTMLNX  ;From Linux xinetd script
>         D ESET
>         ;GTM specific code
>         S @("$ZINTERRUPT=""I $$JOBEXAM^ZU($ZPOSITION)""")
>         S XWBTDEV=$P X "U XWBTDEV:(nowrap:nodelimiter)"
>         S %="",@("%=$ZTRNLNM(""REMOTE_HOST"")") S:$L(%) IO("GTM-IP")=%
>         G CONNTYPE
I did change these lines in my code.

> Just to eliminate (expected) compile time errors, pre-compile the module
> as follows (as user vista, or whichever user will run the RPC broker,
> not as user root):
> 
> cd /home/vista/o
> source /usr/local/gtm/gtmprofile
> mumps ../r/XWBTCPM.m
This gives me:
[EMAIL PROTECTED] ~/o $ mumps ../r/XWBTCPM.m
%GTM-E-FILENOTFND, File ../r/XWBTCPM.m not found

my /home/vista/o directory is empty as you can see.

> This will generate some errors, but create the
> file /home/vista/o/XWBTCP.o.
> 
> Now try connecting with the CPRS GUI client and tell us what happens.

Thanks for your Feedback.
Zeno


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to