内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lastsweetop/article/details/89175602
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lastsweetop/article/details/89175602
问题描述
在初次使用actix-web时就遇到个大坑,cargo build或者cargo run时
报错
error: failed to run custom build command for `miniz-sys v0.1.11` process didn't exit successfully: `/Users/apple/Documents/mydream/rust/my-actix-web/target/debug/build/miniz-sys-f1a7e649d83ac816/build-script-build` (exit code: 101)
还有一段
error: failed to run custom build command for `brotli-sys v0.3.2` process didn't exit successfully: `/Users/apple/Documents/mydream/rust/my-actix-web/target/debug/build/brotli-sys-7f2d0418ae4fe23f/build-script-build` (exit code: 101)
原因分析
主要是Mac OS升级到Mojave之后cctools版本不对引起的
问题解决
需要由855升级到921
但升级到时候就发现port也无法使用了,因此先现在对应的macport版本
Install MacPorts for macOS Mojave v10.14执行更新
sudo port -v selfupdate
重新安装cctools
sudo port install cctools
然后再构建就会发现问题解决了
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Building Websites with Joomla!
H Graf / Packt Publishing / 2006-01-20 / USD 44.99
This book is a fast paced tutorial to creating a website using Joomla!. If you've never used Joomla!, or even any web content management system before, then this book will walk you through each step i......一起来看看 《Building Websites with Joomla!》 这本书的介绍吧!