| 1 | get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES) | 
life's a struggle.
      
      Intelligence without ambition is a bird without wings.
    
		
		
			 2015-01-29 
									
		
	
			
			 2015-01-29 
									
		
	
			
  
  阅读此文
		
			
	
		
		
			 2015-01-29 
									
		
	
			- python-pip - python包管理 
			 2015-01-29 
									
		
	
			原因
文件格式为DOS格式,#! /usr/bin/env python后有\r\n,而/usr/bin/env的参数为python\r,
找不到即报改错;因为有\r在python输出后回到行首继续打印,则导致
: No such file or directory
解决
文件格式改为UNIX格式
参考
			 2015-01-29 
									
		
	
			只使用./configure --prefix
当使用make install时,被安装到prefix为前缀的指定目录
使用./configure --prefix和make install DESTDIR
目标安装目录为DESTDIR/prefix
只要使用了make install prefix=DIR
安装目录为DIR
注意
- ./configure -prefix必须是绝对路径
- make install prefix也要绝对路径,虽然可以是相对路径,但安装时,因为切换工作目录,导致安装目录错误!
参考
			 2015-01-29 
									
		
	
			
  
  阅读此文
		
			
	
		
		
			 2015-01-29 
									
		
	
			环境
- ubuntu-14.04 
- nautilus-3.10.1 
步骤
- 安装 - nautilus-open-terminal- sudo apt-get install nautilus-open-terminal
- 退出nautilus - nautilus -q
- 编辑配置文件 - gvim ~/.config/nautilus/accels
- 反注释掉该行,并添加映射 - (gtk_accel_path “ - /ExtensionsMenuGroup/NautilusOpenTerminal::open_terminal” “F4”) 
			 2015-01-28 
									
		
	
			
  
  阅读此文
		
			
	
		
		
			 2015-01-28 
									
		
	
			- 安装 - apt-file- sudo apt-get install apt-file
- 更新数据库 - sudo apt-file update
- 查询 - apt-file search /usr/include/arpa/inet.h
参考
			 2015-01-28 
									
		
	
			sudo echo "192.192.192.243 svn.meichuan.com" >>/etc/hosts