易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux下编译和安装软件的方法

For all those who are beginners in any linux(ubuntu) find hard to find the package files of their distro and end up in finding an source package(which is either in tar.gz or .gz).. so now people think how to install these source files…..
lets now see how would you be installing source files in ubuntu…..
source files contain the programs and hence before the installation you need to compile them… so you need to install the build-essentials from the synaptic package manager…. else this build-essentials is already present in the cd.. and so you can install it…..else you can install it typing it in the terminal by
sudo aptitude install build-essential
suppose you have a source file name src.tar.gz, what you do initially is that you need to extract the source files and then in the terminal….
navigate to the folder where the source file is extracted using the cd commands….. and then
type the following…
./configure
make
sudo make install
clean install
lets see what each one of them does…
./configure….. checks whether the required dependencies are available on your system or not….. if not an error is reported….
make compiles the source code and make install is used to install the program in to the location
if it asks for an installation location it is recommended to install all the source to /usr/src
clean install removes any temporary files created in the installation process of the source
and thats it your source file in installed in your system.


相关文档:

实战Linux Bluetooth编程 (七) SDP协议

Service Discovery Protocol(SDP)提供一种能力,让应用程序有方法发现哪种服务可用以及这种服务的特性。
服务发现协议(SDP或Bluetooth SDP)在蓝牙协议栈中对蓝牙环境中的应用程序有特殊的含意,发现哪个服务是可用的和确定这些可用服务的特征。SDP定义了bluetooth client发现可用bluetooth server服务和它们的特征的方法。 ......

linux下杀子进程(调用kill)

在linux里面,fork()一个子进程,结果怎么都杀不掉。由于不是root用户,使用kill -9 pid,也没用。
在ps -awt的时候总是能看到那个子进程。我在子进程里面起了个shell。
后来google了一下,发现要调用waitpid才可以。
这个是所谓的zombie(僵尸进程)
引用一段:
在fork()/execve()过程中,假设子进程结束时父进程仍 ......

linux fedora12 qt4 eclipse

i didn't test.
 under fedora12
install qt eclipse when install the operation system
qt version is 4.5.3
eclipse version is 3.5.1
download qt-eclipse-integration-linux.x86<version>.tar.gz
after that
Find your eclipse/plugins folder.
If you installed Eclipse to /usr/local, you wil ......

Linux内核中内存cache的实现


1. 前言
kmem_cache是Linux内核提供的快速内存缓冲接口,这些内存块要求是大小相同的,因为分配出的内
存在接口释放时并不真正释放,而是作为缓存保留,下一次请求分配时就可以直接使用,省去了各种
内存块初始化或释放的操作,因此分配速度很快,通常用于大数量的内存块分配的情况,如inode节
点,skbuff头, netfilt ......

Linux Platform Device and Driver

    

Linux 2.6
起引入了一套新的驱动管理和注册机制 :Platform_device
和 Platform_driver

     Linux
中大部分的设备驱动,都可以使用这套机制 ,
设备用
Platform_device
表示,驱动用
Platform_driver
进行注册。

     Linu ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号