[GRASSLIST:1618] Problem with gdal on MacX

I'm trying to install Grass 5.3 on MacX and I need to install before gdal.
I've downloaded the last gdal source code from cvs.
The ./configure is working, but if I do sudo make install I have the following error:

bin/sh ../libtool --mode=link g++ gdal_wrap.lo numpydataset.lo gdalnumeric.lo ../libgdal.la -lz -lm -L../.libs -o _gdalmodule.la \
         -rpath /usr/lib/python2.2/site-packages \
         -no-undefined \
         -avoid-version \
         -module
g++ -Wl,-bind_at_load -o .libs/_gdalmodule.so -bundle .libs/gdal_wrap.o .libs/numpydataset.o .libs/gdalnumeric.o ../.libs/libgdal.dylib -lz -lm -L/sources/gdal/.libs
ld: Undefined symbols:
_PyArg_Parse
_PyArg_ParseTuple
_PyDict_New
_PyDict_Next
_PyDict_SetItem
_PyDict_Type
_PyErr_Clear
_PyErr_SetString
_PyEval_CallObjectWithKeywords
_PyExc_MemoryError
_PyExc_NameError
_PyExc_TypeError
_PyExc_ValueError
_PyFloat_AsDouble
_PyFloat_FromDouble
_PyInt_AsLong
_PyInt_FromLong
_PyInt_Type
_PyList_New
_PyList_SetItem
_PyList_Size
_PyList_Type
_PyModule_GetDict
_PyString_AsString
_PyString_FromString
_PyString_FromStringAndSize
_PyString_Type
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
make[1]: *** [_gdalmodule.la] Error 1
make: *** [py-module] Error 2

Somebody can help me to solve this problem?

Giacomo wrote:

_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
make[1]: *** [_gdalmodule.la] Error 1
make: *** [py-module] Error 2

Somebody can help me to solve this problem?

Hi,

The quick fix is to re-configure GDAL with the "--without-python" flag to
disable support for python.

Best regards,

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent