sl1pkn07 edited a comment on issue #13578: [CMake] Make install / ninja install 
failing [dmlc-core]
URL: 
https://github.com/apache/incubator-mxnet/issues/13578#issuecomment-482710354
 
 
   same problem here. seems try to install symlinks instead of real files
   
   ~~~
   make -C build DESTDIR=/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git install
   make: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[1]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [  2%] Built target dmlc
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [ 92%] Built target mxnet_static
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [ 93%] Built target mxnet
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [ 94%] Built target im2rec
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   Running: OpWrapperGenerator.py
   make[2]: se entra en el directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [100%] Built target mxnet_unit_tests
   make[2]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   [100%] Built target cpp_package_op_h
   make[1]: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   Install the project...
   -- Install configuration: "None"
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/lib/libmxnet.so.1.4
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/lib/libmxnet.so.0
   -- Set runtime path of 
"/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/lib/libmxnet.so.1.4" to ""
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/lib/libmxnet.so
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/lib/libmxnet.a
   -- Installing: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include
   -- Installing: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/nnvm
   -- Installing: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/tuple.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/tensor_blob.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/storage.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/rtc.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/resource.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/random_generator.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/operator_util.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/operator.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/op_attr_types.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/ndarray.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/libinfo.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/kvstore.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/io.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/imperative.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/graph_attr_types.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/executor.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/engine.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/c_predict_api.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/c_api_test.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/c_api_error.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/c_api.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mxnet/base.h
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mshadow
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/mkldnn
   -- Installing: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/dmlc
   -- Installing: 
/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/dlpack
   -- Up-to-date: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include
   -- Installing: /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/nnvm
   CMake Error at cmake_install.cmake:102 (file):
     file INSTALL cannot make directory
     "/tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/nnvm": No such
     file or directory
   
   
   make: *** [Makefile:86: install] Error 1
   make: se sale del directorio '/tmp/makepkg/sl1-mxnet-git/src/build'
   └───╼  ls /tmp/makepkg/sl1-mxnet-git/pkg/sl1-mxnet-git/usr/include/
   total 0
   drwxr-xr-x 3 sl1pkn07 users 160 abr 12 22:09 .
   drwxr-xr-x 4 sl1pkn07 users  80 abr 12 22:09 ..
   lrwxrwxrwx 1 sl1pkn07 users  33 abr 12 22:09 dlpack -> 
../3rdparty/dlpack/include/dlpack
   lrwxrwxrwx 1 sl1pkn07 users  34 abr 12 22:09 dmlc -> 
../3rdparty/dmlc-core/include/dmlc
   lrwxrwxrwx 1 sl1pkn07 users  26 abr 12 22:09 mkldnn -> 
../3rdparty/mkldnn/include
   lrwxrwxrwx 1 sl1pkn07 users  27 abr 12 22:09 mshadow -> 
../3rdparty/mshadow/mshadow
   drwxr-xr-x 2 sl1pkn07 users 480 abr 12 22:09 mxnet
   lrwxrwxrwx 1 sl1pkn07 users  33 abr 12 22:09 nnvm -> 
../3rdparty/tvm/nnvm/include/nnvm
    ~~~
   
   
   the build process is doing outside the mxnet sources 
   
   ~~~
   mkdir -p build
   cd build
   cmake ../incubator-mxnet -Dfoo
   ~~~
   
   greetings

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to