doudi8298 2013-10-08 08:02
浏览 1498

debuild notify make [1]:go:找不到命令

I need to build a deb for my golang program.

When I run debuild -uc -us it tells:

fakeroot debian/rules clean 
dh clean  
dh_testdir  
dh_auto_clean  
make[1]: Entering directory `/home/vagrant/zbus'  
go clean ./zbus-cli/  
make[1]: go: Command not found  
make[1]: *** [clean] Error 127  
make[1]: Leaving directory `/home/vagrant/zbus'  
dh_auto_clean: make -j1 clean returned exit code 2  

my go compiler is installed correctly, why it still command not found?

  • 写回答

1条回答 默认 最新

  • duancong2965 2014-03-24 17:45
    关注

    Apparently, I just had this problem and found that a package was missing to use this go command.

    On Ubuntu, I had to install the golang-go package.

    sudo apt-get install golang-go
    

    Also, I actually just typed go at the terminal and it gave me the same command to type to retrieve that package.

    评论

报告相同问题?

悬赏问题

  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献