我一直在尝试使用imagick部署一个简单的 Go 应用程序 这需要Imagemagick. 我已经尝试使用多 buildpack来安装 Imagemagick 并运行我的应用程序。这是我的.buildpack样子:https://github.com/mcollina/heroku-buildpack-imagemagickhttps://github.com/kr/heroku-buildpack-go.git这是我在 Heroku 上看到的错误: Fetching repository, done.Counting objects: 170, done.Compressing objects: 100% (154/154), done.Writing objects: 100% (169/169), 170.13 KiB | 0 bytes/s, done.Total 169 (delta 21), reused 0 (delta 0)-----> Fetching custom git buildpack... done-----> Multipack app detected=====> Downloading Buildpack: https://github.com/mcollina/heroku-buildpack-imagemagick=====> Detected Framework:-----> Installing libpng 1.5.14 Download completed Installation completed-----> Installing imagemagick 6.8.2-3 Download completed Installation completed-----> Building runtime environment for imagemagick=====> Downloading Buildpack: https://github.com/kr/heroku-buildpack-go.git=====> Detected Framework: Go-----> Installing go1.3... done-----> Running: godep go install -tags heroku ./...# github.com/gographics/imagick/imagickerror: 'RemoveAlphaChannel' undeclared (first use in this function)error: 'FlattenAlphaChannel' undeclared (first use in this function)godep: go exit status 2 ! Push rejected, failed to compile Multipack appTo git@heroku.com:philosoraptor-me.git ! [remote rejected] master -> master (pre-receive hook declined)error: failed to push some refs to
- 2 回答
- 0 关注
- 174 浏览
添加回答
举报
0/150
提交
取消