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