From owner-freebsd-ports@FreeBSD.ORG Mon Mar 28 02:25:13 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44CDC106564A for ; Mon, 28 Mar 2011 02:25:13 +0000 (UTC) (envelope-from troy@twisted.net) Received: from oz.twisted.net (oz.twisted.net [69.211.34.241]) by mx1.freebsd.org (Postfix) with ESMTP id E87DC8FC13 for ; Mon, 28 Mar 2011 02:25:12 +0000 (UTC) Received: from oz.twisted.net (localhost [127.0.0.1]) by oz.twisted.net (Postfix) with ESMTP id AAE16101BE21 for ; Sun, 27 Mar 2011 21:34:49 -0500 (CDT) X-Virus-Scanned: amavisd-new at example.com Received: from oz.twisted.net ([127.0.0.1]) by oz.twisted.net (oz.twisted.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Y3Og6hkpm6h for ; Sun, 27 Mar 2011 21:34:39 -0500 (CDT) Received: from [172.16.0.5] (sindrome.twisted.net [172.16.0.5]) by oz.twisted.net (Postfix) with ESMTP id 4A6CDFF24E3 for ; Sun, 27 Mar 2011 21:34:39 -0500 (CDT) Message-ID: <4D8FF159.9090306@twisted.net> Date: Sun, 27 Mar 2011 21:24:25 -0500 From: Troy User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4D8ED71B.8010804@twisted.net> <20110327070503.GB73511@magic.hamla.org> <4D8F9840.1070002@twisted.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Failed building kdebase-workspace-4.5.5_1 cannot find the library liblzma.la X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: troy@twisted.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 02:25:13 -0000 > >>>> Anyone have an idea why it can't find liblzma.la or what port I need >>>> to install to make that library available? >>> archivers/xz installs liblzma.la. >> >> It looks like it's part of the base system > > It's a port for FreeBSD 7 and in base for 8 and 9. > >> but I apparently don't have that library for some reason? > > Well, don't you? > Are there any /usr/lib/liblzma.* files? If no, why not? If yes, > why does that port look for liblzma in /usr/local? > I do have those libs there. I'm not sure why it's looking in /usr/local/lib to find it. I double checked and have /usr/lib in my PATH. Do you have any thoughts here? ls -al /usr/lib/liblzma.* -r--r--r-- 1 root wheel 261522 Dec 15 01:58 /usr/lib/liblzma.a lrwxr-xr-x 1 root wheel 12 Dec 15 01:58 /usr/lib/liblzma.so@ -> liblzma.so.5 -r--r--r-- 1 root wheel 146848 Dec 15 01:58 /usr/lib/liblzma.so.5 Build error below mv -f .deps/dmtxread-dmtxread.Tpo .deps/dmtxread-dmtxread.Po cc -DHAVE_CONFIG_H -I. -I../.. -Wshadow -Wall -pedantic -I/usr/local/include/ImageMagick -D_MAGICK_CONFIG_H -O2 -pipe -fno-strict-aliasing -MT dmtxread-dmtxutil.o -MD -MP -MF .deps/dmtxread-dmtxutil.Tpo -c -o dmtxread-dmtxutil.o `test -f '../common/dmtxutil.c' || echo './'`../common/dmtxutil.c ../common/dmtxutil.h:48: warning: 'symbolSizes' defined but not used mv -f .deps/dmtxread-dmtxutil.Tpo .deps/dmtxread-dmtxutil.Po /bin/sh ../../libtool --tag=CC --mode=link cc -I/usr/local/include/ImageMagick -D_MAGICK_CONFIG_H -O2 -pipe -fno-strict-aliasing -lm -L/usr/local/lib -lMagickWand -lMagickCore -o dmtxread dmtxread-dmtxread.o dmtxread-dmtxutil.o ../../libdmtx.la -lm libtool: link: cannot find the library `/usr/local/lib/liblzma.la' or unhandled argument `/usr/local/lib/liblzma.la' *** Error code 1 Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2/util/dmtxread. *** Error code 1 Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2/util. *** Error code 1 Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2. *** Error code 1 Stop in /usr/ports/graphics/libdmtx/work/libdmtx-0.7.2. *** Error code 1 Stop in /usr/ports/graphics/libdmtx. *** Error code 1 Stop in /usr/ports/x11/kdebase4-workspace. *** Error code 1 Stop in /usr/ports/x11/kdebase4-workspace. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20110327-41566-71kg2a-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdebase-workspace-4.5.5_1 UPGRADE_PORT_VER=4.5.5_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/kdebase4-workspace (kdebase-workspace-4.5.5_1) (unknown build error)