GEGL compile problems
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
GEGL compile problems | Matthew Ford | 31 Oct 02:45 |
GEGL compile problems | Owen | 31 Oct 06:18 |
GEGL compile problems | Matthew Ford | 31 Oct 14:35 |
GEGL compile problems | Jernej Simončič | 31 Oct 16:23 |
GEGL compile problems | Owen | 31 Oct 21:55 |
GEGL compile problems
Hello,
I'm trying to compile Gimp 2.6.11 from source on Linux. I've successfully installed babl-0.0.22, but gegl-0.0.18 is causing problems. "configure" runs OK, but when I try to try to run "make" in the gegl-0.0.18 directory I get the following. Any help much appreciated!
[ford@gluon gegl-0.0.18]$ make
make all-recursive
make[1]: Entering directory `/home/ford/Installers/gegl-0.0.18'
Making all in gegl
make[2]: Entering directory `/home/ford/Installers/gegl-0.0.18/gegl'
Making all in buffer
make[3]: Entering directory
`/home/ford/Installers/gegl-0.0.18/gegl/buffer'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../.. -I../.. -I../../gegl -I../../gegl/buffer -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/local/include/babl-0.0 -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -g -O2 -Wall -Wdeclaration-after-statement
-Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
-Wold-style-definition -mmmx -msse -MT gegl-buffer.lo -MD -MP -MF
".deps/gegl-buffer.Tpo" -c -o gegl-buffer.lo gegl-buffer.c; \
then mv -f ".deps/gegl-buffer.Tpo" ".deps/gegl-buffer.Plo"; else
rm -f ".deps/gegl-buffer.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gegl
-I../../gegl/buffer -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/local/include/babl-0.0
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -g -O2 -Wall
-Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations
-Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT
gegl-buffer.lo -MD -MP -MF .deps/gegl-buffer.Tpo -c gegl-buffer.c -fPIC
-DPIC -o .libs/gegl-buffer.o
In file included from gegl-buffer.c:68:
gegl-buffer-index.h:132: error: expected declaration specifiers or '...'
before 'goffset'
gegl-buffer-index.h:134: error: expected declaration specifiers or '...'
before 'goffset'
make[3]: *** [gegl-buffer.lo] Error 1
make[3]: Leaving directory `/home/ford/Installers/gegl-0.0.18/gegl/buffer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ford/Installers/gegl-0.0.18/gegl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ford/Installers/gegl-0.0.18'
make: *** [all] Error 2
GEGL compile problems
On Sun, 31 Oct 2010 02:45:15 +0000 (GMT) Matthew Ford wrote:
Hello,
I'm trying to compile Gimp 2.6.11 from source on Linux. I've successfully installed babl-0.0.22, but gegl-0.0.18 is causing problems. "configure" runs OK, but when I try to try to run "make" in the gegl-0.0.18 directory I get the following. Any help much appreciated!
[ford@gluon gegl-0.0.18]$ make make all-recursive
make[1]: Entering directory `/home/ford/Installers/gegl-0.0.18' Making all in gegl
make[2]: Entering directory `/home/ford/Installers/gegl-0.0.18/gegl' Making all in buffer
make[3]: Entering directory
`/home/ford/Installers/gegl-0.0.18/gegl/buffer' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gegl -I../../gegl/buffer -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/babl-0.0 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-buffer.lo -MD -MP -MF ".deps/gegl-buffer.Tpo" -c -o gegl-buffer.lo gegl-buffer.c; \ then mv -f ".deps/gegl-buffer.Tpo" ".deps/gegl-buffer.Plo"; else rm -f ".deps/gegl-buffer.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gegl -I../../gegl/buffer -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/babl-0.0 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-buffer.lo -MD -MP -MF .deps/gegl-buffer.Tpo -c gegl-buffer.c -fPIC -DPIC -o .libs/gegl-buffer.o In file included from gegl-buffer.c:68: gegl-buffer-index.h:132: error: expected declaration specifiers or '...' before 'goffset' gegl-buffer-index.h:134: error: expected declaration specifiers or '...' before 'goffset' make[3]: *** [gegl-buffer.lo] Error 1 make[3]: Leaving directory
`/home/ford/Installers/gegl-0.0.18/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ford/Installers/gegl-0.0.18/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ford/Installers/gegl-0.0.18' make: *** [all] Error 2
Hi,
You don't say so can you tell;
Do you already have a gimp installed on you linux computer? If so what version is it?
Where are you trying to build gimp, ie --PREFIX=?
If the prefix is /opt, then have you set the paths to /opt, ie
LD_LIBRARY_PATH=/opt
PKG_CONFIG_PATH=/opt
PATH=/opt:$PATH
Perhaps tell us what your distro is?
Owen
GEGL compile problems
On Sun, 31 Oct 2010, Owen wrote:
Hi,
You don't say so can you tell;
Do you already have a gimp installed on you linux computer? If so what version is it?
Where are you trying to build gimp, ie --PREFIX=?
If the prefix is /opt, then have you set the paths to /opt, ie LD_LIBRARY_PATH=/opt
PKG_CONFIG_PATH=/opt
PATH=/opt:$PATHPerhaps tell us what your distro is?
I have gimp 2.2.13 installed on my system, in /usr/bin/gimp. My distribution is Scientific Linux 5.5, i.e. a version of Redhat Enterprise 5.
I'm trying to build gimp in /usr/local. I successfully installed the babl libraries in /usr/local/lib/babl-0.0. The next step, before compiling gimp itself, is to install gegl. The configure script for gegl runs successfully (after I inserted the correct path in PKG_CONFIG_PATH), but the compilation fails with the errors in my original posting.
Matthew.
GEGL compile problems
On Sun, 31 Oct 2010 17:18:26 +1100, Owen wrote:
If the prefix is /opt, then have you set the paths to /opt, ie LD_LIBRARY_PATH=/opt
PKG_CONFIG_PATH=/opt
PATH=/opt:$PATH
Shouldn't these be
LD_LIBRARY_PATH=/opt/lib
PKG_CONFIG_PATH=/opt/lib/pkgconfig
PATH=/opt/bin:$PATH
GEGL compile problems
On Sun, 31 Oct 2010 17:23:05 +0100 Jernej Simončič wrote:
On Sun, 31 Oct 2010 17:18:26 +1100, Owen wrote:
If the prefix is /opt, then have you set the paths to /opt, ie LD_LIBRARY_PATH=/opt
PKG_CONFIG_PATH=/opt
PATH=/opt:$PATHShouldn't these be
LD_LIBRARY_PATH=/opt/lib PKG_CONFIG_PATH=/opt/lib/pkgconfig
PATH=/opt/bin:$PATH
You are correct and my apologies for incorrect information.
I have commands in .bashrc that I invoke when I want to build a particular gimp, eg;
gimpgtk(){ export PATH=/gimpgtk18/bin:$PATH && export PKG_CONFIG_PATH=/gimpgtk18/lib/pkgconfig && export LD_LIBRARY_PATH=/gimpgtk18/lib/ echo "PATH is now" echo "$PATH" echo "PKG_CONFIG_PATH is $PKG_CONFIG_PATH " echo "LD_LIBRARY_PATH is $LD_LIBRARY_PATH " }
Non thinking cut and pasting
Owen