From owner-freebsd-ports@FreeBSD.ORG Thu Aug 28 20:09:23 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 1BAF81065689 for ; Thu, 28 Aug 2008 20:09:23 +0000 (UTC) (envelope-from barth.alexander@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 97E8A8FC17 for ; Thu, 28 Aug 2008 20:09:22 +0000 (UTC) (envelope-from barth.alexander@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so145849nfh.33 for ; Thu, 28 Aug 2008 13:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bArnjptNaFvELv4E8fJvivvULDciwkb6Ue+w3Hs4OIw=; b=Eyx/oiuNseECajo/l1uSq40NQ8YAXAA9KmAQfWy3bHVZyoAspSo4GY4kun4mmjeVp5 ax3R9dAbODaVLz0nMYPVKupWvH3jsDfX48osNZYPdnbnHVt088ujGpzUbecMYQ3J+lMP puQr8lMMamIskPOZC9cq03GlvcWY9PN0eTlrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=p//qLkWMYmRMeZ0M92ytFkUXw6tWhBwQjlo3YnjFImrE8K/5hy1w5QOZT4uq6Ye/5e 5SSZk5TWL3WAuGDqklxGQjyUm2wuzP4gt4MRZ0JJYqUDhGjg9pTldwnrtZbV87dV3nAy YCmnOx6ZGyQPfVSdRtQsSpOSkxfia6mFe1fqk= Received: by 10.103.239.10 with SMTP id q10mr1255959mur.82.1219954160488; Thu, 28 Aug 2008 13:09:20 -0700 (PDT) Received: by 10.103.114.2 with HTTP; Thu, 28 Aug 2008 13:09:20 -0700 (PDT) Message-ID: <923da9300808281309p2bf0f4cfsf3684ff11b5d64a8@mail.gmail.com> Date: Thu, 28 Aug 2008 22:09:20 +0200 From: "Alexander Barth" To: "Stephen Montgomery-Smith" In-Reply-To: <48B5B4A8.2020903@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48B45373.9090904@math.missouri.edu> <923da9300808271247x4046ee20m8fdcbb1505d03416@mail.gmail.com> <48B5B4A8.2020903@math.missouri.edu> Cc: octave-dev@lists.sourceforge.net, maho@freebsd.org, freebsd-ports Subject: Re: [OctDev] Proposed octave-forge for FreeBSD 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: Thu, 28 Aug 2008 20:09:23 -0000 On Wed, Aug 27, 2008 at 10:10 PM, Stephen Montgomery-Smith wrote: > Alexander Barth wrote: >>> >>> The only packages I didn't get to build were database, java and >>> jhandles. If someone else could do these for me I would appreciate it. >>> I also did not get octcdf to build, because it requires a newer >>> version of netcdf than FreeBSD currently has in the ports. >> >> Hi Stephen, >> Thank you for your efforts to port octave-forge to FreeBSD! >> I'm the author of octcdf. Which version of netcdf is included in ports? >>> >>> From a quick google search I found this page >> >> http://www.freebsd.org/cgi/ports.cgi?query=netcdf and it looks like >> that 3.6.3 included. In principle, octcdf should build with any >> version newer than 3.6.0. If you are using a recent enough version of >> netcdf, can you send me the error message that you got while compiling >> octcdf on FreeBSD? >> >> Thanks >> Alex > > I am using netcdf-3.6.3. The the error message is at the bottom of the > email. Now that I reflect on it, it is an issue that mkoctfile, which comes > with octave itself, is incapable of parsing the "-pthread" - presumably on > Linux it is "-lpthread." > > I just tried hacking mkoctfile, and it seems to resolve the issue. So I > should be able to fix this myself. > > Thanks for inspiring me to work on this. > > Stephen > > mkoctfile -DHAVE_OCTAVE_ -v -o netcdf.oct -I/usr/local/include > -I/usr/local/include/metis -I/usr/local/include -DHAVE_OCTAVE_INT > ov-netcdf.o ov-ncfile.o ov-ncvar.o ov-ncatt.o ov-ncdim.o -L/usr/local/lib > -pthread -lnetcdf > mkoctfile: unrecognized argument -pthread > gmake[1]: *** [netcdf.oct] Error 1 > gmake[1]: Leaving directory > `/usr/p2/math/octave-forge-octcdf/work/octcdf-1.0.11/src' > gmake: *** [build] Error 2 > *** Error code 2 > > Stop in /usr/p2/math/octave-forge-octcdf. > Thank you for your feedback and making octcdf work on FreeBSD! Alex