On Sep 29, 2008, at 4:18 PM, Elvis Dowson wrote:
Hi,
I built grass-6.4.0 using the following configure command:
./configure --with-cxx --prefix=/Applications/GRASS --enable-macosx-app --with-x --with-opengl=x11 --without-readline --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl-includes=/usr/X11/include --with-opengl-libs=/usr/X11/lib
Does this have something to do with me not starting the X11 display server? How do I do this on Mac OS X?
It's automatic on OSX 10.5. In fact, if you set DISPLAY in your shell startup, this may interfere with the automatic DISPLAY setting.
Is there a way to get grass to compile with Carbon bindings?
Nope. Unless you use the Python GUI. Or use an Aqua TclTk. But you still need X11 for a "display", ie from d.mon (I believe the display mechanism has been removed from GRASS 7).
If I click on the details button, I get the following error information:
can't read "parts(projection)": no such variable
while executing
"regexp -nocase {^([0-9]+)} $parts(projection) trash parts(projection)"
(procedure "MapCanvas::runprograms" line 46)
invoked from within
"MapCanvas::runprograms $mon [expr {$mymodified != 0}]"
(procedure "MapCanvas::drawmap" line 38)
invoked from within
"MapCanvas::drawmap $mon"
(procedure "MapCanvas::display_server" line 9)
invoked from within
"MapCanvas::display_server"
("after" script)
What could be causing it? I just built grass-6.4.0 on Mac OS X 10.5.5.
I think this has appeared before, but I don't know the solution, if any. The GUI experts could tell you.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....
- the wisdom of Tarzan
On Sep 29, 2008, at 5:44 PM, Elvis Dowson wrote:
Hi William,
I just downloaded the latest version of grass-6.4.x from cvs and tried compiling it, first with X11 and the tcltk options, and the second time without tcltk. The funny thing is even though I disable tcltk from the configure command the second time, the tcltk application still kept showing.
Here is the first configure command
./configure --with-cxx --prefix=/Applications/GRASS --enable-macosx-app --with-x --with-opengl=x11 --without-readline --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl-includes=/usr/X11/include --with-opengl-libs=/usr/X11/lib
Here is the second configure command without tcltk
./configure --with-cxx --prefix=/Applications/GRASS --enable-macosx-app --with-x --with-opengl=x11 --without-readline --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl-includes=/usr/X11/include --with-opengl-libs=/usr/X11/lib --without-tcltk
What could be causing it?
The --with-tcltk option really has nothing to do with the TclTk GUI, it's just for NVIZ. The GRASS TclTk GUI will use by default whichever "wish" it finds at runtime in your PATH. The GUI that is used is controlled by GRASS_GUI. See the GRASS documentation.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
Hi William,
I just downloaded the latest version of grass-6.4.x from cvs and tried compiling it, first with X11 and the tcltk options, and the second time without tcltk. The funny thing is even though I disable tcltk from the configure command the second time, the tcltk application still kept showing.
Here is the first configure command
./configure --with-cxx --prefix=/Applications/GRASS --enable-macosx-app --with-x --with-opengl=x11 --without-readline --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl-includes=/usr/X11/include --with-opengl-libs=/usr/X11/lib
Here is the second configure command without tcltk
./configure --with-cxx --prefix=/Applications/GRASS --enable-macosx-app --with-x --with-opengl=x11 --without-readline --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-opengl-includes=/usr/X11/include --with-opengl-libs=/usr/X11/lib --without-tcltk
What could be causing it?
Best regards,
Elvis Dowson
On Sep 30, 2008, at 1:55 AM, William Kyngesburye wrote:
I think this has appeared before, but I don’t know the solution, if any. The GUI experts could tell you.