Failed installation: cannot overwrite non-directory 'R-package/inst/include/dmlc' with directory '3rdparty/dmlc-core/include/dmlc'


Hello everybody. It is my 1st post here. I’m trying to install mxnet under Ubuntu 16.04, CUDA 9.0 but at the moment I’m stucked on package compilation because I get back such error:
> nicola@nicola-Precision-WorkStation-T5500:~/mxnet$ sudo make rpkg
> [sudo] password for nicola:
> mkdir -p R-package/inst/libs
> cp src/io/image_recordio.h R-package/src
> cp -rf lib/ R-package/inst/libs
> mkdir -p R-package/inst/include
> cp -rf include/* R-package/inst/include
> cp -rf 3rdparty/dmlc-core/include/* R-package/inst/include/
> cp: cannot overwrite non-directory ‘R-package/inst/include/dmlc’ with directory ‘3rdparty/dmlc-core/include/dmlc’
> Makefile:594: recipe for target ‘rpkg’ failed
> make: *** [rpkg] Error 1

Does anybody know any possible solution to this issue?

Thank you


Hi @kbolab,

Just to double check, you managed to build the MXNet Shared Library okay right? Instruction found here.


Also did you try using the quick setup script for Ubuntu?

git clone --recursive mxnet
cd mxnet/docs/install


Yes I did. But nothing to do. During compiling there are some broken links that are generated and the script doesn’t allow to overwrite them. I tried both using directly R bash script and by manual installation, even using sudo before script. Nothing to do.