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 <Rembedded.h> ^ compilation terminated. Makefile:825: recipe for target 'lib_rapi_la-rapi.lo' failed make[7]: *** [lib_rapi_la-rapi.lo] Error 1 make[7]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5/extras/rapi' Makefile:499: recipe for target 'all' failed make[6]: *** [all] Error 2 make[6]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5/extras/rapi' Makefile:526: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5/extras' Makefile:479: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5/extras' Makefile:522: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5' Makefile:475: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3/monetdb5' Makefile:586: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/data2/AUR/monetdb/src/MonetDB-11.19.3' Makefile:515: recipe for target 'all' failed make: *** [all] Error 2
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 ?
Regards,
Brian Hood
Hi Brian,
On 06 Nov 2014, at 19:30, Brian Hood brianh6854@googlemail.com wrote: rapi.c:42:23: fatal error: Rembedded.h: No such file or directory #include <Rembedded.h>
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 Hannes.Muehleisen@cwi.nl wrote:
Hi Brian,
On 06 Nov 2014, at 19:30, Brian Hood brianh6854@googlemail.com wrote: rapi.c:42:23: fatal error: Rembedded.h: No such file or directory #include <Rembedded.h>
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