amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64
Scot Hetzel
swhetzel at gmail.com
Mon Sep 3 20:00:12 UTC 2007
The following reply was made to PR ports/115980; it has been noted by GNATS.
From: "Scot Hetzel" <swhetzel at gmail.com>
To: "Marcelo Soares da Costa" <unixmafia at yahoo.com.br>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: amd64/115980: glom do not compile in Freebsd 6.2 stable AMD 64
Date: Mon, 3 Sep 2007 14:59:42 -0500
On 9/3/07, Marcelo Soares da Costa <unixmafia at yahoo.com.br> wrote:
> Em S=E1b, 2007-09-01 =E0s 09:56 -0500, Scot Hetzel escreveu:
> > On 8/31/07, Marcelo Costa <unixmafia at 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.
> >
> cd /usr/ports/lang/python25/
> make deinstall
> make instal clean
> rehash
> cd /usr/ports/databases/glom/
> make clean
> make install clean
> =3D=3D=3D> Cleaning for glom-1.0.4_1
> mscbsd# make install clean
> =3D=3D=3D> Extracting for glom-1.0.4_1
> =3D> MD5 Checksum OK for glom-1.0.4.tar.bz2.
> =3D> SHA256 Checksum OK for glom-1.0.4.tar.bz2.
> =3D=3D=3D> Patching for glom-1.0.4_1
> =3D=3D=3D> Applying FreeBSD patches for glom-1.0.4_1
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/iso-codes.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on file: /usr/local/bin/python2.4 - fou=
nd
> =3D=3D=3D> glom-1.0.4_1 depends on executable: gmake - found
> =3D=3D=3D> glom-1.0.4_1 depends on file: /usr/local/bin/intltool-extrac=
t -
> found
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on executable: pkg-config - found
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/gnome-doc-utils.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/gnome-python-2.0.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/gnome-python-extras-2.0.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on
> file: /usr/local/libdata/pkgconfig/pygtk-2.0.pc - found
> =3D=3D=3D> glom-1.0.4_1 depends on file: /usr/local/libdata/xorg/librar=
ies -
> found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: bakery-2.4 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gdamm-1.3 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gnomecanvasmm-2.6 - =
found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: intl - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: esd.2 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: atk-1.0.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gailutil.18 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gconf-2.4 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: glib-2.0.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gnomevfs-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gtk-x11-2.0.0 - foun=
d
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: art_lgpl_2.5 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: bonobo-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: bonoboui-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: glade-2.0.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gnome-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gnomecanvas-2.0 - fo=
und
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gnomeui-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: gtkhtml-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: IDL-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: xml2.5 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: xslt.2 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: linc.1 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: ORBit-2.0 - found
> =3D=3D=3D> glom-1.0.4_1 depends on shared library: pango-1.0.0 - found
>
>
> c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ -D_THREAD_SAFE
> -DORBIT2=3D1 -D_REENTRANT -I/usr/local/include/bakery-2.4
> -I/usr/local/lib/bakery-2.4/include -I/usr/local/include/gtkmm-2.4
> -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/gconfmm-2.6
> -I/usr/local/lib/gconfmm-2.6/include -I/usr/local/include/libglademm-2.4
> -I/usr/local/lib/libglademm-2.4/include -I/usr/local/include/libxml
> ++-2.6 -I/usr/local/include/libxml++-2.6/include
> -I/usr/local/include/gnome-vfsmm-2.6
> -I/usr/local/lib/gnome-vfsmm-2.6/include -I/usr/local/include/glibmm-2.4
> -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/gdkmm-2.4
> -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/pangomm-1.4
> -I/usr/local/include/atkmm-1.6 -I/usr/local/include/gtk-2.0
> -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairomm-1.0
> -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo
> -I/usr/local/include -I/usr/local/include/freetype2
> -I/usr/local/include/atk-1.0 -I/usr/local/include/gconf/2
> -I/usr/local/include/orbit-2.0 -I/usr/local/include/libglade-2.0
> -I/usr/local/include/libxml2 -I/usr/local/include/gnome-vfs-2.0
> -I/usr/local/lib/gnome-vfs-2.0/include
> -I/usr/local/include/libgnomecanvasmm-2.6
> -I/usr/local/lib/libgnomecanvasmm-2.6/include
> -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libart-2.0
> -I/usr/local/include/pygda-1.2 -I/usr/local/include/pygtk-2.0
> -I/usr/local/include/libgda-1.2 -I/usr/local/include/libgnome-2.0
> -I/usr/local/include/libbonobo-2.0
> -I/usr/local/include/bonobo-activation-2.0
> -I/usr/local/include/libgdamm-2.0 -I/usr/local/lib/libgdamm-2.0/include
> -I/usr/local/include/python2.4 -I/usr/local/include -O2
> -fno-strict-aliasing -pipe -Wall -Wno-long-long -MT py_glom_record.lo
> -MD -MP -MF .deps/py_glom_record.Tpo -c py_glom_record.cc -fPIC -DPIC
> -o .libs/py_glom_record.o
> py_glom_record.cc:125: error: `Py_ssize_t' does not name a type
> py_glom_record.cc:183: error: `Record_tp_as_mapping_length' was not
> declared in this scope
> gmake[5]: ** [py_glom_record.lo] Erro 1
> gmake[5]: Saindo do diret=F3rio
> `/usr/ports/databases/glom/work/glom-1.0.4/glom/libglom/python_embed'
> gmake[4]: ** [all-recursive] Erro 1
> gmake[4]: Saindo do diret=F3rio
> `/usr/ports/databases/glom/work/glom-1.0.4/glom/libglom/python_embed'
> gmake[3]: ** [all-recursive] Erro 1
> gmake[3]: Saindo do diret=F3rio
> `/usr/ports/databases/glom/work/glom-1.0.4/glom/libglom'
> gmake[2]: ** [all-recursive] Erro 1
> gmake[2]: Saindo do diret=F3rio
> `/usr/ports/databases/glom/work/glom-1.0.4/glom'
> gmake[1]: ** [all-recursive] Erro 1
> gmake[1]: Saindo do diret=F3rio
> `/usr/ports/databases/glom/work/glom-1.0.4'
> gmake: ** [all] Erro 2
> *** Error code 2
>
> Stop in /usr/ports/databases/glom.
>
>
> this is correct ???
>
> =3D=3D=3D> glom-1.0.4_1 depends on file: /usr/local/bin/python2.4 - fou=
nd
>
> mscbsd# cd files/
> mscbsd# ll
> total 2
> -rw-r--r-- 1 root wheel 710 30 Jul 06:41
> patch-glom-libglom-python_embed-py_glom_record.cc
> mscbsd# rm patch-glom-libglom-python_embed-py_glom_record.cc
>
>
> same error in compile
>
> tks a lote for help
>
Did you do a 'make clean' and then a 'make install' after removing the
above file?
As that patch file changes int to Py_ssize_t in py_glom_record.cc.
Scot
More information about the freebsd-ports-bugs
mailing list