Re: Gimp 1.1.25 not working with gtk+-1.2.8 on SPARC
Marc Lehmann wrote: > PDL tries to support all of OpenGL, without much autodetection, causing > problems like these very often, unfortunately. you can also build PDL > without opengl support, of course. Thanks, but the PDL problem seems to have been solved by the patch I was given. > > > Gimp object version 1.18 does not match bootstrap parameter 1.2 at > > /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 20. > > Some terrible installation problem must have happened. The shared object > installed for gimp-perl is version 1.18 (about 12 months old), while the > Gimp.pm file uses version 1.2. I did wonder if this was the problem, but soon dismissed it as I don't seem to have the sources for version 1.18 on my disk. I tend to keep old source files around, as I've a reasonable amount of disk space (40 Gb) for a home computer, with quite a bit spare. Perhaps I did at one time have version 1.18. but I only seem to have sources for versions 1.0.4, 1.1.14, 1.1.19, 1.1.25 and now 1.1.26. Anyway, I'll try to find the old file that seems to be causing the problem. -- Dr. David Kirkby Ph.D, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7209 6406 Fax: 020 7209 6269 email: [EMAIL PROTECTED] web page: http://www.medphys.ucl.ac.uk/~davek Amateur radio callsign: G8WRB
Re: Gimp 1.1.25 not working with gtk+-1.2.8 on SPARC
On Fri, Sep 29, 2000 at 11:13:53PM +0100, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote: > Another problem I came across, was that PDL would not compile properly, complaining >about > something in my OpenGL (version 1.2). One of the developers of PDL suggested a patch, > which involved a small change to opengl.pd. This solved the problem problem with >PDL. PDL tries to support all of OpenGL, without much autodetection, causing problems like these very often, unfortunately. you can also build PDL without opengl support, of course. > Gimp object version 1.18 does not match bootstrap parameter 1.2 at > /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 20. Some terrible installation problem must have happened. The shared object installed for gimp-perl is version 1.18 (about 12 months old), while the Gimp.pm file uses version 1.2. -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: Gimp 1.1.25 not working with gtk+-1.2.8 on SPARC
Hi, Thanks for the response. I worked around this by installing gtk-1.2.6, then configuring gimp 1.1.25 with the option --disable-gtktest. Gimp then compiled and executed, although I seem to get a lot of errors during startup (see below). I'm 99% sure I tried to build gimp-1.1.25 with a gtk+-1.2.8 compiled from sources, although it is just possible I only used the binary installation that I have on disk. I've installed and removed gtk versions 1.2.6 and 1.2.8 on several times trying to get Gimp to work. I'll do as you suggest and build from sources. Another problem I came across, was that PDL would not compile properly, complaining about something in my OpenGL (version 1.2). One of the developers of PDL suggested a patch, which involved a small change to opengl.pd. This solved the problem problem with PDL. parrot /export/home/davek % gimp Gdk-WARNING **: shmat failed! gimp: shmat() failed: Disabling shared memory tile transport. Gimp object version 1.18 does not match bootstrap parameter 1.2 at /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 20. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 22. Compilation failed in require at /usr/local/beta/gimp-1.1.25/lib/gimp/1.1/plug-ins/PDB line 12. BEGIN failed--compilation aborted at /usr/local/beta/gimp-1.1.25/lib/gimp/1.1/plug-ins/PDB line 12. LibGimp-WARNING **: gimp: wire_read: unexpected EOF Gimp object version 1.18 does not match bootstrap parameter 1.2 at /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 20. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Gimp.pm line 22. Compilation failed in require at /usr/local/beta/gimp-1.1.25/lib/gimp/1.1/plug-ins/Perl-Server line 22. BEGIN failed--compilation aborted at /usr/local/beta/gimp-1.1.25/lib/gimp/1.1/plug-ins/Perl-Server line 22. Raphael Quinet wrote: > > On Sun, 24 Sep 2000, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote: > >I've built, gimp-1.1.25 on my Sun SPARCstation 20, using the following > > pieces of software and hardware. > [...] > > Gimp then builds okay, but crashes on startup. Debugging under gdb-4.18, > > shows it seems to be looking for a source file gtkbindings.c which I see > > is included in the source for gtk-1.2.6. My installation has a binary > > distribution of gtk-1.2.8. > > I compiled gimp 1.1.25 under Solaris 2.6 on a Ultra1 without any > problems (except for the Perl Makefile, but you solved that already). > It works fine for me, and I get no crashes or errors on startup. > > Note that I downloaded and compiled glib-1.2.8 and gtk-1.2.8 from the > sources. I have never used the pre-compiled versions from the > Sunfreeware site, so maybe you should consider compiling them yourself > and see if it makes a difference. > > If you are interested, here are my installation instructions for > Solaris 2.6. I install everything under /Local. Feel free to choose > another prefix that suits your environment. Also, the "make dvi" > steps are optional and require that you have teTeX or another TeX > package. The lines that start with [su] mean that you should execute > these commands as root or as the user that owns the installation > directories (important if you are doing that over NFS). > > * glib-1.2.8 > (sources: ftp://ftp.gtk.org/pub/gtk/) > > ./configure --prefix=/Local --with-threads=solaris > make > make check > [su] make install > make dvi > [su] cp docs/*.dvi /Local/doc-dvi/ > > * gtk+-1.2.8 > (sources: ftp://ftp.gtk.org/pub/gtk/) > > ./configure --prefix=/Local > make > [su] make install > make dvi > [su] cp docs/*.dvi /Local/doc-dvi/ > > * PDL-2.003 > (sources: http://www.cpan.org/authors/id/KGB/) > > perl Makefile.PL > make test > [su] make install > > (note: many of the tests failed under Solaris, but it seems to work anyway) > > * Parse-RecDescent-1.70 > (sources: http://www.cpan.org/authors/id/DCONWAY/) > > perl Makefile.PL > make test > [su] make install > > * Gtk-Perl-0.6123 > (sources: http://www.cpan.org/authors/id/KJALB/) > > perl Makefile.PL > make test > [su] make install > > * gimp-1.1.25 > (sources: ftp://ftp.gimp.org/pub/gimp/) > > ./configure --prefix=/Local > make > make > [su] make install > cd docs > make dvi > [su] cp *.dvi /Local/doc-dvi/ > cd .. > > (note: it is necessary to type "make" twice before "make install" because > libgimpi.a is only built correctly on the second pass - see bug #24077) > > Hope this helps... > > -Raphael -- Dr. David Kirkby Ph.D, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7209 6406 Fax: 020 7209 6269 email: [EMAIL PROTECTED] web page: http://www.medphys.ucl.ac.uk/~davek Amateur radio callsign: G8WRB
Re: Gimp 1.1.25 not working with gtk+-1.2.8 on SPARC
On Sun, 24 Sep 2000, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote: >I've built, gimp-1.1.25 on my Sun SPARCstation 20, using the following > pieces of software and hardware. [...] > Gimp then builds okay, but crashes on startup. Debugging under gdb-4.18, > shows it seems to be looking for a source file gtkbindings.c which I see > is included in the source for gtk-1.2.6. My installation has a binary > distribution of gtk-1.2.8. I compiled gimp 1.1.25 under Solaris 2.6 on a Ultra1 without any problems (except for the Perl Makefile, but you solved that already). It works fine for me, and I get no crashes or errors on startup. Note that I downloaded and compiled glib-1.2.8 and gtk-1.2.8 from the sources. I have never used the pre-compiled versions from the Sunfreeware site, so maybe you should consider compiling them yourself and see if it makes a difference. If you are interested, here are my installation instructions for Solaris 2.6. I install everything under /Local. Feel free to choose another prefix that suits your environment. Also, the "make dvi" steps are optional and require that you have teTeX or another TeX package. The lines that start with [su] mean that you should execute these commands as root or as the user that owns the installation directories (important if you are doing that over NFS). * glib-1.2.8 (sources: ftp://ftp.gtk.org/pub/gtk/) ./configure --prefix=/Local --with-threads=solaris make make check [su] make install make dvi [su] cp docs/*.dvi /Local/doc-dvi/ * gtk+-1.2.8 (sources: ftp://ftp.gtk.org/pub/gtk/) ./configure --prefix=/Local make [su] make install make dvi [su] cp docs/*.dvi /Local/doc-dvi/ * PDL-2.003 (sources: http://www.cpan.org/authors/id/KGB/) perl Makefile.PL make test [su] make install (note: many of the tests failed under Solaris, but it seems to work anyway) * Parse-RecDescent-1.70 (sources: http://www.cpan.org/authors/id/DCONWAY/) perl Makefile.PL make test [su] make install * Gtk-Perl-0.6123 (sources: http://www.cpan.org/authors/id/KJALB/) perl Makefile.PL make test [su] make install * gimp-1.1.25 (sources: ftp://ftp.gimp.org/pub/gimp/) ./configure --prefix=/Local make make [su] make install cd docs make dvi [su] cp *.dvi /Local/doc-dvi/ cd .. (note: it is necessary to type "make" twice before "make install" because libgimpi.a is only built correctly on the second pass - see bug #24077) Hope this helps... -Raphael
Gimp 1.1.25 not working with gtk+-1.2.8 on SPARC
Hi, I've built, gimp-1.1.25 on my Sun SPARCstation 20, using the following pieces of software and hardware. Sun SPARCstation 20, 4 x 125 MHz CPUs, 448 Mb RAM, Solaris 8. Perl v5.6.0 gtk+-1.2.8 PDL-2.1.1snap092100 (There's a know bug on sparc on the standard 2.2.1) gnu scientific library (gsl) v0.6, used with PDL. gdb-4.18 (strictly built on Solaris 7, but seems okay on my Solaris 8 box) I've got gimp compiled, okay(ish). There was one problem, which I avoided by commenting out this line $(PERL) ../pxgettext `find .. -type f -print | grep '\.pm $$\|\.xs$$\|examples/\|Perl-Server'` > gimp-perl.pot~ from gimp-1.1.25/plug-ins/perl/po/Makefile Gimp then builds okay, but crashes on startup. Debugging under gdb-4.18, shows it seems to be looking for a source file gtkbindings.c which I see is included in the source for gtk-1.2.6. My installation has a binary distribution of gtk-1.2.8. I see from looking at the Sunfreeware site http://smc.vnet.net/solaris_2.5.html I'm not the only one to have problems with gtk+1.2.8. See note on the site below. "Note that programs that use the glib and gtk+ libraries, such as the gimp-1.04 above, seem only to work with version 1.2.6 of these libraries provided below. " Has anyone got gimp 1.1.25 to run properly on a SPARCstation, and if so what libraries are needed ? I was thinking of installing gtk+-1.2.6 and trying to either run my gimp (linked with gtk-1.2.8) or recompile gimp and force it not to check the version number of the gtk+ library. parrot /usr/local/beta/gimp-1.1.25/bin % gdb gimp GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.7"... (gdb) run Starting program: /usr/local/beta/gimp-1.1.25/bin/gimp [New LWP2] [New LWP3] [New LWP4] Program received signal SIGBUS, Bus error. gtk_binding_entry_add_signal (binding_set=0x285ca0, keyval=65362, modifiers=0, signal_name=0xef65a980 "scroll_vertical", n_args=2) at gtkbindings.c:683 683 gtkbindings.c: No such file or directory. (gdb) -- Dr. David Kirkby Ph.D, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7209 6406 Fax: 020 7209 6269 email: [EMAIL PROTECTED] web page: http://www.medphys.ucl.ac.uk/~davek Amateur radio callsign: G8WRB