Hi,
I'm trying to compile GIMP 2.8 and all of its friends in
/opt/gimp-2.8/ on Ubuntu 10.04. I'm having difficulty with the
"sudo make install" step of compiling gtk+ version 3.4.3 (a GIMP
dependency). The "./configure" and "make" steps (of GTK) seem to
run OK, but "sudo make install" ends with the following:
-
if test -n
"org.gtk.Settings.FileChooser.gschema.xml
org.gtk.Settings.ColorChooser.gschema.xml"; then \
-
test -z
"/opt/gimp-2.8/share/glib-2.0/schemas" || /bin/mkdir -p
"/opt/gimp-2.8/share/glib-2.0/schemas"; \
-
/usr/bin/install -c -m 644
org.gtk.Settings.FileChooser.gschema.xml
org.gtk.Settings.ColorChooser.gschema.xml
"/opt/gimp-2.8/share/glib-2.0/schemas"; \
-
test -n "" ||
glib-compile-schemas /opt/gimp-2.8/share/glib-2.0/schemas;
\
-
fi
-
/bin/bash: line 3: glib-compile-schemas:
command not found
-
make[4]: *** [install-gsettings-schemas]
Error 127
-
make[4]: Leaving directory
`/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
-
make[3]: *** [install-am] Error 2
-
make[3]: Leaving directory
`/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
-
make[2]: *** [install-recursive] Error 1
-
make[2]: Leaving directory
`/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
-
make[1]: *** [install] Error 2
-
make[1]: Leaving directory
`/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
-
make: *** [install-recursive] Error 1
It says "glib-compile-schemas: command not found". Is that
the issue that's creating all the rest of the errors?
I compiled glib-2.32.1 from source and placed it in
/opt/gimp-2.8/. It must have found glib there because it
didn't complain about the version at configure or compile
time, but maybe its trying to use the system's glib at install
time for some reason?
My configure options for GTK+ were:
-
-
-
-
-
-
./configure --prefix=/opt/gimp-2.8
LDFLAGS="-L/opt/gimp-2.8/lib"
CPPFLAGS="-I/opt/gimp-2.8/include"
Any suggestions on what to try?
Thanks,
Nick