首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ubuntu14.04LTS上编译fileZilla

在ubuntu14.04LTS上编译fileZilla
EN

Stack Overflow用户
提问于 2015-11-01 21:10:03
回答 1查看 3.5K关注 0票数 4

我试图从它的源代码编译FileZilla。它需要C++ 14的支持,而gcc4.9是必需的。无论高于4.8版本,我试着安装,没有变化。

上面的ubuntu版本没有gcc4.9吗?

我得到的错误是:

代码语言:javascript
复制
checking whether g++ supports C++14 features by default... no
checking whether g++ supports C++14 features with -std=gnu++14... no
checking whether g++ supports C++14 features with -std=gnu++1y... no
checking whether g++ supports C++14 features with -std=c++14... no
checking whether g++ supports C++14 features with -std=c++1y... no
configure: error: *** A compiler with support for C++14 language features is required

有人能帮忙吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-02 03:17:17

安装gcc-4.9 g++-4.9可能会有帮助,并将其设置为默认gcc。

代码语言:javascript
复制
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9

然后gcc-4.9将在您的ubuntu版本。

注:我的版本是ubuntu 14.04

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33467250

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档