From owner-freebsd-ports@FreeBSD.ORG Sun Nov 23 14:36:52 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 42EA61065677 for ; Sun, 23 Nov 2008 14:36:52 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id C3C718FC1D for ; Sun, 23 Nov 2008 14:36:51 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so827746nfh.33 for ; Sun, 23 Nov 2008 06:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=ERtkFa4foSx1Bih7f1hXnqOF6aJZu88D+7MmeSPPBZk=; b=q7xOMjqAqyRUQ2e4c4w2iZwEO+b6rSgYI1kr8MKwlgYe37pYu2HALwPf2n1rw42+VK Le4GqeJAk9n0d0TQesSRZfIHIW8ph7O56KgZ9PhDfihuQylEnpzmTyI86UakvYxXMpv6 S/r/kl7nMmSRstJaDn+7P31SrW6njMyT1nnHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Vj3W4ArfHFDTHr6ih13KGxC1VCHakQIGHo2LTnc81wI5ty2wfUNauMHZ/Ak1Q8RJpi x6qtR8el6+PMJgGeultKJCiKlyp5gZo6lbvgcFnftZe+GvpsWm2Ck2sMg1A8xKcxfnZQ C9A1+vsbIcltrP3iS1ALXVqknPx5z3cTq54Mo= Received: by 10.210.104.20 with SMTP id b20mr2677509ebc.29.1227451010449; Sun, 23 Nov 2008 06:36:50 -0800 (PST) Received: from self.rene-ladan.nl ([77.163.174.49]) by mx.google.com with ESMTPS id d2sm791822nfc.20.2008.11.23.06.36.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 Nov 2008 06:36:49 -0800 (PST) Message-ID: <49296A80.4060607@gmail.com> Date: Sun, 23 Nov 2008 15:36:48 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: Torfinn Ingolfsen References: <4919DFEB.3020709@gmail.com> <4921D25C.8010409@gmail.com> <4929418B.8060907@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: CFT: astro/boinc-setiathome-enhanced update 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: Sun, 23 Nov 2008 14:36:52 -0000 Torfinn Ingolfsen schreef: > Hello, > > On Sun, Nov 23, 2008 at 12:42 PM, Rene Ladan wrote: >> I've modified the Makefile at that point to read: >> >> 34: CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/BOINC >> -L${LOCALBASE}/lib -O3 -mtune=native >> +35: .if defined(CPUTYPE) >> +36: CFLAGS+= -march=${CPUTYPE} >> +37: .endif > > With this change, the build gets a little further, but then stops with: > > /usr/local/include/BOINC/config.h:440:1: warning: "VERSION" redefined > In file included from gdata.cpp:28: > ../sah_config.h:518:1: warning: this is the location of the previous definition > In file included from gdata.cpp:33: > gdata.h:39:20: error: reduce.h: No such file or directory > In file included from gdata.cpp:33: > gdata.h:148: error: 'REDUCED_ARRAY_DATA' does not name a type > gmake[2]: *** [seti_boinc-gdata.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/astro/boinc-setiathome-enhanced/work/seti_boinc/client' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/astro/boinc-setiathome-enhanced/work/seti_boinc' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/astro/boinc-setiathome-enhanced. > *** Error code 1 > > Stop in /usr/ports/astro/boinc-setiathome-enhanced. > > > The file reduce.h doesnt seem to be on my machine at all, and the > souce code cross reference at fxr.watson.org doesn't seem to know it > either: http://fxr.watson.org/fxr/find?string=reduce.h > Nope, this file is part of net/boinc-client. The current port doesn't install some files needed for the update. I once copied them manually to /usr/local/include/BOINC and completely forgot about that afterwards. The required files are: reduce.h, graphics_data.h, graphics_api.h, and boinc_gl.h. The last three are probably only required when the screensavers are built, which is currently disabled. The files can be found in /usr/ports/net/boinc-client/work/boinc-client-6.2.14/api after `make patch'. >> Thanks for testing it :) > > No problem. :-) Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)