From owner-freebsd-ports@FreeBSD.ORG Thu Apr 25 20:39:06 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 915954C3 for ; Thu, 25 Apr 2013 20:39:06 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6D24C193A for ; Thu, 25 Apr 2013 20:39:06 +0000 (UTC) Received: from 66-189-39-69.dhcp.oxfr.ma.charter.com ([66.189.39.69] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1UVSwY-000PzY-4b; Thu, 25 Apr 2013 16:39:04 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id AD0E61DBC45D; Thu, 25 Apr 2013 16:39:00 -0400 (EDT) Message-ID: <51799463.80506@FreeBSD.org> Date: Thu, 25 Apr 2013 16:38:59 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Rainer Hurling References: <5176B8EB.9070006@gwdg.de> <5178187A.3030004@gwdg.de> <51784663.7010003@FreeBSD.org> <5178C1AE.9020300@gwdg.de> <51794577.5000707@FreeBSD.org> <517953A4.2070406@gwdg.de> In-Reply-To: <517953A4.2070406@gwdg.de> X-Enigmail-Version: 1.5.1 X-Enigmail-Draft-Status: 513 X-SA-Exim-Connect-IP: 66.189.39.69 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: math/ggobi does not build, if graphics/graphviz installed Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 20:39:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/25/13 12:02 PM, Rainer Hurling wrote: > On 25.04.2013 17:02 (UTC+2), Greg Larkin wrote: >> On 4/25/13 1:39 AM, Rainer Hurling wrote: >>> Am 24.04.2013 22:53 (UTC+1) schrieb Greg Larkin: >>>> On 4/24/13 1:38 PM, Rainer Hurling wrote: >>>>> Oops, sorry for answering myself. But the typo gremlin >>>>> appeared. >>>> >>>>> On 23.04.2013 18:38 (UTC+2), Rainer Hurling wrote: >>>>>> Dear developers, >>>>>> >>>>>> I am the maintainer of math/ggobi and I could need some >>>>>> help for a longstanding problem with the build of ggobi >>>>>> (not seen by tinderbox): >>>>>> >>>>>> With graphics/graphviz installed, math/ggobi finds this >>>>>> external installation by its configure script in >>>>>> plugins/GraphLayout. Then it tries to use it instead of >>>>>> its internal graphviz version and fails when trying to >>>>>> build the port. >>>> >>>>> The configure also sets HAVE_LIBGVC=1. >>>> >>>>>> >>>>>> The diff between graphics/graphviz/Makefile with/without >>>>>> external >>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^ plugins/GraphLayout/Makefile >>>> >>>>>> graphviz found is like this (the first version does not >>>>>> build): >>>>>> >>>>>> 158,159c158,159 < LIBGVC_CFLAGS = >>>>>> -I/usr/local/include/graphviz < LIBGVC_LIBS = >>>>>> -L/usr/local/lib/graphviz -lgvc -lgraph -lcdt --- >>>>>>> LIBGVC_CFLAGS = LIBGVC_LIBS = >>>>>> >>>>>> >>>>>> I am looking for either an elegant way to forbid this >>>>>> configure script to use the external graphviz or to use >>>>>> the external graphviz correctly, when installed. >>>>>> >>>>>> If this would be possible, an option in the ports >>>>>> Makefile could switch between them (and install external >>>>>> graphviz, if wanted). >>>>>> >>>>>> Could someone with more experience be so kind to push me >>>>>> in the right direction, please. >>>>>> >>>>>> Many thanks in advance, Rainer Hurling >>>> >>>> Hi Rainer, >>>> >>>> Can you post an excerpt of the build failure log file when >>>> math/ggobi attempts to build graphics/graphviz? >> >>> Hi Greg, >> >>> I created an excerpt of the build log and put it together with >>> config.log as a zip in the attachment. >> >>> Please tell me, if I should provide more information. >> >>> Many thanks for your answer, Rainer >> >>>> >>>> Thank you, Greg >>>> >> >> Hi Rainer, >> >> Can you send all config.log files that appear in the ggobi work >> directory? That would include any that appear in the plugin >> build subdirectories. > > Yep, of course. The attached zip should contain them all. > > Thanks again, Rainer > >> >> Thank you, Greg Hi Rainer, There doesn't appear to be an easy way to convince plugins/GraphLayout/configure to ignore an already-installed version of graphviz, and I don't see any patches for ggobi that enable it to support new versions of graphviz. At this point, I would add a post-configure target to the port Makefile and use it to patch plugins/GraphLayout/Makefile and plugins/GraphLayout/config.h to remove support for libgvc. I did that manually, and I was able to build the plugin by hand with graphviz still installed. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlF5lGMACgkQ0sRouByUApDORACffqcxz3oX/3NMlgl5DzvsEdWz jggAoIknzIivDLQyNHPdK4/mdFojx4TI =hWTc -----END PGP SIGNATURE-----