当尝试使用make文件运行go程序时,以下代码不起作用。我尝试显式地设置env变量,方法是使用一条语句来设置(export),另一条语句用于运行我的go代码,其中我读取了env变量。这不管用。test: go run main.go 与上面相同,在make文件中实现如下所示,我的go代码能够读取env变量。
从basemap-1.x.x目录中,我切换到了geos目录并设置了GEOS_DIR环境变量。$ make installMakefile:373: recipe for target 'IndexedPointInAreaLocator.lo' failed-1.0.7/geos-3.3.3/src/algorithm/locate'
Makefile:392: rec
我有一个厨师工作站的设置和工作正常。我想使用Makefile包装一些刀命令。upload_roles nodes knife upload /roles
knife list nodes$ makeupload_rolesWARNING: No knife configuration file found
knife listERROR: Current wo