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

Reply via email to