Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 11:43:54 +0200
From:      Peter <list-freebsd-ports@jyborn.se>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Anyone got RethinkDB working in FreeBSD?
Message-ID:  <20150914094354.GG10833@pol-server.leissner.se>
In-Reply-To: <20150913202159.GT36682@home.opsec.eu>
References:  <20150911091155.GU13922@pol-server.leissner.se> <20150911152118.GK36682@home.opsec.eu> <20150911162225.GU13922@pol-server.leissner.se> <20150913202159.GT36682@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Sun, Sep 13, 2015 at 10:21:59PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203043
> 
> > I tried your file, but didn't get very far unfortunately.
> 
> The newest version v4 of the shar builds on FreeBSD 11 (Current), amd64.
> 
> It still needs more testing, especially under poudriere.
> 
> -- 
> pi@opsec.eu            +49 171 3101372                         5 years to go !

Thanks for your great work at this!

Unfortunately I'm still not getting very far in FreeBSD 9.3.

I added CXX in your Makefile, to get clang instead of gcc,
like this:

$ diff Makefile.orig Makefile
30c30
<               ./configure --with-system-malloc
---
>               ./configure --with-system-malloc CXX=clang++

Then I got this error in configure:
"
* Detecting system configuration
Bash:                           4.3.42(0)-release
Use ccache:                     no
C++ Compiler:                   CLANG 3.4.1 (clang++)
Host System:                    x86_64-unknown-freebsd9.3
Build System:                   FreeBSD 9.3-RELEASE-p24 amd64
Cross-compiling:                no
Host Operating System:          FreeBSD
Build Architecture:             amd64
stdlib:                         -lstdc++
C++11:                          no
* Error: C++11 not found.
In file included from ./mk/gen/check_cxx11.cc:4:
In file included from /usr/include/c++/4.2/map:65:
In file included from /usr/include/c++/4.2/bits/stl_tree.h:69:
In file included from /usr/include/c++/4.2/bits/stl_algobase.h:71:
/usr/include/c++/4.2/bits/stl_pair.h:85:21: error: call to deleted constructor of 'C'
* Aborting configure
*** [do-configure] Error code 1
"

I also tried setting CXX to just clang, but got the same error.

So I ran portmaster devel/libc++ and got this result:

===>>> The following actions were performed:
        Installation of devel/libcxxrt (libcxxrt-20131225_2)
        Installation of devel/libc++ (libc++-208080)

But I still get the same "Error: C++11 not found".

I'm sorry that I'm not getting any further, I haven't used
the clang environment anything before this.

Thanks anyway for all help!

Peter



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