Date: Sat, 1 Sep 2007 15:00:07 GMT From: "Scot Hetzel" <swhetzel@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64 Message-ID: <200709011500.l81F076b011065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/115980; it has been noted by GNATS. From: "Scot Hetzel" <swhetzel@gmail.com> To: "Marcelo Costa" <unixmafia@yahoo.com.br> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64 Date: Sat, 1 Sep 2007 09:56:42 -0500 On 8/31/07, Marcelo Costa <unixmafia@yahoo.com.br> wrote: > py_glom_record.cc:125: error: `Py_ssize_t' does not name a type What version of Python do you have installed? Python 2.4 doesn't define Py_ssize_t. Fix: Remove files/patch-glom-libglom-python_embed-py_glom_record.cc as it is only needed for Python 2.5. Python 2.5 has Py_ssize_t defined in include/python2.5/pyport.h. py_glom_record.cc:121: warning: deprecated conversion from string constant to 'char*' py_glom_record.cc:186: error: invalid conversion from 'int (*)(PyObject*)' to 'Py_ssize_t (*)(PyObject*)' gmake[5]: *** [py_glom_record.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/databases/glom/work/glom-1.0.4/glom/libglom/python_embed' Not sure how to fix this error with python 2.5. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709011500.l81F076b011065>