Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 15:36:48 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Torfinn Ingolfsen <tingox@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: CFT: astro/boinc-setiathome-enhanced update
Message-ID:  <49296A80.4060607@gmail.com>
In-Reply-To: <ef8c8a880811230553l6f8a0b67lb0fe825ebe9a878d@mail.gmail.com>
References:  <4919DFEB.3020709@gmail.com> <4921D25C.8010409@gmail.com>	 <ef8c8a880811211129l34904cf4jd0e2667995137af2@mail.gmail.com>	 <ef8c8a880811211134h2758b867t8d05600f92af9035@mail.gmail.com>	 <ef8c8a880811211148g72824600oc0e7b700b6a6e24f@mail.gmail.com>	 <4929418B.8060907@gmail.com> <ef8c8a880811230553l6f8a0b67lb0fe825ebe9a878d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Torfinn Ingolfsen schreef:
> Hello,
> 
> On Sun, Nov 23, 2008 at 12:42 PM, Rene Ladan <r.c.ladan@gmail.com> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49296A80.4060607>