hannes / MonetDBLite

MonetDB reconfigured as a library
108 stars 11 forks source link

MonetDBLite installation error on R on Ubuntu #198

Closed tmastny closed 6 years ago

tmastny commented 6 years ago

Hi,

I was able to install MonetDBLite without issue on OS X El Capitan 10.11.6. However, I am running into issues installing it on my other machine.

I'm running simply install.packages("MonetDBLite")

Session Info:

R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0

locale:
 [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C         LC_TIME=C            LC_COLLATE=C        
 [5] LC_MONETARY=C        LC_MESSAGES=C        LC_PAPER=C           LC_NAME=C           
 [9] LC_ADDRESS=C         LC_TELEPHONE=C       LC_MEASUREMENT=C     LC_IDENTIFICATION=C 

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] httr_1.3.1      compiler_3.4.2  R6_2.2.2        tools_3.4.2     withr_2.0.0    
 [6] curl_3.0        yaml_2.1.14     memoise_1.1.0   git2r_0.19.0    digest_0.6.12  
[11] devtools_1.13.3

However, the setup is actually a little more complicated. The Ubuntu install is actually Ubuntu on Windows. I realize this is probably an unsupported configuration, but this is the first R package that I haven't been able to get working and would appreciate some advice.

Here's what seems to be the error message:

* Available features/extensions:
./configure: line 24499: syntax error near unexpected token `;'
./configure: line 24499: `; do'
rm: cannot remove 'libmonetdb5.so': No such file or directory
** libs
** arch - 
Makefile:957: warning: overriding recipe for target 'all'
Makefile:451: warning: ignoring old recipe for target 'all'

#
# lots of `checking`....
#

* Available features/extensions:
./configure: line 24499: syntax error near unexpected token `;'
./configure: line 24499: `; do'
Makefile:480: recipe for target 'config.status' failed
make: *** [config.status] Error 2
ERROR: compilation failed for package ‘MonetDBLite’
* removing ‘/home/tmastny/R/x86_64-pc-linux-gnu-library/3.4/MonetDBLite’
Warning in install.packages :
  installation of package ‘MonetDBLite’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpkaTCH4/downloaded_packages’
hannes commented 6 years ago

Please try the dev version from GH. We have removed the configure script recently.

tmastny commented 6 years ago

Thanks, this

git clone https://github.com/hannesmuehleisen/MonetDBLite-R.git --depth 1 --recursive
R CMD INSTALL MonetDBLite-R

worked.

hannes commented 6 years ago

Wow so we can now claim to also support Ubuntu on Windos :)