From owner-freebsd-ports@FreeBSD.ORG Wed Jul 9 18:07:33 2008 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 372F11065680 for ; Wed, 9 Jul 2008 18:07:33 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id B1A898FC16 for ; Wed, 9 Jul 2008 18:07:32 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:62328 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KGe4f-0006Hh-8J for freebsd-ports@freebsd.org; Wed, 09 Jul 2008 20:07:31 +0200 Received: (qmail 51817 invoked from network); 9 Jul 2008 20:07:26 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Jul 2008 20:07:26 +0200 Received: (qmail 10117 invoked by uid 1001); 9 Jul 2008 20:07:26 +0200 Date: Wed, 9 Jul 2008 20:07:26 +0200 From: Erik Trulsson To: David Southwell Message-ID: <20080709180726.GA9648@owl.midgard.homeip.net> References: <200807090652.54308.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807090652.54308.david@vizion2000.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1KGe4f-0006Hh-8J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KGe4f-0006Hh-8J 4df0a4830ad8bd031e0b1acbb5a872c2 Cc: freebsd-ports@freebsd.org Subject: Re: koffice-kde3 compile failure on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 18:07:33 -0000 On Wed, Jul 09, 2008 at 06:52:54AM -0700, David Southwell wrote: > Here it is.. > > Does anyone know how to fix this one? > Thanks in advance > ___________________________________________________________________________ > then mv -f ".deps/karbon.la.Tpo" ".deps/karbon.la.Po"; else > rm -f ".deps/karbon.la.Tpo"; exit 1; fi > /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link > c++ -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -L/usr/local/lib -o > karbon -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -no-undefined -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib > karbon.la.o > libkdeinit_karbon.la -Wl,-export-dynamic -L/usr/local/lib -ljpeg -L/usr/local/lib > /usr/local/lib/libMagickCore.so: undefined reference to `DrawSetViewbox' > /usr/local/lib/libMagickCore.so: undefined reference to `DrawScale' > /usr/local/lib/libMagickCore.so: undefined reference to > `DrawSetTextUnderColor' Yes, I have seen a similar problem before. If you have the graphics/ImageMagick port installed, then the koffice-kde3 build will somehow try to link against that instead of the libraries installed by the graphics/GraphicsMagick port (which it should use.) (Note that the file /usr/local/lib/libMagickCore.so is installed by graphics/ImageMagick, not by graphics/GraphicsMagick.) If you deinstall ImageMagick, and then try to reinstall koffice-kde3 it should work. Afterwards you can reinstall ImageMagick again if you wish. (As far as I can tell it is only when building and installing koffice-kde3 that the presence of ImageMagick is a problem, not when running it.) -- Erik Trulsson ertr1013@student.uu.se