From owner-freebsd-questions@FreeBSD.ORG Thu Apr 20 14:45:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C37C916A403 for ; Thu, 20 Apr 2006 14:45:52 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3028943D49 for ; Thu, 20 Apr 2006 14:45:49 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9473 invoked from network); 20 Apr 2006 14:45:49 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Apr 2006 14:45:49 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 619A828425; Thu, 20 Apr 2006 10:45:48 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Norberto Meijome References: <20060419014034.59584d22@localhost> <44k69kcqfd.fsf@be-well.ilk.org> <20060421003249.110b6cd3@localhost> From: Lowell Gilbert Date: 20 Apr 2006 10:45:48 -0400 In-Reply-To: <20060421003249.110b6cd3@localhost> Message-ID: <44ejzscnkz.fsf@be-well.ilk.org> Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How to create a .la file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 14:45:52 -0000 Norberto Meijome writes: > On 20 Apr 2006 09:44:22 -0400 > Lowell Gilbert wrote: > > > Norberto Meijome writes: > > > > > trying to upgrade gimp from ports, the build process failed with: > > > > > > > > > libtool: link: cannot find the library `/usr/X11R6/lib/libXcursor.la' or > > > unhandled argument `/usr/X11R6/lib/libXcursor.la' > > > > > > libXcursor.la is usually provided by x11/libXcursor, but this port conflicts > > > with xorg-libraries. > > > > > > xorg-libraries doesn't provide this file. how do I create it from the > > > existing libXcursor.so|.a ? > > > > You shouldn't need to. It shouldn't need it. > > On my fairly stock -STABLE system with the latest xorg from the port, > > gimp links against libXcursor.so.1. > > > > Perhaps you have some other ports needing upgrading? > > ah, but there lies the problem, i think - libXcursor installs files > already installed by org-libraries (and the extra .la file). the issue is that > libXcursor depends on xproto and xextensions which break the build of a number > of ports I use (firefox,etc). > > I'm trying now by using pkgtools.conf to replace xproto and xextensions with > xorglibraries.... if I knew how to create a .la file, then libXcursor could be > replaced too by xorglibraries... > > am I right in my understanding that libXcursor / xproto / libXau / xextensions > and others are the XFree86 (and therefore older) equivalents of > xorg-libraries? No, the xorg-libraries port installs /usr/X11R6/lib/libXcursor.so. No libtool library description file (.la) should be needed. You seem to have been missing the point, so I'll boil it down: You *do* need libXcursor. You do *not* need the libXcursor *port*, because xorg-libraries will install the Xcursor library. You should *not* need libXcursor.la, because gimp should need it to link against libXcursor.so. Try removing the libtool ports, rebuilding xorg-libraries and anything else in the dependency path from it to gimp, and gimp should rebuild fine. You didn't mention houw you were trying to do your upgrade, or what vintage your other ports were, so this is probably the most complete advice we can give on the information you have provided.