anandtr71 opened a new issue #20460:
URL: https://github.com/apache/incubator-mxnet/issues/20460


   ## Description
   After building MXNet 1.8 from source on Mac OS Big Sur 11.4, 'make -f 
R-package/Makefile rpkg' fails
   
   ### Error Message
   (Paste the complete error message. Please also include stack trace by 
setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=100` before running 
your script.)
   (base) Mac-3 incubator-mxnet % make -f R-package/Makefile rpkg
   mkdir -p R-package/inst/libs
   cp src/io/image_recordio.h R-package/src
   if [ -d "lib" ]; then \
                cp -rf lib/libmxnet.so R-package/inst/libs; \
                if [ -e "lib/libtvm_runtime.so" ]; then \
                        cp -rf lib/libtvm_runtime.so R-package/inst/libs; \
                fi; \
        else \
                cp -rf build/libmxnet.so R-package/inst/libs; \
                if [ -e "build/libtvm_runtime.so" ]; then \
                        cp -rf build/libtvm_runtime.so R-package/inst/libs; \
                fi; \
        fi
   cp: build/libmxnet.so: No such file or directory
   mkdir -p R-package/inst/include
   cp -rl include/* R-package/inst/include
   cp: illegal option -- l
   usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
          cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... 
target_directory
   make: *** [rpkg] Error 64
   
   ## To Reproduce
   (If you developed your own code, please provide a short script that 
reproduces the error. For existing examples, please provide link.)
   run make -f R-package/Makefile rpkg after compiling MXNet 1.8 from source on 
Mac OS Big Sur 11.4
   
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1.make -f R-package/Makefile rpkg
   2.
   
   ## What have you tried to solve it?
   1. Reinstalled opencv (opencv 4.5.3_1 is already installed and up-to-date.)
   2. Reinstalled openblas (openblas 0.3.17 is already installed and up-to-date)
   
   ## Environment
   Mac OS Big Sur 11.4
   
   ***We recommend using our script for collecting the diagnostic information 
with the following command***
   `curl --retry 10 -s 
https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
 | python3`
   
   <details>
   <summary>Environment Information</summary>
   
   ```
   # Paste the diagnose.py command output here
   ```
   
   </details>
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to