pygegl make fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to build the python bindings without much success. babl and
gegl are successfully installed from svn, but I get the error below when
making pygegl. I'm running Ubuntu 8.10 w/ python 2.5 on a dell latitude
d620. Any suggestions?

Thanks,
Scott


nlinfit:~/scripts> svn co http://svn.gnome.org/svn/gegl/trunk/bindings/pygegl pygegl
A    pygegl/configure.ac
A    pygegl/COPYING.LESSER
A    pygegl/samples
A    pygegl/samples/op-reference.py
A    pygegl/samples/subgraph.py
A    pygegl/samples/render-test.py
A    pygegl/samples/.gitignore
A    pygegl/samples/xml-parsing.py
A    pygegl/samples/Makefile.am
A    pygegl/.gitignore
A    pygegl/AUTHORS
A    pygegl/acinclude.m4
A    pygegl/ChangeLog
A    pygegl/COPYING
A    pygegl/Makefile.am
A    pygegl/autogen.sh
A    pygegl/NEWS
A    pygegl/README
A    pygegl/Gegl
A    pygegl/Gegl/fifthleg.py
A    pygegl/Gegl/geglrectangle.override
A    pygegl/Gegl/.gitignore
A    pygegl/Gegl/geglmodule.c
A    pygegl/Gegl/__init__.py
A    pygegl/Gegl/Makefile.am
A    pygegl/Gegl/gegl.override
A    pygegl/Gegl/gegl.defs
 U   pygegl
Checked out revision 2920.
nlinfit:~/scripts> cd ./pygegl/
nlinfit:~/scripts/pygegl> ./autogen.sh 

I am testing that you have the tools required to build the
pygegl project from SVN. This test is not foolproof,
so if anything goes wrong, see the file HACKING for more information...

checking for libtool >= 1.4 ... Major version might be too new (2.2.4)
checking for autoconf >= 2.54 ... yes (version 2.61)
checking for automake >= 1.8.3 ... yes (version 1.10.1)

I am going to run ./configure with the following arguments:

  --enable-maintainer-mode  

If you wish to pass additional arguments, please specify them 
on the ./autogen.sh command line or set the AUTOGEN_CONFIGURE_ARGS 
environment variable.

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:74: installing `./config.guess'
configure.ac:74: installing `./config.sub'
configure.ac:31: installing `./install-sh'
configure.ac:31: installing `./missing'
Gegl/Makefile.am: installing `./depcomp'
Gegl/Makefile.am:6: installing `./py-compile'
Makefile.am: installing `./INSTALL'

Running ./configure...

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for target architecture... i686-pc-linux-gnu
checking for native Win32... no
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for a Python interpreter with version >= 2.4.0... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... yes
checking for pygtk-codegen-2.0... /usr/bin/pygtk-codegen-2.0
checking whether gcc understands -fno-strict-aliasing... yes
checking for GEGL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Gegl/Makefile
config.status: creating samples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Now type 'make' to compile the pygegl project.
nlinfit:~/scripts/pygegl> make
make  all-recursive
make[1]: Entering directory `/home/scott/scripts/pygegl'
Making all in Gegl
make[2]: Entering directory `/home/scott/scripts/pygegl/Gegl'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gegl-0.0 -I/usr/local/include/babl-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -fno-strict-aliasing -g -O2 -MT geglmodule.lo -MD -MP -MF .deps/geglmodule.Tpo -c -o geglmodule.lo geglmodule.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gegl-0.0 -I/usr/local/include/babl-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -g -O2 -MT geglmodule.lo -MD -MP -MF .deps/geglmodule.Tpo -c geglmodule.c  -fPIC -DPIC -o .libs/geglmodule.o
mv -f .deps/geglmodule.Tpo .deps/geglmodule.Plo
(cd . \
	 && /usr/bin/pygtk-codegen-2.0 \
	    --py_ssize_t-clean \
	    --override gegl.override \
	    --prefix pygegl gegl.defs) > gen-gegl.c \
	&& cp gen-gegl.c gegl.c \
	&& rm -f gen-gegl.c
note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
note: I will now try to invoke pygobject-codegen-2.0 in the same directory
***INFO*** The coverage of global functions is 100.00% (4/4)
***INFO*** The coverage of methods is 100.00% (34/34)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/gegl-0.0 -I/usr/local/include/babl-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -fno-strict-aliasing -g -O2 -MT gegl.lo -MD -MP -MF .deps/gegl.Tpo -c -o gegl.lo gegl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gegl-0.0 -I/usr/local/include/babl-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -g -O2 -MT gegl.lo -MD -MP -MF .deps/gegl.Tpo -c gegl.c  -fPIC -DPIC -o .libs/gegl.o
gegl.override: In function ‘_wrap_gegl_color_get_rgba’:
gegl.override:132: warning: passing argument 2 of ‘gegl_color_get_rgba’ from incompatible pointer type
gegl.override:132: warning: passing argument 3 of ‘gegl_color_get_rgba’ from incompatible pointer type
gegl.override:132: warning: passing argument 4 of ‘gegl_color_get_rgba’ from incompatible pointer type
gegl.override:132: warning: passing argument 5 of ‘gegl_color_get_rgba’ from incompatible pointer type
gegl.override: In function ‘_wrap_gegl_node_render’:
gegl.override:495: error: dereferencing pointer to incomplete type
make[2]: *** [gegl.lo] Error 1
make[2]: Leaving directory `/home/scott/scripts/pygegl/Gegl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scott/scripts/pygegl'
make: *** [all] Error 2


_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux