[GRASS5] installing GRASS without fink

On Saturday, December 13, 2003, at 12:01 PM, grass5-request@grass.itc.it wrote:

I don't like using fink unless I **have** to. Otherwise, I end up with multiple versions of applications and libraries, and conflicts between versions. For example, if I already have python2.3 on my system, I don't need fink installing another one. I have installed GRASS from cvs on my powerbook without any use of fink, so it is not necessary.

Chris,

How did you install tcltk? Did you install it from source or do you have a place to find binaries? This is the only reason I **need** fink for installing GRASS, though there are some other things it is quite handy for.

Thanks.
Michael Barton
____________________
C. Michael Barton, Professor
Department of Anthropology
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671

On Dec 13, 2003, at 11:28 AM, Michael Barton wrote:

On Saturday, December 13, 2003, at 12:01 PM, grass5-request@grass.itc.it wrote:

I don't like using fink unless I **have** to. Otherwise, I end up with multiple versions of applications and libraries, and conflicts between versions. For example, if I already have python2.3 on my system, I don't need fink installing another one. I have installed GRASS from cvs on my powerbook without any use of fink, so it is not necessary.

Chris,

How did you install tcltk? Did you install it from source or do you have a place to find binaries? This is the only reason I **need** fink for installing GRASS, though there are some other things it is quite handy for.

Hi Michael,

There are pretty good binaries here:

http://www.maths.mq.edu.au/~steffen/tcltk/TclTkAqua/

I originally installed them for use with python, but they work just fine with GRASS (both 5.0 and 5.7). I recommend the "batteries included" (BI) packages.

C.

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

So, how are you getting Tcl/Tk Aqua to work with GRASS? According to the GRASS developers, my experience, and the experiences of others, GRASS NEEDS an X-Windows build of Tcl/Tk. Unless you use OpenOSX's GRASS (which is at 5.0.2 right now).

Tcl/Tk for X11 is no big trouble to build.

If there are patches you're applying to GRASS to use Tcl/Tk Aqua, I'm sure there are many who would like to know, and maybe they can be incorporated in the GRASS source.

On Dec 13, 2003, at 10:43 AM, Christopher Fonnesbeck wrote:

On Dec 13, 2003, at 11:28 AM, Michael Barton wrote:

On Saturday, December 13, 2003, at 12:01 PM, grass5-request@grass.itc.it wrote:

I don't like using fink unless I **have** to. Otherwise, I end up with multiple versions of applications and libraries, and conflicts between versions. For example, if I already have python2.3 on my system, I don't need fink installing another one. I have installed GRASS from cvs on my powerbook without any use of fink, so it is not necessary.

Chris,

How did you install tcltk? Did you install it from source or do you have a place to find binaries? This is the only reason I **need** fink for installing GRASS, though there are some other things it is quite handy for.

Hi Michael,

There are pretty good binaries here:

http://www.maths.mq.edu.au/~steffen/tcltk/TclTkAqua/

I originally installed them for use with python, but they work just fine with GRASS (both 5.0 and 5.7). I recommend the "batteries included" (BI) packages.

C.

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

-----
William Kyngesburye <kyngchaos@charter.net>
http://webpages.charter.net/kyngchaos/

"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."

- Marvin

William K wrote:

So, how are you getting Tcl/Tk Aqua to work with GRASS? According to
the GRASS developers, my experience, and the experiences of others,
GRASS NEEDS an X-Windows build of Tcl/Tk. Unless you use OpenOSX's
GRASS (which is at 5.0.2 right now).

Just to clarify this:

The stock tcltkgrass (in both 5.0.x and 5.3) requires X11 Tcl/Tk,
although the dependency is essentially gratuitous; it wouldn't be a
great deal of work to fix this. OpenOSX produced some patches to allow
it to work with Aqua Tcl/Tk. Those patches are available from the
GRASS web site (in the MacOSX binaries directory), but haven't been
integrated.

NVIZ absolutely requires X11 Tcl/Tk and X11 OpenGL, and changing this
would be far from trivial.

Tcl/Tk for X11 is no big trouble to build.

If there are patches you're applying to GRASS to use Tcl/Tk Aqua, I'm
sure there are many who would like to know,

See:
  http://grass.itc.it/grass5/binary/mac_os_x/

Specifically:

  http://grass.itc.it/grass5/binary/mac_os_x/OpenOSX-Additions-Grass-5.0.2.tar.bz2

and maybe they can be incorporated in the GRASS source.

That would be nice, but no-one has done it yet. Realistically, this
would need to be done by someone who has direct access to a Mac (i.e.
not just remote login), preferably someone with some knowledge of
Tcl/Tk. And it needs to be done so as not to break tcltkgrass on other
platforms.

AFAICT, the main portability problems are:

1. The assumption that the HTML browser is Netscape.

2. Use of X11 "xwininfo" program instead of Tcl "winfo geometry" or
"wm geometry" commands (for tcltkgrass windows) or "d.frame" (for
monitors).

3. Use of Unix "ls" program instead of Tcl "glob" command.

4. The "console1" issue (this looks like a bug in the Aqua Tcl/Tk to
me, and the "fix" isn't really a fix).

The other changes in the OpenOSX patches appear to be "improvements"
rather than actual bug fixes. OTOH, one thing which could be
considered a portability bug but isn't fixed by the OpenOSX patches is
the hard-coded use of "xterm"; it should be possible to use other
terminal programs.

--
Glynn Clements <glynn.clements@virgin.net>