Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 09:24:49 -0400
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        vd@FreeBSD.org
Cc:        barner@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re: boost-python
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Apr 2006 15:55:22 +0300
Vasil Dimov <vd@FreeBSD.org> 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 <vd@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411092449.c7cb9095.adamk>