Anyone got RethinkDB working in FreeBSD?

Alfred Perlstein alfred at freebsd.org
Sun Sep 13 02:44:52 UTC 2015



On 9/12/15 2:01 AM, Kurt Jaeger wrote:
> Hi!
>
>> Right now, I'm in the part where it tries to link the
>> build/external/v8_3.30.33.16/build/out
>> stuff and fails because the clang loader does not handle
>> lib....a files 8-(
> The latest .shar is available at
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203043
>
> together with a build-log at
>
> https://opsec.eu/backup/rethinkdb-build
>
> which shows that it fails to link the external v8. If anyone has an
> idea on how to fix this ? (Bcc: to sunpoet who maintains lang/v8*).
>
Why do you want it to link against the external v8 port?  Seems like 
just introducing a dependency headache.

.a files work on -stable.  Did they get broken in -current?

~ % cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.1
Thread model: posix
Selected GCC installation:
.(02:43:28)(builder at build2)
~ % cat t.c

int
derp(int x)
{
     return x*2;
}
.(02:43:37)(builder at build2)
~ % cat m.c
#include <stdio.h>

int derp(int);

int
main(void)
{

     printf("%d\n", derp(2));

}
.(02:43:40)(builder at build2)
~ % cc -c t.c
.(02:43:48)(builder at build2)
~ % ar -r t.a t.o
.(02:43:53)(builder at build2)
~ % cc m.c t.a
.(02:43:58)(builder at build2)
~ % ./a.out
4
.(02:44:00)(builder at build2)
~ % uname -a
FreeBSD build2 10.1-BETA2 FreeBSD 10.1-BETA2 #0 df2cf31(HEAD): Tue Jul  
7 00:38:22 UTC 2015 root at build2:/usr/obj/usr/src/sys/GENERIC  amd64
.(02:44:25)(builder at build2)
~ %



More information about the freebsd-ports mailing list