[GRASS-dev] wxgui digitizer

hi,
I tried compile the grass63 on amd64 and I get following error, while
running digitizer:

Unable to initialize display driver, see README file for more information.

Details: 'NoneType' object has no attribute 'OpenMap'
(/usr/local/lib/libgdi.so: undefined symbol: Py_InitModule4)

I created /usr/local/libgdi like follows:
sudo ln -s /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so
/usr/local/lib/libgdi.so

where could the problem be?

thanks

j
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Hi Jachym,

you are on Ubuntu, right? I found

"Py_InitModule4 in 64bit systems was renamed to Py_InitModule4_64 to
allow addressing more than 4Gbytes. See
http://www.python.org/dev/peps/pep-0353/.

..."

in

https://launchpad.net/ubuntu/+source/clearsilver/+bug/86685

Maybe this report helps you.

Markus

On Wed, May 7, 2008 at 11:32 PM, Jachym Cepicky
<jachym.cepicky@gmail.com> wrote:

hi,
I tried compile the grass63 on amd64 and I get following error, while
running digitizer:

Unable to initialize display driver, see README file for more information.

Details: 'NoneType' object has no attribute 'OpenMap'
(/usr/local/lib/libgdi.so: undefined symbol: Py_InitModule4)

I created /usr/local/libgdi like follows:
sudo ln -s /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so
/usr/local/lib/libgdi.so

where could the problem be?

thanks

j
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

--
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/