On Thu, 2003-11-06 at 08:05, Alexander Caldwell wrote:
> Hi,
> 
> Here's a couple of things I noticed  after trying this that may be
> helpful:
> 
> When installing the PERL modules with the CPAN shell, the line:
> 
> install Config  
> 
> I think should have been:
> 
> install ConfigFile
> 

Thanks I will correct the documentation on this!



> The program as supplied seems to need to be installed in
> /usr/share/freeb  or else
> it will not find the freeb PERL libs, without some adjustment of the
> library path that
> PERL uses.

That is also true, and I should have documented that as well...



> When you run ./formatbin/x12.pl  you get an error:
> 
> Cannot Create : Inappropriate ioctl for device at formatbin/hcfa.pl
> line 7.
> 
> but this means you need to run x12.pl with 2 arguments, a "billing
> key" and the name of a logfile

This is also true, and needs documentation. Also the program should spew
more meaningful errors. The reason for this is that this script is
normally called from the FreeB server, you can call it from the command
line for testing purposes


> I tried ./formatbin/x12.pl 555 ./logfile &    
> 
> Then it ran OK, although on the x12.pl I see this, but don't know what
> it means:
> 
> NM1*PR*2*AAA INSURANCE*****PI*741234~
> Argument "" isn't numeric in subtraction (-) at
> ./test/PM_Server_Sim.01.pl line 1178.
> Argument "" isn't numeric in numeric ge (>=) at
> ./test/PM_Server_Sim.01.pl line 266.
> HL*3*2*23*0~
> Argument "" isn't numeric in subtraction (-) at
> ./test/PM_Server_Sim.01.pl line 1178.
> PAT*19~

That is a flaw in the way PM_Server_Sim.pl It actually does not make any
difference. 

you will want to run PM_Server_Sim.pl in a seperate window, so that you
can watch its errors in the foreground. Rather than running it in the
background of the same terminal that you are running the format scripts
in!

Thanks for the testing,

These changes will make it into the next version of the documentation!!

Thanks!

-Fred Trotter
> 
> Alex Caldwell M.D.
> 
> 
> Fred Trotter wrote:
> > If you are getting the "Can't locate ConfigFile.pm in @INC (@INC
> > contains:" error, this message is for you!!
> > 
> > Ok, so the reason that so many of you are having trouble installing and
> > using FreeB is that I moved the README to a file called FreeB. This will
> > be corrected in future versions! sorry about that. 
> > 
> > There you will find that there are several perl modules that FreeB is
> > dependant on. 
> > Parse::RecDescent - (used to compile the FreeB formats to perl scripts)
> > PDF::Create  - (used to make printable versions of paper formats)
> > Date::Calc - (used to calculate age from date of birth)
> > Set::Scalar - (used to perform set functions on groups of procedures)
> > Config - (used to read config files)
> > Frontier::RPC2 - (for XML-RPC)
> > 
> > I neglected to include in the documentation the Config pm. This was
> > because my box came with the module. again sorry.
> > 
> > You can quickly and easily fulfill all of the requirements using CPANs
> > interactive shell.
> > 
> > first type...
> >   
> > > perl -MCPAN -e shell
> > >     
> > 
> > as the root user.
> > 
> > Then run through the little wizard that sets up the CPAN downloader.
> > At the end of the process you should end up with a "cpan prompt".
> > 
> > >From there simply type the following commands.
> > 
> > install Parse::RecDescent
> > install PDF::Create
> > install Date::Calc
> > install Set::Scalar
> > install Config
> > install Frontier::RPC2
> > 
> > That should do it!! Let me know how that goes!
> > 
> > Note that we will eventually be using a patched version of
> > Frontier::RPC2 so that we can handle basic authentication. Further, in
> > the next supported release we will be including as many of these modules
> > as possible in the FreeB tarball. This will elminate most of these
> > issues!!
> > 
> > Hope That Helps!
> >   
-- 
Fred Trotter <[EMAIL PROTECTED]>
SynSeer

Reply via email to