From owner-freebsd-ports@FreeBSD.ORG Thu Jul 10 10:42:50 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 576C5106566C for ; Thu, 10 Jul 2008 10:42:50 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1B83E8FC17 for ; Thu, 10 Jul 2008 10:42:49 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1007) id CCBC51CC32; Thu, 10 Jul 2008 04:06:28 -0700 (PDT) From: David Southwell Organization: Voice and Vision To: freebsd-ports@freebsd.org Date: Thu, 10 Jul 2008 04:06:28 -0700 User-Agent: KMail/1.9.7 References: <200807090652.54308.david@vizion2000.net> <20080709180726.GA9648@owl.midgard.homeip.net> In-Reply-To: <20080709180726.GA9648@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807100406.28636.david@vizion2000.net> Cc: Subject: Re: koffice-kde3 compile failure on amd64 _SOLVED 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: Thu, 10 Jul 2008 10:42:50 -0000 On Wednesday 09 July 2008 11:07:26 Erik Trulsson wrote: > 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.) Thanks v much your diagnosis was spot on. Your advice should be in UPDATING .. maybe you could draft an entry and submit it. David