Skip site navigation (1)Skip section navigation (2)
Date:      12 Oct 1997 17:56:54 -0500
From:      stephen farrell <stephen@farrell.org>
To:        "Brian N. Handy" <handy@sag.space.lockheed.com>
Cc:        freebsd ports <ports@freebsd.org>, vanilla@MinJe.com.TW, "Eric L. Hernes" <erich@freebsd.org>, albast@xs4all.nl
Subject:   Re: gimp 0.99.13
Message-ID:  <874t6mio95.fsf@phaedrus.uchicago.edu>
In-Reply-To: "Brian N. Handy"'s message of "Sun, 12 Oct 1997 11:45:31 -0700 (PDT)"
References:  <Pine.OSF.3.96.971012114359.18270A-100000@sag.space.lockheed.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Brian N. Handy" <handy@sag.space.lockheed.com> writes:

> >I compiled gimp 0.99.13 (the latest development version) on my fbsd
> >system (very recent FreeBSD 2.2-STABLE) and it dies before startup
> >with:
> >
> >	** ERROR **: could not attach to gimp shared memory segment
> 
> Hey Steve,
> 
> Wow!  Are you going to port this when you get it figured out?  I just sent

I was very impressed by the port of 0.99.10 that eric hernes did--it
was *much* more stable that 0.99.10 unpatched was on linux.  He seemd
to have gathered some patches together which really improved things...
I hope he'll continue to maintain it (though if anything I've done is
of any help, that's great.)

> an email to -ports complaining about installing gtk, and I got the
> following slightly cryptic reply.  Maybe this will mean something to you,
> it's got me fairly baffled.

Hmm.  I look in the GNATS database and found someone had submitted a
patch for gtk (http://www.freebsd.org/cgi/query-pr.cgi?pr=4649).  I
couldn't get it to go on cleanly (probably spacing issues since I just
copy&pasted it off the website), but it was quite simple and I made
the changes by hand.  It compiled and installed (relatively) clean.


> 
> Good luck and godspeed,
> 
> Brian
> ----------------------------8< Snip 8<----------------------------
> 
> >From albast@xs4all.nl Sun Oct 12 11:43:51 1997
> Date: Sun, 12 Oct 1997 19:47:22 +0200 (MET DST)
> From: albast <albast@xs4all.nl>
> To: "Brian N. Handy" <handy@sag.space.lockheed.com>
> Subject: Re: gimp/gtk?
> 
> > 
> > Heya folks,
> > 
> > This morning I thought I'd try to jumpstart somebody into updating the
> > gimp port by doing the gtk port.  Well...sigh.  I can't puzzle it out.
> > I've done the bulk of the work, except for the last 10% which will
> > probably take 90% of the time.  It has its own set of scripts for
> > installing the libraries and headers, and it's falling over on the
> > install.  

Ah--this was an easy one that Vanilla found--you just need to tell
configure that install is

INSTALL="/usr/bin/install -c"

Not sure what happens otherwise, but it tries to run "../" instead of
"/usr/bin/install" or somesuch silliness and that doesn't work very
well =).

> > 
> > If someone-more-worthy-than-I would like to have a quick look, I threw it
> > in ftp://ftp.freebsd.org/pub/FreeBSD/incoming/gtk.tar.gz.  I've gotta lay
> > this down for a couple of days and like do thesis stuff.
> > 
> > 
> > Thanks,
> > 
> > Brian
> > 
> 
> Also be sure to move the shmctl(x_shm_info->shmid, IPC_RMID, 0) :-)
> This causes the XShmAttach failure in gdkimage.c

Hm...  I guess I'll take him at face value and translate "move" into
"remove".  

I've whipped up "ports" of gimp-0.99.13 and gtk+092597 and they are
available at http://www.people.healthquiz.com/sfarrell/projects.html.
I #ifndef'd out the calls to shmctl().  These are not well tested or
complete ports, but them seem to work ok, and it's a *hell* of a lot
faster than disabling shared memory, so i'm happy.

I assume that Vanilla and Eric will maintain these ports in the
future, but hopefully what I've done might be of a tiny bit of help.
At least, it should get people up and running now if they way.

Oh yeah--I keep running into this problem with ports--"strip" tries to
strip scripts and fails.  I once spent like a half-an-hour trying to
find where it was told to do this and almost died of frustration.  Any
easy fix for this?  Unless you can fix this, you'll have to do make -k
install to get gimp to install. 
--

Steve Farrell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874t6mio95.fsf>