make -D recent problem?

Kris Kennaway kris at obsecurity.org
Wed May 2 00:56:30 UTC 2007


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

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

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 installed 
> port version and update the pkg database right? (my understandings and so it 
> 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 afterwards 
> because I got two ports with a different version 

Now, as for your underlying problem:

> ocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -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 -lgobject-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 libtool 

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070502/91a84604/attachment.pgp


More information about the freebsd-ports mailing list