- 博客(9)
- 资源 (4)
- 收藏
- 关注
原创 linux 下编译radius时出现libtool: Command not found 的错误
linux 下编译radius时出现libtool: Command not found 用命令查看libtool存在已经存在了,为什么会报错呢?后面认真分析了下, 原因是系统的ibtool版本不同,解决办法是重新生成makefie,执行如下命令: make distclean ./configure --prefis=/usr/local/radius
2013-12-17 15:20:12 1709
原创 ubuntu 编译是出现 error: openssl/rsa.h: No such file or directory
Ubuntu10.04下 编译opensll代码是出现如下错误的解决办法是:error: openssl/rsa.h: No such file or directoryIn file included from main.cpp:12:**.h:26: error: ‘RSA’ has not been declared**.h:28: error: ‘RSA’ has not b
2013-12-17 15:01:13 9159
原创 linux 编译出现 zlib.h: No such file or directory
昨天在另外一台机器上编译代码没有问题,但是换到新的环境就出问题来,编译提示 “error: zlib.h: No such file or directory”,开始以为是拷贝文件是少了什么文件,后面认真看了下,原来是系统里面没有安装 zlib开发包.执行 apt-get install zlib1g-dev 。然后重新编译就解决了。
2013-12-17 11:43:39 12377 1
原创 linux 常用命令
1.查看Ubuntu版本信息等。 1.1 产看ubuntu版本号 cat /etc/issue//显示//ubuntu 12.04.3 LTS \n \l 1.2 查看内核详细信息 uname -a//显示//Linux ***-desktop 3.2.0-57-generic #87-Ubunt//u SMP Tue Nov 12 21:38:12 UTC
2013-12-13 16:08:10 738
原创 Ubuntu 编译报错 undefined reference to ’d2i_RSAPrivateKey‘
开始以为只需要SSL的库就好了,后面百度了很久才发现,还要加个-lcrypto: LIBS = -L/usr/lib/i386-linux-gnu -lpthread -lssl -lcrypto
2013-12-11 15:39:24 1440
原创 vm 下恢复虚拟机快照出错
To revert to this snapshot, you must change the host pixel format to match that of the guest. The host's current settings are: depth 24, bits per pixel 32. The guest's current settings are: depth 24
2013-12-11 14:21:09 9697 1
原创 vm虚拟机下设置Ubuntu共享
第一步:启动Ubuntu 1.在VMware虚拟机界面,点VM->Install VMware Tools,让后把vm的tar.gz文件拷到其他目录下。 2.打开终端,进入解压的文件夹中,输入以下命令: a) tarzxf VMwareTools.tar.gz b) cd/vmware-tools-dist
2013-12-09 19:28:59 696
原创 ubuntu10.04下安装 kdevelop
今天在ubuntu10.04下安装kdevelop(apt-get install kdevelop),一直提示说找不到包。换了各种源还是没用,后来在https://help.ubuntu.com/community/Repositories/Kubuntu中找到了解决方案。 Commandline methodOr, you could just type a line or
2013-12-05 13:16:57 987
原创 Ubuntu 虚拟机下设置nat上网
1.修改IP信息:vim /etc/network/interfaces;添加如下信息 auto eth0 iface eth0 inet static address 192.168.117.100(网段要和vm编辑-》编辑虚拟网络-》vm8的网段时同一个网段) netmask 255.255.255.0 gateway 192.168.117.2(可以从网段要和vm编
2013-12-05 11:26:19 683
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人