Re: [Plplot-devel] OS-X and Tcl/Tk
On Nov 8, 2006, at 11:23 AM, Alan W. Irwin wrote: anything more we can do in the linking department. One possibility is to try a different version of Tcl/Tk (the fink version if you got the above results with the Apple native version or vice versa). But if you get the same or related run-time problems with a different Tcl/Tk version then I think your only recourse is to do some run-time debugging to see exactly what the problem is. It looks like it does work with the Fink Tk/Tcl. I can use the Tk driver now and the Tcl examples also seem to work. I have the following fink Tcl/Tk packages: tcltk, tcltk-dev and tcltk-shlibs, all version 8.4.6-2. I'll update the wiki accordingly. There is one bit of OS-X weirdness though. This works: ./examples/c/x01c, then choose the Tk device. However, this gives me a bus error: ./examples/c/x01c -dev tk As does this: ./examples/c/x01c -dev aqt But these don't: ./examples/c/x01c -dev xwin ./c/x01c -dev svg So it isn't something about Tk. I'd guess that it is something about command line arguments since I have lots of programs that specify these drivers in a non-interactive way and they work fine. -Hazen - 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=lnkkid=120709bid=263057dat=121642 ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] OS-X and Tcl/Tk
On 2006-11-07 08:24+0100 Werner Smekal wrote: Hi, Have a look at include/plplot.h. It has a whole series of defined's that it checks. If any of those are true it #define's __unix. I suspect you just have to add the appropriate check for Mac OS X to that list. I found this website ( http://predef.sourceforge.net/index.php ) which is very useful if you need to know predefined macros for your compiler. Maybe this is of any help. Thanks, Werner. That looks like an extremely useful site. For example, it gives (http://predef.sourceforge.net/preos.html#sec17) the Mac OS X identification which should help Hazen test the idea above. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __ Linux-powered Science __ - 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=lnkkid=120709bid=263057dat=121642 ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] OS-X and Tcl/Tk
On Nov 5, 2006, at 9:53 PM, Alan W. Irwin wrote: On 2006-11-05 21:29-0500 Hazen Babcock wrote: iMac /usr/local/lib/pkgconfig : PKG_CONFIG_PATH=. pkg-config -- libs test -framework tcl tk I am virtually positive that is a bug in this really ancient (see below) version. iMac /usr/local/lib/pkgconfig : pkg-config --version 0.15.0 Is my version of pkg-config too old? Very likely. That version is from 3 (!) years ago. Mine is version 0.17.2, but that is already pretty old (Debian stable system). Please, grab the latest (0.21) from http://pkgconfig.freedesktop.org/releases/ , build it (apparently quite easy), and try again. I have some pretty good hope that a new version of pkg-config and the CVS fix I did earlier today will solve your remaining issues. I just installed version 0.21 and now there is no -framework mangling. I can build the examples in the install tree and ./plplot-test.sh runs without any problems. -Hazen - 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=lnkkid=120709bid=263057dat=121642 ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel