From owner-freebsd-ports@FreeBSD.ORG Sun Nov 23 11:42:09 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 40C551065674 for ; Sun, 23 Nov 2008 11:42:09 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id C30B18FC1A for ; Sun, 23 Nov 2008 11:42:07 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so655525eyi.7 for ; Sun, 23 Nov 2008 03:42:07 -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=NGOSe0mlgHkgkNRaX/Oc/idl6+65OvcPILtliNNboCc=; b=wq0mlCvCg7ebgL6H/lE3EWqHHTRsDzlbh8T+xafBhpuII2aVOW9pJyWw7IHLDKj/24 LLykr3bFrxWk00/q9+t0BjbyhnmSDHZy/6o8Kb8Ay2zOTJ2KROn754XaopD4GZoeK+5z WxKKF4rCd5sNSMLGeEEe8d7rr0HD443fd0AWg= 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=eGPWpa+UnrGyaE2wYaFnTZGW3Rv+3qBCK/HKjou+aIX+eWNpjzJJYhhhdOtthWZ6h6 qk2b9Haudzd2CDGsd3z9MTZOMSe4HHHO6vC78Emeva/vAW/6neJojU8uxarLbvKhtD5t R7+G/ru/MkrwhrZC9bcjOPcwgNFYFMpXhl0dk= Received: by 10.210.125.13 with SMTP id x13mr2525580ebc.198.1227440527012; Sun, 23 Nov 2008 03:42:07 -0800 (PST) Received: from self.rene-ladan.nl ([77.163.174.49]) by mx.google.com with ESMTPS id k7sm494843nfh.17.2008.11.23.03.42.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 Nov 2008 03:42:05 -0800 (PST) Message-ID: <4929418B.8060907@gmail.com> Date: Sun, 23 Nov 2008 12:42:03 +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> 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 11:42:09 -0000 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)