[GRASS-SVN] r35510 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 20 14:48:32 EST 2009


Author: neteler
Date: 2009-01-20 14:48:32 -0500 (Tue, 20 Jan 2009)
New Revision: 35510

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/README
Log:
better explain _gdi_.so stuff

Modified: grass/branches/releasebranch_6_4/gui/wxpython/README
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/README	2009-01-20 19:48:20 UTC (rev 35509)
+++ grass/branches/releasebranch_6_4/gui/wxpython/README	2009-01-20 19:48:32 UTC (rev 35510)
@@ -54,6 +54,7 @@
  On Debian GNU/Linux install package:
  apt-get install python-opengl
 
+
 2 - STARTUP WITH GRASS INITIALIZATION
 
 If you want to launch wxPython GUI automatically when you start
@@ -69,6 +70,7 @@
 
 $ grass64 -wxpython
 
+
 3 - STARTUP FROM GRASS TERMINAL
 
 Simply run
@@ -81,6 +83,7 @@
 
 $ g.gui gui=wxpython workspace=myworkspace.gxw
 
+
 4 - CLI Display scripts
 
 Note: This section is out-dated!
@@ -128,6 +131,7 @@
 displayed. You should be also able to store the display content as well as
 clear the display and start from scratch.
 
+
 5 - DEBUGGING
 
 To enable GUI debug messages on given level set GRASS_DEBUG_WX
@@ -135,6 +139,7 @@
 
 $ export GRASS_WX_DEBUG=3
 
+
 6 - ICON THEMES
 
 Currently two icon themes are available:
@@ -145,28 +150,40 @@
 User can change icon theme in Preferences dialog
 ('Config->Preferences').
 
+
 7 - VECTOR DIGITIZER
 
 To enable digitizer you need to compile 'vdigit'
 component. Note that you must configure GRASS with C++ (--with-cxx),
 Python (--with-python) and wxWidgets (--with-wxwidgets) support.
 
-NOTE: There is no need to do the following symlink or ldconfig on OSX.
+NOTE: There is no need to do the following symlink or ldconfig on MacOSX.
 
 First, create a symlink to _gdi_.so shared library
 
-$ sudo ln -s `locate _gdi_.so` /usr/local/lib/libgdi.so
+- find out architecture (32 or 64bit):
+   $ echo "$HOSTTYPE"
 
-e.g.
+- find the _gdi_.so file and check if compliant:
+   $ locate _gdi_.so
+   $ file /path/to/_gdi_.so
 
-$ sudo ln -s /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so /usr/local/lib/libgdi.so
+  It will report "ELF 32-bit..." or "ELF 64-bit..". If you have
+  multiple results with locate, link below the appropriate file.
 
+- link as library:
+   $ sudo ln -s /path/to/_gdi_.so /usr/local/lib/libgdi.so
+
+  e.g.
+   $ sudo ln -s /usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so /usr/local/lib/libgdi.so
+
 Then update LD_LIBRARY_PATH or add '/usr/local/lib' to /etc/ld.so.conf
 (in this case run 'sudo ldconfig').
 
-TODO: Don't use direct linking here.
+TODO grass-dev: Avoid direct linking here, implement a better solution.
 
 Then you can compile the driver
 
 $ cd gui/wxpython/vdigit
 $ make
+



More information about the grass-commit mailing list