libgnomeui, libobnoboui, etc. don't build on my PC

Alistair Sutton alistair.sutton at gmail.com
Tue Nov 14 15:49:14 UTC 2006


On 14/11/06, Alex Pivovarov <apivovarov at gmail.com> wrote:
> I could not build gnome-control-center-2.16.1
> why gnome-control-center-2.16.1. trying to find gstreamer libs in
> /usr/X11R6/lib and not in /usr/local/lib?
>
> I reinstall gstreamer-0.10.10_1 - but no effect
>
> grep: /usr/X11R6/lib/libgstreamer-0.10.la: No such file or directory
> sed: /usr/X11R6/lib/libgstreamer-0.10.la: No such file or directory
> libtool: link: `/usr/X11R6/lib/libgstreamer-0.10.la' is not a valid libtool
> arch
> ive
> gmake[4]: *** [libacme.la] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/sysutils/gnome-control-center/work/contr
> ol-center-2.16.1/gnome-settings-daemon/actions'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/sysutils/gnome-control-center/work/contr
> ol-center-2.16.1/gnome-settings-daemon'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/sysutils/gnome-control-center/work/contr
> ol-center-2.16.1/gnome-settings-daemon'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/sysutils/gnome-control-center/work/contr
> ol-center-2.16.1'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/sysutils/gnome-control-center.
> *** Error code 2
>
>

>From the FAQ on www.freebsd.org/gnome:

"Fix PREFIX move-related errors.

Starting with 2.16, GNOME now lives in LOCALBASE instead of X11BASE.
This move can cause strange build problems if the proper upgrade steps
are not followed. However, if after following all the steps, you may
still see errors like the following:

grep: /usr/X11R6/lib/libglade-2.0.la: No such file or directory
sed: /usr/X11R6/lib/libglade-2.0.la: No such file or directory
libtool: link: `/usr/X11R6/lib/libglade-2.0.la' is not a valid libtool archive


This error indicates that an old libtool archive (a file that ends
with .la) is still lingering about on your system. To find such files,
search through the system for libtool archive files that contain the
bad string (/usr/X11R6/lib/libglade-2.0.la in the example above). To
do that, use the following command:

# find / -type f -name "*.la" | xargs grep -l /usr/X11R6/lib/libglade-2.0.la


For each file that is found, use pkg_info to determine which port or
package installed it. For example, if you find that
/usr/X11R6/lib/libgnomeui-2.0.la contains the problem libtool
reference, do the following:

# pkg_info -W /usr/X11R6/lib/libgnomeui-2.0.la


If you get back a package name, then force an upgrade of that package
using portupgrade. If you do not get back anything, then you can
safely delete the libtool archive file. Once the file is gone, check
the directory from which you deleted it for other files with similar
names. In the example above, check for
/usr/X11R6/lib/libgnomeui-2.0.*. If you find any matching files,
delete those, too. Once all of the files are gone, you can resume
building your original port. Repeat these steps if you encounter
further such problems."

HTH

Al
-- 
WWW: http://ajs.no-dns-yet.org.uk
GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg


More information about the freebsd-gnome mailing list