Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-30 Thread Alan W. Irwin
On 2012-08-30 02:26-0700 Jerry wrote: > Hi Alan, > > Thanks for the patient explanation of the test dependencies. > > On Aug 29, 2012, at 9:33 AM, Alan W. Irwin wrote: > >> In any case because of the good noninteractive Tcl results you are >> getting with -dev psc as demonstrated by the test_tcl_p

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-30 Thread Jerry
Hi Alan, Thanks for the patient explanation of the test dependencies. On Aug 29, 2012, at 9:33 AM, Alan W. Irwin wrote: > In any case because of the good noninteractive Tcl results you are > getting with -dev psc as demonstrated by the test_tcl_psc and > test_diff_psc targets results you show ab

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-29 Thread Alan W. Irwin
Hi Jerry: On 2012-08-29 02:30-0700 Jerry wrote: > > I ran a fuller test than I normally do (test_noninteractive in this case), > just to make sure that this is still true. At one point this appears in the > output: > > 14: tcl > 14: Missing examples: > 14: Differing postscript o

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-29 Thread Arjen Markus
On Wed, 29 Aug 2012 02:30:13 -0700 Jerry wrote: > > I ran a fuller test than I normally do >(test_noninteractive in this case), just to make sure >that this is still true. At one point this appears in the >output: > > 14: tcl > 14: Missing examples: > 14: Differing postscr

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-29 Thread Jerry
On Aug 28, 2012, at 8:53 AM, Alan W. Irwin wrote: > To Arjen and Jerry: > > Jerry was not running pltcl correctly. See > examples/tcl/README.tcldemos for how to do that (plinit first). Indeed, in the commands that I posted in a recent e-mail I did not run plinit, as the README.tcldemos says t

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-29 Thread Arjen Markus
Hi Alan, On Tue, 28 Aug 2012 08:53:20 -0700 (PDT) "Alan W. Irwin" wrote: > To Arjen and Jerry: > > Jerry was not running pltcl correctly. See > examples/tcl/README.tcldemos for how to do that (plinit >first). Those > directions are followed in the configured file > plplot_test/test_tcl.sh(.

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-28 Thread Alan W. Irwin
To Arjen and Jerry: Jerry was not running pltcl correctly. See examples/tcl/README.tcldemos for how to do that (plinit first). Those directions are followed in the configured file plplot_test/test_tcl.sh(.in) which in turn is run by the configured file plplot_test/plplot-test.sh(.in). The CMake

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-28 Thread Jerry
I had to look this up--BoundingBox is LowerLeftX, LowerLeftY, UpperRightX, UpperRightY, with the origin at the lower left of the page. When I run x02 I get %%BoundingBox: -429496697 -429496697 -429496696 -429496696 which is only 1 square (typesetter's) point on a side. That file has 696 nan's.

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-28 Thread Arjen Markus
Hi Jerry, I got the PostScript file alright. GhostScript definitely doesn't like it - because of the bounding box and the nans. Since the PostScript device is the simplest one we have, completely independent of anything else, we are dealing with a different problem. It may very well be that the X

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-27 Thread Jerry
On Aug 27, 2012, at 11:59 AM, Arjen Markus wrote: > Hi Alan, Jerry, > > I have not looked at drivers/tkwin.c and bindings/tk-x-platform\ yet, but > what I normally do on Windows to > test the Tcl/Tk bindings is this: > - Set the path to include the PLplot DLLs > - Start ../../utils/pltcl.exe >

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-27 Thread Arjen Markus
Hi Alan, Jerry, I have not looked at drivers/tkwin.c and bindings/tk-x-platform\ yet, but what I normally do on Windows to test the Tcl/Tk bindings is this: - Set the path to include the PLplot DLLs - Start ../../utils/pltcl.exe - source x01 etc. - not x01.tcl as x01 contains the initialisati

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Jerry
On Aug 23, 2012, at 2:02 PM, Alan W. Irwin wrote: > To Jerry and Arjen: > > On 2012-08-23 02:22-0700 Jerry wrote: > >> Hi Arjen, >> >> This [the simple wish test above] works exactly as you describe except it >> runs as a native Aqua application, not as an X application. See my more >> exten

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Alan W. Irwin
To Jerry and Arjen: On 2012-08-23 02:22-0700 Jerry wrote: > Hi Arjen, > > This [the simple wish test above] works exactly as you describe except it > runs as a native Aqua application, not as an X application. See my more > extensive comments to Alan. @Jerry: Just out of curiosity does Arjen'

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Arjen Markus
Hi Jerry, I read your reply to Alan and that indeed makes it more complicated to determine what is going wrong. I am trying to get some help from people who know more about the OS X environment than I do. Regards, Arjen On 2012-08-23 11:22, Jerry wrote: > On Aug 23, 2012, at 12:08 AM, Arjen Mar

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Jerry
On Aug 23, 2012, at 12:08 AM, Arjen Markus wrote: > Hi Jerry, > > On 2012-08-23 08:46, Alan W. Irwin wrote: > >> Hi Jerry: >> Do you have success with any other X application? The reason I ask is >> the above error message may simply mean that X is badly installed on >> your platform. Of cours

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Jerry
On Aug 22, 2012, at 11:46 PM, Alan W. Irwin wrote: > Hi Jerry: > > Do you have success with any other X application? The reason I ask is > the above error message may simply mean that X is badly installed on > your platform. Of course, if X were badly installed on Linux it would > be catastroph

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-23 Thread Arjen Markus
Hi Jerry, On 2012-08-23 08:46, Alan W. Irwin wrote: > > Hi Jerry: > > Do you have success with any other X application? The reason I ask is > the above error message may simply mean that X is badly installed on > your platform. Of course, if X were badly installed on Linux it would > be catast

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-22 Thread Alan W. Irwin
On 2012-08-22 21:31-0700 Jerry wrote: > > On Aug 22, 2012, at 9:45 AM, Alan W. Irwin wrote: > >>> Following the instructions in README.tkdemos: >> >> Hmm. Those instructions may be dated, make Linux-based assumptions, >> have unmentioned dependencies etc. You might also be using versions of >> Tc

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-22 Thread Andrew Ross
On Wed, Aug 22, 2012 at 09:31:48PM -0700, Jerry wrote: > > On Aug 22, 2012, at 9:45 AM, Alan W. Irwin wrote: > > >> Following the instructions in README.tkdemos: > > > > Hmm. Those instructions may be dated, make Linux-based assumptions, > > have unmentioned dependencies etc. You might also be

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-22 Thread Jerry
On Aug 22, 2012, at 9:45 AM, Alan W. Irwin wrote: >> Following the instructions in README.tkdemos: > > Hmm. Those instructions may be dated, make Linux-based assumptions, > have unmentioned dependencies etc. You might also be using versions of > Tcl or Tk that are not consistent with the ones u

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-22 Thread Alan W. Irwin
On 2012-08-21 22:56-0700 Jerry wrote: > > On Aug 21, 2012, at 4:45 AM, Andrew Ross wrote: > >> Jerry, >> >> We're getting there! I've now added X11_LIBRARIES to the tkwin driver link >> flags. >> >> Cheers >> >> Andrew > > 12221 builds Tk/Tcl without errors. Which gets to the place that I have >

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-21 Thread Jerry
On Aug 21, 2012, at 4:45 AM, Andrew Ross wrote: > Jerry, > > We're getting there! I've now added X11_LIBRARIES to the tkwin driver link > flags. > > Cheers > > Andrew 12221 builds Tk/Tcl without errors. Which gets to the place that I have always been with these demos--they don't run. Here

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-21 Thread Arjen Markus
Hi Jerry, there do not seem to be any specific X11 libraries in the link command. I am not familiar with OS X, so perhaps they are hidden in the framework, but the missing symbols are very basic X11 functions. Regards, Arjen > > With tcl and tk turned on, SVN 12219 fails thus: > > Linking C s

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-21 Thread Andrew Ross
On Tue, Aug 21, 2012 at 04:12:27AM -0700, Jerry wrote: > > On Aug 21, 2012, at 1:24 AM, Andrew Ross wrote: > > > On Mon, Aug 20, 2012 at 08:36:47PM -0700, Jerry wrote: > >> > >> On Aug 20, 2012, at 8:11 PM, Jerry wrote: > >> > >>> Now I wonder if we could start working towards rehabilitating Tc

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-21 Thread Jerry
On Aug 21, 2012, at 1:24 AM, Andrew Ross wrote: > On Mon, Aug 20, 2012 at 08:36:47PM -0700, Jerry wrote: >> >> On Aug 20, 2012, at 8:11 PM, Jerry wrote: >> >>> Now I wonder if we could start working towards rehabilitating Tcl/Tk on OS >>> X. I say "rehabilitate" because I had been building thi

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-21 Thread Andrew Ross
On Mon, Aug 20, 2012 at 08:36:47PM -0700, Jerry wrote: > > On Aug 20, 2012, at 8:11 PM, Jerry wrote: > > > Now I wonder if we could start working towards rehabilitating Tcl/Tk on OS > > X. I say "rehabilitate" because I had been building this without problems > > for years. > > > > With NON_TR

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-20 Thread Jerry
> > Also, the undefined symbols are the same if I use the "factory" or "MacPorts" > X11 libraries. > > Jerry > There were comments about this (Tcl/Tk X11) at the beginning of the thread, "Can't build on OS X Lion." Maybe I shouldn't have started a new thread. Jerry ---

Re: [Plplot-devel] Can't build Tcl/Tk on OS X

2012-08-20 Thread Jerry
On Aug 20, 2012, at 8:11 PM, Jerry wrote: > Now I wonder if we could start working towards rehabilitating Tcl/Tk on OS X. > I say "rehabilitate" because I had been building this without problems for > years. > > With NON_TRANSITIVE=ON or NON_TRANSITIVE=OFF, ENABLE_tcl=ON, and > ENABLE_tk=ON,