make clean / distclean
breaks the build
#826
Comments
Hello All, On the same note, when following the README installation instructions I [ 0%] Building CXX object clang: error: no input files /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found make[2]: *** [lang/py/support/CMakeFiles/libsupport.dir/NumpyVector.cpp.o] make[1]: *** [lang/py/support/CMakeFiles/libsupport.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 1%] [ 2%] Building CXX object Building CXX object nta/math/CMakeFiles/libmath.dir/stl_io.cpp.o clang: error: no input files clang: error: no input files /bin/sh: -DNDEBUG: command not found /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found make[2]: *** [nta/math/CMakeFiles/libmath.dir/SparseMatrixAlgorithms.cpp.o] make[2]: *** Waiting for unfinished jobs.... /bin/sh: -fPIC: command not found make[2]: *** [nta/math/CMakeFiles/libmath.dir/stl_io.cpp.o] Error 127 make[1]: *** [nta/math/CMakeFiles/libmath.dir/all] Error 2 [ 3%] [ 4%] Building CXX object [ 5%] Building CXX object clang: error: no input files Building CXX object nta/algorithms/CMakeFiles/libalgorithms.dir/Cells4.cpp.o /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found make[2]: *** make[2]: *** Waiting for unfinished jobs.... clang: error: no input files clang: error: no input files /bin/sh: -DNDEBUG: command not found /bin/sh: -DNDEBUG: command not found /bin/sh: -fPIC: command not found /bin/sh: -fPIC: command not found make[2]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/Cells4.cpp.o] make[2]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/Cell.cpp.o] Error make[1]: *** [nta/algorithms/CMakeFiles/libalgorithms.dir/all] Error 2 make: *** [all] Error 2 I changed my .bashrc file to the following and download all the export NUPIC=~/nupic export NTA=$NUPIC/build/release export NTA_ROOTDIR=$NTA export PYTHONPATH=$PYTHONPATH:$NTA/lib/python2.7/site-packages Thank you, Matt On Wed, Apr 16, 2014 at 3:57 PM, vitaly-krugl notifications@github.comwrote:
Regards, Matthew W. Roesener |
Ok guys, thanks for reporting! The readme is wrong. On Thu, Apr 17, 2014 at 2:00 AM, roesenerm notifications@github.com wrote:
Marek Otahal :o) |
@breznak, I think you're suggesting that the Something like this:
|
@vitaly-krugl yes. I'm even not sure if mention it in readme at all (as it now if you want to ensure absolutely clean build from the beginning, call --the conclusion is, we can't write in the readme just: "make clean; cmake; |
@breznak Can you fix the README with a PR that closes this ticket? |
@rhyolight sure, I'm just not sure how to phrase it, as readme should imho |
I would say just remove the line |
Actually I always find this You would not be able to run Probably I didn't express the confusion clearly enough, but I guess you can get it. Just feels weird and not right somehow. |
Related to #788 . From https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets :
|
Following instructions in the NuPIC README, I executed the following sequence
The pertinent environment variables are:
The failure looks like this:
If I skip
make clean / distclean
, then the build completes successfully.The text was updated successfully, but these errors were encountered: