From owner-freebsd-ports@FreeBSD.ORG Tue Apr 11 13:25:12 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CAD916A400; Tue, 11 Apr 2006 13:25:12 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from b.mx.visualtech.com (a.imap.visualtech.com [208.16.19.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CD0E44321; Tue, 11 Apr 2006 13:24:52 +0000 (GMT) (envelope-from adamk@voicenet.com) Received: from scroll.ashke.com (maat.visualtech.com [208.16.19.254]) by b.mx.visualtech.com (Postfix) with ESMTP id 210834E5F; Tue, 11 Apr 2006 09:24:51 -0400 (EDT) Date: Tue, 11 Apr 2006 09:24:49 -0400 From: Adam K Kirchhoff To: vd@FreeBSD.org Message-Id: <20060411092449.c7cb9095.adamk@voicenet.com> In-Reply-To: <20060411125522.GA90276@qlovarnika.bg.datamax> References: <20060411070916.9f5f564f.adamk@voicenet.com> <20060411112456.GA89866@qlovarnika.bg.datamax> <20060411075134.6fd0602f.adamk@voicenet.com> <20060411125522.GA90276@qlovarnika.bg.datamax> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: barner@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: boost-python 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: Tue, 11 Apr 2006 13:25:12 -0000 On Tue, 11 Apr 2006 15:55:22 +0300 Vasil Dimov wrote: > On Tue, Apr 11, 2006 at 07:51:34AM -0400, Adam K Kirchhoff wrote: > > On Tue, 11 Apr 2006 14:24:56 +0300 > > Vasil Dimov wrote: > > > > > On Tue, Apr 11, 2006 at 07:09:16AM -0400, Adam K Kirchhoff wrote: > > > > > > > > Hello all, > > > > > > > > KDE currently seems to depend on boost-python, but I can't get it to install. The build, itself, goes fine, but when I do a "make install" I get: > > > > > > > > ... > > > > cd /usr/local/lib && /bin/mv -f "libboost_thread.so" "libboost_thread.so.3" && /bin/ln -fs "libboost_thread.so.3" "libboost_thread.so" > > > > /bin/mkdir -p /usr/local/include > > > > cd /usr/ports/devel/boost-python/work/boost_1_33_1 && /usr/bin/find boost -type d -a \! -name "*.orig" -exec /bin/mkdir -p /usr/local/include/\{\} \; > > > > find: -a: unknown option > > > > > > > > I believe that "-a" is a gnu find option. Is there anyway to get this port installed? > > > > > > > Change the -a option with -and or just remove it. > > > Feel free to send a patch for this. > > > > > > > I would love to. Unfortunately, the only references to "/usr/bin/find" that I can see in that port are in work/boost_1_33_1/tools/release/make_tarballs.py, and they are: > > > > " /usr/bin/find - (cygwin) to export sources with posix newlines\n" + \ > > utils.checked_system( [ "bash -c /usr/bin/find %s -type d -exec chmod u+w {} ;" % temp_unix ] ) > > > > That second line doesn't use the -a option. So I'm afraid I'm not sure where this find is getting called from or how to change the "-a" to "-and". > > > > The -a option comes from devel/boost/Makefile > Btw I tested on 4.11 5.5-pre and 6.0 and (although not documented) > find(1) supports -a on those three platforms. > What version of FreeBSD are you running? > FYI, even when I change the "-a" to "-and" it fails to install: cd /usr/ports/devel/boost-python/work/boost_1_33_1 && /usr/bin/find boost -type d -and \! -name "*.orig" -exec /bin/mkdir -p /usr/local/include/\{\} \; find: -and: unknown option I went ahead and removed it, per your suggestion. It died a few lines later, with another -a option to find. After removing that one, though, it seems to have installed fine. Adam