You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/07/25 20:57:14 UTC
[GitHub] [incubator-mxnet] larry77 commented on issue #15649: Installation
Fails on Debian Stable Machine
larry77 commented on issue #15649: Installation Fails on Debian Stable Machine
URL: https://github.com/apache/incubator-mxnet/issues/15649#issuecomment-515211654
Hello,
And thanks for helping out.
I have the files
~$ ls mxnet/lib/libmxnet.so
-rwxr-xr-x 1 lorenzo lorenzo 71740832 Jul 24 17:25 mxnet/lib/libmxnet.so
~$ ls mxnet/R-package/inst/libs/libmxnet.so
-rwxr-xr-x 1 root root 71740832 Jul 24 21:57 mxnet/R-package/inst/libs/libmxnet.so
What I do not have is
/home/lorenzo/mxnet/R-package/R-package/inst/libs/libmxnet.so
because I do not have an R-package directory nested inside another R-package directory.
This is the content of my R-package
ls R-package/
total 40
drwxr-xr-x 2 lorenzo lorenzo 213 Jul 24 17:11 demo
-rw-r--r-- 1 lorenzo lorenzo 1036 Jul 24 17:11 DESCRIPTION
-rw-r--r-- 1 lorenzo lorenzo 507 Jul 24 17:11 dummy.NAMESPACE
drwxr-xr-x 4 root root 45 Jul 24 18:06 inst
-rw-r--r-- 1 lorenzo lorenzo 11350 Jul 24 17:11 LICENSE
-rw-r--r-- 1 root root 520 Jul 25 22:45 NAMESPACE
drwxr-xr-x 2 lorenzo lorenzo 4096 Jul 24 17:11 R
-rw-r--r-- 1 lorenzo lorenzo 1170 Jul 24 17:11 README.md
drwxr-xr-x 2 lorenzo lorenzo 4096 Jul 24 18:07 src
drwxr-xr-x 3 lorenzo lorenzo 30 Jul 24 17:11 tests
drwxr-xr-x 2 lorenzo lorenzo 4096 Jul 24 17:11 vignettes
And I did not alter anything by hand in the structure of the directory. All I did was
git clone --recursive https://github.com/apache/incubator-mxnet.git mxnet
cd mxnet/docs/install
./install_mxnet_ubuntu_python.sh
./install_mxnet_ubuntu_r.sh
Could it be a trivial problem, meaning that everything is fine but for some reason R gets confused and looks for the library in the wrong place?
###################################
As to building from source according to
$ git clone --recursive https://github.com/apache/incubator-mxnet
$ cd incubator-mxnet
$ echo "USE_OPENCV = 1" >> ./config.mk
$ echo "USE_BLAS = openblas" >> ./config.mk
$ make -j $(nproc)
I have a problem: the process fails due to the absence of cuda.h, but I would like to build for the CPU only.
Any suggestion is very welcome!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services