我正在尝试在 Heroku 上部署一个使用 Authen::Captcha
的 Dancer2 应用程序,该应用程序需要 GD
模块,该模块也需要 libgd2-xpm-dev 包。
我的应用程序无法推送 Heroku,并显示以下错误消息:
remote: ! Configure failed for GD-2.56. See /app/.cpanm/work/1468427280.295/build.log for details.
remote: ! Installing the dependencies failed: Module 'GD' is not installed
remote: ! Bailing out the installation for Authen-Captcha-1.024.
! Installing the dependencies failed: Module 'GD' is not installed, Module 'Authen::Captcha' is not installed
remote: ! Bailing out the installation for ..
remote:
remote: ! Push rejected, failed to compile Perl/PSGI app
有谁知道如何解决这个问题?
我无法在 Heroku 上安装所需的 libgd
包,所以我使用Authen::Captcha
的替代品来解决这个问题 Dancer::Plugin::reCAPTCHA
或WebService::CaptchasDotNet
.