Tuesday 5 May 2015

make[1]: *** No rule to make target `classdist_noinst.stamp', needed by `org/zeromq/ZMQ.class'.



You may face this issue while installing jzmq as storm node dependancy.


sfuser@master:~/jzmq$ sudo make install
Making install in src
make[1]: Entering directory `/home/sfuser/jzmq/src'
make[1]: *** No rule to make target `classdist_noinst.stamp', needed by `org/zeromq/ZMQ.class'.  Stop.
make[1]: Leaving directory `/home/sfuser/jzmq/src'
make: *** [install-recursive] Error 1


Solution:

replace the classdist_noinst.stamp with classnoinst.stamp in ~/jzmq/src/Makefile.am

sed -i 's/classdist_noinst.stamp/classnoinst.stamp/g' ~/jzmq/src/Makefile.am


and ensure JAVA_HOME is set.



No comments:

Post a Comment