|
|
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
英语有限,暂时正在研究怎么使用。和大家分享。或许可以用来清除残留文件吧 |
|