boost-python
Adam K Kirchhoff
adamk at voicenet.com
Tue Apr 11 13:25:12 UTC 2006
On Tue, 11 Apr 2006 15:55:22 +0300
Vasil Dimov <vd at 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 at 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
More information about the freebsd-ports
mailing list