Building on FreeBSD

I have no idea if anyone else has libcouchbase running on FreeBSD but I got past configure and make but I get this error on make install:

cd /usr/local/bin &&   cbc-admin  cbc-cat  cbc-bucket-create  cbc-bucket-delete  cbc-cp  cbc-create  cbc-mcflush  cbc-hash  cbc-lock  cbc-rm  cbc-stats  cbc-unlock  cbc-verify  cbc-verbosity  cbc-version  cbc-view &&  for f in cbc-admin  cbc-cat  cbc-bucket-create  cbc-bucket-delete  cbc-cp  cbc-create  cbc-mcflush  cbc-hash  cbc-lock  cbc-rm  cbc-stats  cbc-unlock  cbc-verify  cbc-verbosity  cbc-version  cbc-view; do ln -s cbc $f; done
cbc-admin: not found

There is no file named that in the build directory.
I could be wrong but it looks like it was trying to create symbolic links to the cbc binary (which it looks like it installed okay) but maybe the syntax was wrong (or I am using some incorrect build tools).
If anyone could point me in the right direction (which may be don’t bother trying FreeBSD at this point) I would be grateful.
Thanks!

This is from libcouchbase-2.4.4.tar.gz by the way.

Okay I figured it out,

# gmake install

did the trick.

Bear in mind that autotools will be going away next release. I’m putting in some effort into making CMake build the library nicely on FreeBSD

1 Like