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:

  1. if test -n "org.gtk.Settings.FileChooser.gschema.xml org.gtk.Settings.ColorChooser.gschema.xml"; then \
  2.                 test -z "/opt/gimp-2.8/share/glib-2.0/schemas" || /bin/mkdir -p "/opt/gimp-2.8/share/glib-2.0/schemas"; \
  3.                 /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"; \
  4.                 test -n "" || glib-compile-schemas /opt/gimp-2.8/share/glib-2.0/schemas; \
  5.         fi
  6. /bin/bash: line 3: glib-compile-schemas: command not found
  7. make[4]: *** [install-gsettings-schemas] Error 127
  8. make[4]: Leaving directory `/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
  9. make[3]: *** [install-am] Error 2
  10. make[3]: Leaving directory `/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
  11. make[2]: *** [install-recursive] Error 1
  12. make[2]: Leaving directory `/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
  13. make[1]: *** [install] Error 2
  14. make[1]: Leaving directory `/home/rahl/gimp-compile/gtk+-3.4.3/gtk'
  15. 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:

  1. rahl@ubuntu:~/gimp-compile/gtk+-3.4.3$ export PKG_CONFIG_PATH=/opt/gimp-2.8/lib/pkgconfig
  2. rahl@ubuntu:~/gimp-compile/gtk+-3.4.3$ export PATH=/opt/gimp-2.8/bin:$PATH
  3. rahl@ubuntu:~/gimp-compile/gtk+-3.4.3$ export LD_LIBRARY_PATH=/opt/gimp-2.8/lib
  4. rahl@ubuntu:~/gimp-compile/gtk+-3.4.3$ CPPFLAGS="-I/opt/gimp-2.8/include"
  5. rahl@ubuntu:~/gimp-compile/gtk+-3.4.3$ LDFLAGS="-L/opt/gimp-2.8/lib"

./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


_______________________________________________
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list

Reply via email to