美文网首页
Golang 编译zhmakeindex

Golang 编译zhmakeindex

作者: 破旧的大卡车 | 来源:发表于2022-11-08 09:46 被阅读0次

windows 下的没有问题, mac下好像不能运行. 故尝试重新编译.

  1. 参考官方安装go.
  2. 编译zhmakeindex
git clone https://github.com/leo-liu/zhmakeindex.git
cd zhmakeindex
go mod init zhmakeindex
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn
go build
install.sh

若出现fatal error: runtime: bsdthread_register error, 则按照https://www.cnblogs.com/layezi/p/16216085.html, 使用

brew doctor

重新安装brew/core brew/cask等即可.

相关文章

  • Golang 编译zhmakeindex

    windows 下的没有问题, mac下好像不能运行. 故尝试重新编译. 参考官方安装go. 编译zhmakein...

  • Golang 交叉编译

    [TOC] 说明 本文交叉编译需要 1.5 以上 Golang Mac 下编译 windows 64 Golang...

  • golang进行交叉编译

    golang进行交叉编译 交叉编译即编译不同操作系统平台的可执行程序 golang执行交叉编译,只需要使用两个变量...

  • go如何进行交叉编译

    golang交叉编译 问题 golang如何在一个平台编译另外一个平台可以执行的文件。比如在mac上编译Windo...

  • go 语言学习

    Golang 在 Mac、Linux、Windows 下如何交叉编译 Mac 下编译 Linux 和 Window...

  • Golang在Mac OS上的环境配置

    Golang是Google开发的一种编译型,平行化,具有垃圾回收功能的编译语言,还和C一样有指针。Golang是天...

  • Golang聚合

    教程 Go Web 编程Go语言圣经(中文版) Tips Golang 学习笔记——交叉编译 & 部署Golang...

  • fabric如何定制chaincode运行container

    以golang语言chaincode为例子,当前golang chaincode是编译成一个叫chaincode的...

  • 如何在 Golang 中使用 MQTT

    Golang[https://golang.org/] 是 Google 开发的一种静态强类型、编译型、并发型,并...

  • Golang Protobuf

    编译安装编译器protoc 安装插件 go get -u github.com/golang/protobuf/p...

网友评论

      本文标题:Golang 编译zhmakeindex

      本文链接:https://www.haomeiwen.com/subject/wzkwtdtx.html