> Maurice LeBrun wrote: >> Orion Poplawski writes: >> > Could the Tcl interface folks take a look at trying to compile plplot >> > against Tcl 8.5? It's been put into Fedore Development and plplot >> > compile fails with: >> > .. >> >> I may be able to look into it over the weekend. If someone beats me to >> it, I >> won't complain tho. :) >> > > Here's what I've got so far, plus a couple extra patches. > > plplot-5.7.2-tcl85.patch: > > TclFormatInt is now a macro, this should be backwards compatible. > Tcl_Import and Tcl_GetGlobalNamespace now appear to be public, this will > really need to be wrapped with a Tcl version check or > > #ifndef Tcl_Import_TCL_DECLARED > #define Tcl_Import_TCL_DECLARED > EXTERN int Tcl_Import _ANSI_ARGS_((Tcl_Interp * interp, > Tcl_Namespace * nsPtr, CONST char * > pattern, > int allowOverwrite)); > #endif > > which is how it is done in tclDecls.h in 8.5.
The compiled pltcl gives the following error at startup: $ ../utils/pltcl Error Tcl_Init application-specific initialization failed: too many nested evaluations (infinite loop?) so something isn't right. Not surprising given that I know nothing about the Tcl interface. - Orion ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel