make -D recent problem?

Garrett Cooper youshi10 at u.washington.edu
Wed May 2 01:56:23 UTC 2007


Kris Kennaway wrote:
> 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

My guess is gtk2 or linux-gtk2, and if this persists you might want to 
rebuild libtool and reinstall it.

-Garrett


More information about the freebsd-ports mailing list