From: Alan W. I. <ir...@be...> - 2002-12-02 08:53:24
|
I get the following error messages if I attempt to use -dev tk with the AT branch: ./x10c -dev tk -debug plLoadDriver: Device not loaded! plLoadDriver: tag=tk, drvidx=14 plLoadDriver: Trying to load tkd_drv.so on /usr/local/plplot_at/lib/plplot5.1.0/data/../drivers/tkd_drv.so tcl_cmd: Evaluating command: rename exec {} tcl_cmd: Evaluating command: set client_name [winfo name .] tcl_cmd: Evaluating command: plclient_init TCL command "plclient_init" failed: invalid command name "plclient_init" tcl_cmd: Evaluating command: plclient_link_end TCL command "plclient_link_end" failed: invalid command name "plclient_link_end" Segmentation fault In contrast, here is what I get with the MAIN branch: ./x10c -dev tk -debug plLoadDriver: Device not loaded! plLoadDriver: tag=tk, drvidx=13 plLoadDriver: Trying to load tkd_drv.so on ./drivers/tkd_drv.so plLoadDriver: Local dlopen failed because of the following reason: ./drivers/tkd_drv.so: cannot open shared object file: No such file or directory plLoadDriver: Trying to load at /usr/local/plplot_main//lib/plplot5.1.0/data/../drivers/tkd_drv.so tcl_cmd: Evaluating command: rename exec {} tcl_cmd: Evaluating command: set client_name [winfo name .] tcl_cmd: Evaluating command: plclient_init init_server: tk.c -- PID: 30164, PGID: 30164, PPID: 21452 argument list: plserver -child -e plserver_init -file /dev/null -name x10c -client_name tk (null) It looks to me that the AT branch version is executing tcl commands fine (the rename and set client... commands returned without error), but there is some error when attempting to even get to plclient_init which resides in plclient.tcl. I placed a puts stderr message in the very top of plclient_init for both systems, and it printed that message fine in the MAIN version, but never reached it in the AT version. So somehow, the AT version is having trouble finding plclient.tcl. Note, there have been some recent MAIN updates to tcl which I do not have in the AT branch (which was split off from MAIN about a week ago) so that may be part of the problem. Since this is the only driver that doesn't work, and the tkd_drv.so shared object works fine when used by plserver or if loaded by wish, I am strongly inclined to just merge AT into the MAIN branch tomorrow, and let the tcl experts here deal with any remaining tk device problems while I get on with autotools support for octave, static drivers, etc. on the MAIN branch. I won't be doing the merge immediately this morning (Monday morning Pacific time = UTC-8) because there are still some loose ends to tie up, and I want to get some sleep so I will be fresh. But I do expect to do the merge some time in the next 24 hours. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |