标签:
参考网址:
1、
【CentOS 6.5】QtCreator启动时关于dbus-1的错误解决方法
dbus_connection_can_send_type
http://www.th7.cn/system/lin/201403/50571.shtml
2、
ubuntu下的c/c++环境搭建(转)
http://www.cnblogs.com/hitwtx/archive/2011/12/03/2274556.html
3、
Ubuntu 中安装C++编程环境
http://kevinbest0702.blog.163.com/blog/static/8540974620115138387219/
4、
sudo apt-get install build-essential libgl1-mesa-dev
http://doc.qt.io/qt-5/linux.html
5、
Ubuntu 12.04 安装 gcc-4.8 及 gdb 7.6
http://my.oschina.net/zenglingfan/blog/169564
6、
【查看版本】
rpm -q gdb 或 gdb --version
7、
安装 curses/termcap库 for CentOS
http://blog.sina.com.cn/s/blog_62cd41130100rmwx.html
“
1.到网上下载这个库http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz,同样的需要解压、configure、make。(./configure –with-named-curses-libs=/usr/lib/libncurses.so.5,指定目录比较重要,这里提供参考。)
2.另一种方法就是简单的yum命令了,输入yum install ncurses-devel,自动完成。
”
8、
在Linux CentOS 6.6上安装Python 2.7.9
http://www.cnblogs.com/dudu/p/4294238.html
9、
Debugger does not start. GDB not support Python scripting.
"
./configure --with-python
make
make install
"
http://forum.qt.io/topic/41667/debugger-does-not-start-gdb-not-support-python-scripting
9.1、
make的时候,报错:
“
configure: loading cache ./config.cache
configure: error: `YACC‘ has changed since the previous run:
configure: former value: `/mnt/lfs/sources/binutils-2.22/missing bison -y‘
configure: current value: `bison -y‘
configure: error: in `/mnt/lfs/sources/binutils-build/binutils‘:
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean‘ and/or `rm ./config.cache‘ and start over
make[1]: *** [configure-binutils] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build‘
make: *** [all] Error 2
lfs@UBUNTU-32bit:/mnt/lfs/sources/binutils-build$
”
还需要安装 bison:yum install bison (ZC: 但是它又说 bison已经是最新版了)
看上去是 关于bison,实际是 要把目录删掉,重新 ./configure --with-python, make, make install
X
标签:
原文地址:http://www.cnblogs.com/CodeSkill/p/5157688.html