|
Re: Error in starting tclhttpd on Grafpup
|
Alexander Caldwell
|
Sep 09, 2007 13:21 PDT
|
Jerry,
I seem to remember that error message about "do not ask for tclib, use individual modules" is not a fatal error, it's just sort of a warning to you that they were going to change it in future versions of tclib, which they did do in later versions of tclib, but I think everything still works OK in this older version of tclib. If tclhttpd is running, it should be OK.
Alex
Jerry Park <park.-@gmail.com> wrote:
Alex,
Yeah, you may recall that we did quite a bit of work with Tclhttp back
awhile, where I was using the links and Elinks browser (console
browser) on Linux and in Cygwin to connect to Tclhttp because it loads
the patient list far, far faster that a regular brower. Fortunately,
Elinks is included with Grafpup.
Anyway, tclsh8.3 and wish8.3 are here alright in
/root/Tkfp/drug_programs/bin, but you are correct that wish8.3 and
tclsh8.3 won't launch because they can't access the shared library
files. Here's the error message I get from a console window:
cd /root/Tkfp/drug_programs
exec ./bin/wish8.3
./bin/wish8.3: error while loading shared libraries: libtk8.3.so:
cannot open shared object file: No such file or directory
I got the same error for tclsh8.3, except it can't find file libtcl8.3so.
The shared libraries are all present in /root/Tkfp/drug_programs/lib,
so the ash shell is just not finding them.
/root/Tkfp/drug_programs/bin/wish8.4 (and tclsh8.4 as well) works fine
with the above commands, but wish8.3 does not work with the same
commands.
UPDATE
The pkglist.tcl in /root/Tkfp/drug_programs/lib did not have a line
for wish8.3, so I made one. I realize that the pkglist is usually not
hand edited, but I though I would try.
I then copied libtk8.3.so and libtclsh8.3 to /usr/lib. wish8.3 will launch now.
Then I forced "enable_insecure" like this in notebook_start.tcl:
# send httpd.tcl "set enable_insecure $enable_insecure"
set enable_insecure true
send httpd.tcl "catch \{source
$rootdirectory/tclhttpd3.3.1/bin/httpd.tcl\}"
Now upon launching Tkfp from a console, Tclhttp does not crash, but I
get the following error message:
checking for demographicform wish8.4
% checking for Prescription wish8.4
% checking for note_gen wish8.4
% checking for report_tab wish8.4
% checking for expenses wish8.4
% % checking for web_server wish8.3
% JAVA_ENABLED = false
Java web browser not enabled
info script == /root/Tkfp/tclhttpd3.3.1/bin/httpd.tcl
home == /root/Tkfp/tclhttpd3.3.1/bin
Don't do "package require tcllib", ask for individual modules.
I tried taking the line out of pkgindex.tcl for wish8.3 that I put in,
and it didn't matter, I got the above error message anyway.
I see that the command "package require tcllib" is in httpd.tcl, and
there are comments about it.
This problem is a bit over my head. Any ideas?
Jerry
| | Jerry,
I really do use the Tclhttpd server, because it serves up the progress notes
and also is needed create an HTML view of the patient's entire record like
when you want to create a .ps file for faxing the records to somebody or for
printing copies of their records etc. So it would be good to have it working
in the Puppy Linux Tkfp.
Alex
|
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
|
|
 |
|