LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 675|回复: 2

在sourceforge.net看到的小软件,好像是保持gentoo清洁的

[复制链接]
发表于 2008-11-21 10:52:21 | 显示全部楼层 |阅读模式
http://sourceforge.net/projects/gentoo-sweep/
Gentoo sweep is a project to keep your running Gentoo installation clean.Filesystem inspection checks for files outside portage.This project aims on development of tools to keep Gentoo fresh,stable without garbage.So give it a try - it's really fast..
经过测试,0.1.2a正常,以上的版本在编译的时候会出现错误
>>> Unpacking source...
>>> Unpacking gentoo-sweep-0.1.3a.tar.gz to /var/tmp/portage/app-admin/gentoo-sw
eep-0.1.3a/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-admin/gentoo-sweep-0.1.3a/work ...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/gcc
-- Check for working C compiler: /usr/lib/ccache/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/app-admin/gentoo-sweep-0.1.3a/work/gentoo-sweep
make -j2
Scanning dependencies of target gentoo-sweep
[ 33%] Building C object CMakeFiles/build/gentoo-sweep.dir/src/gentoo-sweep.o
[ 66%] Building C object CMakeFiles/build/gentoo-sweep.dir/src/db-build.o
[100%] Building C object CMakeFiles/build/gentoo-sweep.dir/src/helpers.o
Linking C executable build/gentoo-sweep
CMakeFiles/build/gentoo-sweep.dir/src/helpers.o: In function `caluclateMD5':
helpers.c.text+0xf57): undefined reference to `MD5'
collect2: ld returned 1 exit status
make[2]: *** [build/gentoo-sweep] Error 1
make[1]: *** [CMakeFiles/build/gentoo-sweep.dir/all] Error 2
make: *** [all] Error 2
*
* ERROR: app-admin/gentoo-sweep-0.1.3a failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line   77:  Called die
* The specific snippet of code:
*       emake || die
*  The die message:
*   (no error message)
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/app-admin/gentoo-sweep-0
.1.3a/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-admin/gentoo-
sweep-0.1.3a/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/chris/'
*

运行帮助
# gentoo-sweep --help
--help: Display this info.
--portage-dir: Specyfies where portage DB tree is.
--md5check: Enables support for file verification MD5 digest.
--disable-builtin-types: Disables the builtin output filtering file types.
--add-userdef-types: Adds user defined types to output file types filter.
--disable-builtin-dirs: Disables the builtin directories to scan.
--add-userdef-dirs: Adds user defined directories to scan.Obligatory with --disable-builtin-dirs.
--output-log: Filename for output log.Default to ~/gentoo-sweep.log
--days-old: Report only files not accesed within this period
--exclude-dir: option to skip certain subdirs eg. /usr/portage
gentoo-sweep version: 0.1.2a

英语有限,暂时正在研究怎么使用。和大家分享。或许可以用来清除残留文件吧
发表于 2008-11-21 11:31:15 | 显示全部楼层
eix sweep
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-21 11:50:31 | 显示全部楼层
Post by 食古不化;1911499
eix sweep



  1. [i] app-admin/gentoo-sweep [1]
  2.      Available versions:  (~)0.1.2a [m](~)0.1.3 [m](~)0.1.3a
  3.      Installed versions:  0.1.2a(10:23:36 11/21/08)
  4.      Homepage:            http://sourceforge.net/projects/gentoo-sweep/
  5.      Description:         Check your gentoo instalation for unwanted,cruft,forgo
  6. tten files

  7. * kde-base/sweeper
  8.      Available versions:  (4.1)  (~)4.1.2 (~)4.1.3
  9.         {debug kdeprefix}
  10.      Homepage:            http://www.kde.org/
  11.      Description:         KDE Privacy Settings Widget

  12. * kde-misc/kleansweep
  13.      Available versions:  (~)0.2.8 0.2.9 (~)0.2.9-r1 {arts debug elibc_FreeBSD i
  14. magemagick xinerama}
  15.      Homepage:            http://linux.bydg.org/~yogin/
  16.      Description:         KleanSweep allows you to reclaim disk space by finding
  17. unneeded files.

  18. * media-sound/sweep
  19.      Available versions:  0.9.3 {alsa ladspa libsamplerate linguas_de linguas_el
  20. linguas_es_ES linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_ru
  21. mp3 speex vorbis}
  22.      Homepage:            http://www.metadecks.org/software/sweep/
  23.      Description:         Audio editor and live playback tool

复制代码


你是说kleansweep和这个一样么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表