From: Pankaj L. <pa...@da...> - 2003-02-13 10:18:45
|
Hi Maurice, Did you try building tcl/tk driver on Solaris? Can you please share you results/changes with me, as I am trying to build plplot 5.2.0 on Solaris. I am getting following errors . 1. I was getting multiple defination error of "TclSetStartupScriptFileName, TclGetStartupScrip" symbols. I fixed this by commenting these function in tclMain.c. I have also defined -D USE_TCL_STUBS -D USE_TK_STUBS flags using CFLAGS. Are these flags required for building Plplotter with tcl/tk driver. I could build the shared libraries. I have enabled dynamic drivers. 2. After loading the Plplotter package in wish8.4, I am getting following error when try to creat a frame. % plfram .f Unable to load driver: tkwin_drv. *** PLPLOT ERROR *** Unable to load driver Program aborted 3. When I build the library with only static drivers, I try following I am getting some more errors. % package require Plplotter 5.2.0 % Plplotwin .p .p % Plplotwin .p2 Error in XCreatePixmap: BadWindow (invalid Windowparameter). Error in XCreatePixmap: BadDrawable (invalid Pixmap orWindow parameter). Error in XCreatePixmap: BadDrawable (invalid Pixmap orWindow parameter). X Error of failed request: BadWindow (invalid Windowparameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0x440001a Serial number of failed request: 38 Current serial number in output stream: 41 Can you please help me to sort out above problems? Thanks for you time and help. Regards, Pankaj. ----- Original Message ----- From: Alan W. Irwin <ir...@be...> To: Pankaj Laddha <pa...@da...> Cc: PLplot development list <Plp...@li...> Sent: Wednesday, February 12, 2003 10:14 PM Subject: Re: [Plplot-devel] tcl/tk driver build results on Solaris : NeedsHelp > I don't have access to the combination of tcl/tk and solaris, but I believe > Maurice got tcl/tk to work on solaris for plplot-5.2.0. I don't know the > details of what he had to do to get it to work. My understanding is Maurice > is completely under new job pressure at the moment, but eventually I hope he > will be able to answer you. > > Alan |