scrot的安装

系统CentOS 6.2 i386

# wget http://fossies.org/unix/privat/scrot-0.8.tar.gz

# tar xvf scrot-0.8.tar.gz

# cd scrot-0.8

# ./configure  下面出现错误

[root@localhost scrot-0.8]# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make sets $(MAKE)... yes

checking for working aclocal-1.4... missing

checking for working autoconf... found

checking for working automake-1.4... missing

checking for working autoheader... found

checking for working makeinfo... found

checking for gcc... gcc

checking for C compiler default output... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for gcc option to accept ANSI C... none needed

checking for an ANSI C-conforming const... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking whether make sets $(MAKE)... (cached) yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for giblib-config... no

checking for giblib - version >= 1.2.3... no

*** The giblib-config script installed by giblib could not be found

*** If giblib was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the GIBLIB_CONFIG environment variable to the

*** full path to giblib-config.

configure: error: Cannot find giblib: Is giblib-config in the path?

提示缺少giblib

# wget http://linuxbrit.co.uk/downloads/giblib-1.2.4.tar.gz

或者是下面的链接

# wget http://pkgs.Fedoraproject.org/repo/pkgs/giblib/giblib-1.2.4.tar.gz/c810ef5389baf24882a1caca2954385e/giblib-1.2.4.tar.gz

# tar zxvf  giblib-1.2.4.tar.gz

# cd giblib-1.2.4

#./configure 继续提示错误

checking whether to build static libraries... yes

checking for f95 option to produce PIC... -fPIC

checking if f95 PIC flag -fPIC works... yes

checking if f95 supports -c -o file.o... yes

checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking whether make sets $(MAKE)... (cached) yes

checking whether build environment is sane... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking if malloc debugging is wanted... no

checking for imlib2-config... no

checking for imlib2 - version >= 1.0.0... no

*** The imlib2-config script installed by imlib2 could not be found

*** If imlib2 was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the IMLIB2_CONFIG environment variable to the

*** full path to imlib2-config.

configure: error: Cannot find imlib2: Is imlib2-config in the path?

提示缺少imlib2,遂下载安装之,则OK。

安装顺序记录如下,

######################imlib########################

wget http://sourceforge.net/projects/enlightenment/files/imlib2-src/1.4.5/imlib2-1.4.5.tar.gz/download

tar xvf imlib2-1.4.5.tar.gz

cd imlib2-1.4.5

./configure

make

make install

########################giblib#####################

wget http://linuxbrit.co.uk/downloads/giblib-1.2.4.tar.gz

cd giblib-1.2.4

./configure

make

make install

########################scrot#######################

wget http://fossies.org/unix/privat/scrot-0.8.tar.gz

tar xvf scrot-0.8.tar.gz

cd scrot-0.8

./configure

make

make install

#########################over#####################

安装完毕,问题还未结束

#scrot 运行scrot命令,如下提示libgiblib的库没有找到

scrot: error while loading shared libraries: libgiblib.so.1: cannot open shared object file: No such file or directory

在系统里面寻找libgiblib库文件

#find /usr -name libgiblib.so.1

/usr/local/lib/libgiblib.so.1

#cat /etc/ld.so.conf  查看当前库加载路径

include ld.so.conf.d/*.conf

#echo "/usr/local/lib" >>/etc/ld.so.conf 添加库路径

#ldconfig  加载库文件后scrot正常使用来

#scrot --help 查看scrot的帮助信息

Usage : scrot [OPTIONS]... [FILE]

Where FILE is the target file for the screenshot.

If FILE is not specified, a date-stamped file will be dropped in the

current directory.

See man scrot for more details

-h, --help                display this help and exit

-v, --version             output version information and exit

-b, --border              When selecting

……

linux安装截图,Linux下截图软件Scrot的安装相关推荐

  1. linux(ubuntu16.04)系统下Matlab2015b软件下载与安装

    Linux版Matlab2015b软件下载安装与运行 一.Matlab软件(Linux版)百度网盘下载 二.软件安装教程 三.软件破解步骤 四.打开软件和添加环境变量 五.创建linux桌面快捷方式 ...

  2. Linux下常用软件压缩包方式安装

    Linux下常用软件压缩包方式安装 特别说明:以下需要安装的软件,下载相应压缩包后均上传至服务器的/opt/目录下 1.JDK安装 下载JDK 解压JDK tar -zxvf jdk-8u211-li ...

  3. transmission Linux(debian)下的BT下载客户端安装

    transmission Linux(debian)下的BT下载客户端安装 转载于:https://blog.51cto.com/2042617/1597540

  4. 最新版Arch系Linux中Manjaro Linux 的安装和使用,常用软件以及Docker安装

    Arch系Linux中Manjaro Linux 的安装和使用,常用软件以及Docker安装. 用十几年的Windows系统,一直觉得Linux比较复杂,实施上结果恰恰相反,对开发人员来说,Linux ...

  5. Linux下编译软件时指定安装目录的好处

    源码的安装一般由3个步骤组成:配置(configure).编译(make).安装(make install). Configure是一个可执行脚本,它有很多选项,在待安装的源码路径下使用命令./con ...

  6. linux服务器安装php7_CentOS 7 下 PHP 7.1.12 安装配置

    Linux系统:CentOS 7 记录在CentOS 7 下 PHP 7.1.12 安装配置的过程. 先安装相关依赖包 yum install pcre pcre-devel zlib zlib-de ...

  7. Ubuntu安装及Ubuntu下常用软件安装(不断补充)及Windows相关--软件开发用途

    之前一直使用Window系统,现在工作中大家主流使用Ubuntu,同事帮忙装个Ubuntu系统,事后写一下安装过程,以备后续再次安装查阅. 1Ubuntu安装 1.1Ubuntu文件下载: Ubunt ...

  8. mysql 5.6.27安装图解_Linux下MySQL 5.6.27 安装教程

    本文实例为大家分享了Linux下MySQL 5.6.27 安装教程,供大家参考,具体内容如下 1.下载地址 2.将压缩包上传到服务器 3.解压 tar -zxf mysql-5.6.27-linux- ...

  9. php mysql编译安装目录_Linux下Apache PHP MySQL默认安装路径

    Linux下Apache PHP MySQL默认安装路径 Apache 如果采用RPM包安装,安装路径应在 /etc/httpd目录下 Apache配置文件: /etc/httpd/conf/http ...

最新文章

  1. Win10美吱er吱er,Win10修改默认字体的方法
  2. String有两种赋值方式
  3. 如何创建php文件,PHP如何生成.php程序文件
  4. stm32捕获占空比_「话说定时器系列」之六:STM32定时器输入捕获话题
  5. nyoj-78-圈水池(Graham算法求凸包)
  6. wxWindows 程序编译选项设置统揽
  7. spring boot 集成redis监听Key值事件失效
  8. win10弹出计算机内存不足,如何解决win10系统提示计算机内存不足的问题
  9. tilemap 菱形_带高度的isometric tile map 斜45度 2d 地图制作
  10. HTML超链接怎么设置下拉菜单,html超链接怎么设置
  11. 基于人工鱼群优化可倒摆法(QIP)控制器附matlab代码
  12. linux文件或目录添加权限(chmod)
  13. POJ 2305大数求余
  14. CMD 命令行中文件路径有空格怎么办
  15. 使用UltraEdit25.20.0.88进行Verilog语言编辑配置方式(详细)
  16. 教你解决Wifi共享精灵网络共享失败的问题
  17. 向科技要智慧,人脸识别智能门禁解锁智慧社区新未来
  18. 《通关!游戏设计之道》书籍读后感
  19. 钉钉对接金蝶云星空单据模板-日常费用报销
  20. 力扣合并两个有序链表

热门文章

  1. 鬼武者2完整流程功略
  2. linux下fdis格式化磁盘(维护日志)
  3. 按键精灵1.3.7使用心得
  4. codeigniter php 版本,PHP框架CodeIgniter 2.0.0版本发布
  5. 在饭店中,厨师需要做十道菜。厨师做好一道菜,就招呼侍者端走,菜还没有端走时,厨师就睡觉。侍者端走菜时把厨师唤醒,厨师做下一道菜。无做好的菜,侍者就睡觉。请编写程序模拟厨师和侍者的合作。(提示:厨师线程
  6. 长沙 中级职称 评审 计算机和英语,多省份对比后才知道:2021年湖南中级职称评审优势如何?...
  7. 北京师范学院计算机专业法律基础考试,2021--2022北京师范大学法律专业(非法学)考研综合经验分享...
  8. excel波士顿矩阵怎么做_Excel2013采用散点图气泡图Powerview三种方案轻松制做波士顿矩阵.docx...
  9. exists和not exists的用法
  10. 三分钟了解APS系统中生产计划排程模块的基本原理!