Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2007 20:56:29 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        JoaoBR <joao@matik.com.br>
Cc:        freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: make -D recent problem?
Message-ID:  <20070502005628.GA8807@xor.obsecurity.org>
In-Reply-To: <200705012112.31765.joao@matik.com.br>
References:  <200705011904.44643.joao@matik.com.br> <20070501220932.GA6579@xor.obsecurity.org> <200705012112.31765.joao@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 01, 2007 at 09:12:29PM -0300, JoaoBR wrote:

> I'm not sure what you want to hear but to clarify=20

What I meant was: when you are trying to report an error you usually
need to show exactly what is going wrong, because just describing it
vaguely does not often help, because we have to try and guess what you
mean.

> make -DFORCE_PKG_REGISTER install should[?] override the already installe=
d=20
> port version and update the pkg database right? (my understandings and so=
 it=20
> ever was if I am no t confused)

It is a knob used by the port framework to override the check for an
existing installation of the package.  It is almost never a good idea
to use it unless you know what you're doing, because it will corrupt
your package database, as you found out:

> so today any port I did make -D FORCE... forced me to to pkgdb -F afterwa=
rds=20
> because I got two ports with a different version=20

Now, as for your underlying problem:

> ocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreet=
ype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgconf-2 -lgnome-2 -lpopt -=
lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgobje=
ct-2.0 -lglib-2.0 -liconv   -pthread -lldap -llber  -L/usr/local/lib -lsoup=
-2.2 -lglib-2.0 -liconv -lxml2 -lgnutls
> grep: /usr/X11R6/lib/libgtk-x11-2.0.la: No such file or directory
> sed: /usr/X11R6/lib/libgtk-x11-2.0.la: No such file or directory
> gnome-libtool: link: `/usr/X11R6/lib/libgtk-x11-2.0.la' is not a valid li=
btool=20

I guess one of those libraries needs to be rebuilt.

grep -r /usr/X11R6/lib/libgtk-x11-2.0.la /usr/local/lib /usr/X11R6/lib

should show you the files that need to be rebuilt.  pkg_which will
help you to figure out which port they belong to.

Kris

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGN+G8Wry0BWjoQKURApYmAJ42JcQ9wvJMMona7VrO9MpJ6GN0RQCgrVX6
nt9EraRCS7zX2K/BIKckTZM=
=BKG3
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



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