Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2006 09:16:20 -0600
From:      "Donald J. O'Neill" <duncan.fbsd@gmail.com>
To:        Eric Schuele <e.schuele@computer.org>
Cc:        freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Trouble building gnomeprint...
Message-ID:  <200602250916.20930.duncan.fbsd@gmail.com>
In-Reply-To: <44006CA1.4040005@computer.org>
References:  <43FFDB8F.1000703@computer.org> <200602250811.17053.duncan.fbsd@gmail.com> <44006CA1.4040005@computer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 25 February 2006 08:41, Eric Schuele wrote:
> Donald J. O'Neill wrote:
> > On Saturday 25 February 2006 08:03, Eric Schuele wrote:
> >> Kris Kennaway wrote:
> >>> On Fri, Feb 24, 2006 at 10:22:39PM -0600, Eric Schuele wrote:
> >>>> During a regular portupgrade, I ran into the following:
> >>>>
> >>>> /usr/bin/ld: cannot find -lgtk12
> >>>> gmake[2]: *** [libgnomeprint.la] Error 1
> >>>> gmake[2]: Leaving directory
> >>>> `/usr/ports/print/gnomeprint/work/gnome-print-0.37/libgnomeprint
> >>>>' gmake[1]: *** [all-recursive] Error 1
> >>>> gmake[1]: Leaving directory
> >>>> `/usr/ports/print/gnomeprint/work/gnome-print-0.37'
> >>>> gmake: *** [all-recursive-am] Error 2
> >>>> *** Error code 2
> >>>>
> >>>> Stop in /usr/ports/print/gnomeprint.
> >>>> ** Command failed [exit code 1]: /usr/bin/script -qa
> >>>> /tmp/portupgrade90656.30 make
> >>>> ** Fix the problem and try again.
> >>>>
> >>>> I've done some looking around.  Not sure how to fix it.  Looks
> >>>> like it can't find gtk12?  So I deinstalled/reinstalled it, and
> >>>> rebuilt pkgdb. No go.  Am I way off base here?  What am I
> >>>> missing?
> >>>
> >>> /usr/ports/UPDATING; you need to portupgrade -a or equivalent.
> >>>
> >>> Kris
> >>
> >> I generally use `portupgrade -arR`.  This is how I ran into the
> >> problem. Tried just `portupgrade -a` as well, with the same
> >> results.
> >>
> >> Any other way (besides removing all ports, and reinstalling)?
> >>
> >> Thanks.
> >
> > Hi Eric,
> >
> > possibly Kris was trying to refer you to this from
> > /usr/ports/UPGRADING:
> >
> > 20051105:
> >   AFFECTS: all users of gnome/glib/gtk
> >   AUTHOR: gnome@FreeBSD.org
> >
> >   GNOME has been updated to 2.12 and gtk/glib to 2.8.
> >   DO NOT USE portupgrade(1) to update your ports. Instead, use
> >   the gnome_upgrade.sh script from
> >   http://www.marcuscom.com/downloads/gnome_upgrade212.sh
> >
> > Any possibility of this?
> >
> > Don

> I don't use gnome anything... It's just a dependency of some port.
>
> Thanks.

Then the gnome2.12 upgrade wouldn't affect you. When I did the libtool 
upgrade, I used portmanager instead of portupgrade. I don't know if 
that would make any difference or not. I know it has a resume mode, so 
if it breaks out, you can find and fix the problem and then resume the 
upgrade at that point. I really don't advocate one over the other, I 
think in some situations one may work a little bit better than the 
other.

Don




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602250916.20930.duncan.fbsd>