:-1: error: No rule to make target 'wqLineItem.cpp', needed by 'debug/wqLineItem.o'. Stop.
原来这个原因是丢失文件啊 ,终于明白了 ,看来网上的代码不可信
有个已有的Makefile,执行过程中出错:
CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding/src $ make html =============================== cleaning html ============================== rm -rf ../output/html/single/* make: *** No rule to make target ` ‘, needed by `../output/html/single/python_topic_str_encoding.html’. Stop.
【解决过程】
1.换到别的,和当前文件夹等价的路径中去执行,结果却是正常的:
CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding/src $ cd ../../python_topic_web_scrape/src
CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_web_scrape/src $ make html =============================== cleaning html ============================== rm -rf ../output/html/single/* =============================== generating html ============================== export XML_CATALOG_FILES="/home/develop/docbook/config_root/catalog/catalog.xml" && \ export XML_DEBUG_CATALOG=1 && \