Date: Sun, 23 Nov 2008 12:42:03 +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: <4929418B.8060907@gmail.com> In-Reply-To: <ef8c8a880811211148g72824600oc0e7b700b6a6e24f@mail.gmail.com> References: <4919DFEB.3020709@gmail.com> <4921D25C.8010409@gmail.com> <ef8c8a880811211129l34904cf4jd0e2667995137af2@mail.gmail.com> <ef8c8a880811211134h2758b867t8d05600f92af9035@mail.gmail.com> <ef8c8a880811211148g72824600oc0e7b700b6a6e24f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Torfinn Ingolfsen schreef: > Hello, > > FWIW, even if I disable astropulse, the problems remains the same. > root@kg-vm# make showconfig > ===> The following configuration options are available for > boinc-setiathome-enhanced-6.03.4.28: > SETI_APP=on "Install SETI@home binary" > AP_APP=off "Install Astropulse binary" > ===> Use 'make config' to modify these settings > > Here are the last few lines from 'make': > configure: "--- Configuring SETI_BOINC 6.03 (client only) ---" > checking whether to enable maintainer-specific portions of Makefiles... no > checking for g++... g++ > checking for C++ compiler default output file name... > configure: error: C++ compiler cannot create executables > See `config.log' for more details. > *** Error code 77 > > Stop in /usr/ports/astro/boinc-setiathome-enhanced. > *** Error code 1 > > Stop in /usr/ports/astro/boinc-setiathome-enhanced. > > > I believe the problem can be tracked to these lines in config.log: > configure:3290: checking for C++ compiler default output file name > configure:3312: g++ -O -pipe -I/usr/local/include > -I/usr/local/include/BOINC -L/usr/local/lib -O3 -mtune=native -march= > -fno-strict-aliasing -O -pipe -I/usr/local/include > -I/usr/local/include/BOINC -L/usr/local/lib -O3 -mtune=native -march= > -fno-strict-aliasing -L/usr/local/lib conftest.cpp >&5 > cc1plus: error: missing argument to "-march=" > cc1plus: error: missing argument to "-march=" > > No, I don't have CC or CXX set, neiher in /etc/make.conf nor in the environment. My bad, I defined march=${CPUTYPE} at line 34 of the port Makefile. Removing that should hopefully enable you to build the port (both setiathome and astropulse). /usr/share/mk/bsd.cpu.mk doesn't set a default CPUTYPE. 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 Thanks for testing it :) 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?4929418B.8060907>