Hi All,
I built Language R from source install it all went well.
However when i try to compile MonetDB from source with enable r integration
i get the following.
make[7]: Entering directory
'/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5/extras/rapi'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../.. -I. -I../../../common/options -I./../../../common/options
-I../../../common/stream -I./../../../common/stream -I../../../gdk
-I./../../../gdk -I../../mal -I./../../mal -I../../../sql/include
-I./../../../sql/include -D_FORTIFY_SOURCE=2 -DLIBRAPI -O3
-fomit-frame-pointer -pipe -march=x86-64 -mtune=generic -pipe
-fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-D_REENTRANT -c -o lib_rapi_la-rapi.lo `test -f 'rapi.c' || echo
'./'`rapi.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I.
-I../../../common/options -I./../../../common/options
-I../../../common/stream -I./../../../common/stream -I../../../gdk
-I./../../../gdk -I../../mal -I./../../mal -I../../../sql/include
-I./../../../sql/include -D_FORTIFY_SOURCE=2 -DLIBRAPI -O3
-fomit-frame-pointer -pipe -march=x86-64 -mtune=generic -pipe
-fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-D_REENTRANT -c rapi.c -fPIC -DPIC -o .libs/lib_rapi_la-rapi.o
rapi.c:42:23: fatal error: Rembedded.h: No such file or directory
#include
Hi Brian,
On 06 Nov 2014, at 19:30, Brian Hood
wrote: rapi.c:42:23: fatal error: Rembedded.h: No such file or directory #include My Rembedded.h exists here
/usr/lib64/R/include/Rembedded.h
Is there some environment variables i can set for the location of the my R header files ?
Try running ./configure with the full path to your R binary, e.g. ./configure --enable-rintegration=/scratch/hannes/r-install/bin/R Also, check the output of R CMD config —cppflags and see whether this matches. Best, Hannes
Hi Hannes,
It seems it was todo with the dynamic shared library not being built into
my Language R compile i rebuilt with --enable-R-shlib then rebuilt my
MonetDB package and it worked fine.
Thanks for the pointers.
Regards,
Brian Hood
On Fri, Nov 7, 2014 at 8:09 AM, Hannes Mühleisen
Hi Brian,
On 06 Nov 2014, at 19:30, Brian Hood
wrote: rapi.c:42:23: fatal error: Rembedded.h: No such file or directory #include My Rembedded.h exists here
/usr/lib64/R/include/Rembedded.h
Is there some environment variables i can set for the location of the my R header files ?
Try running ./configure with the full path to your R binary, e.g. ./configure --enable-rintegration=/scratch/hannes/r-install/bin/R
Also, check the output of
R CMD config —cppflags
and see whether this matches.
Best,
Hannes
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (2)
-
Brian Hood
-
Hannes Mühleisen