找回密码
 注册
楼主: 塔塔

Linux中有什么好用的抓图软件么?谢谢!

[复制链接]
发表于 2004-7-8 16:12:20 | 显示全部楼层
没必要沮丧吗,这种事情是常有的:)
//
没看出错误在哪,我只好给出我测试的情况了:

---> giblib-1.2.3 是作者主页下载的.
[code:1]
[ivn@deb566:giblib-1.2.3]$ ./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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
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 strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
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... /usr/bin/imlib2-config
checking for imlib2 - version >= 1.0.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating giblib-config
config.status: creating giblib/Makefile
config.status: creating giblib/giblib_config.h
config.status: giblib/giblib_config.h is unchanged
config.status: executing default-1 commands
config.status: executing default commands

giblib 1.2.3
Configuration:
--------------

Imlib2 libs:    -L/usr/lib -lImlib2 -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib
Imlib2 cflags:  
CFLAGS:                 -g -O2 -Wall
[/code:1]

[code:1]
[ivn@deb566:giblib-1.2.3]$ make
Making all in giblib
make[1]: Entering directory `/home/ivn/trash/scrot-0.8/giblib-1.2.3/giblib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_list.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_list.c  -fPIC -DPIC -o .libs/gib_list.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_list.c -o gib_list.o >/dev/null 2>&1
mv -f .libs/gib_list.lo gib_list.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_hash.c
rm -f .libs/gib_hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_hash.c  -fPIC -DPIC -o .libs/gib_hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_hash.c -o gib_hash.o >/dev/null 2>&1
mv -f .libs/gib_hash.lo gib_hash.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_btree.c
rm -f .libs/gib_btree.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_btree.c  -fPIC -DPIC -o .libs/gib_btree.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_btree.c -o gib_btree.o >/dev/null 2>&1
mv -f .libs/gib_btree.lo gib_btree.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=
\""/usr/local"\"     -g -O2 -Wall -c gib_style.c
rm -f .libs/gib_style.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_style.c  -fPIC -DPIC -o .libs/gib_style.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_style.c -o gib_style.o >/dev/null 2>&1
mv -f .libs/gib_style.lo gib_style.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_imlib.c
rm -f .libs/gib_imlib.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_imlib.c  -fPIC -DPIC -o .libs/gib_imlib.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_imlib.c -o gib_imlib.o >/dev/null 2>&1
mv -f .libs/gib_imlib.lo gib_imlib.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_stack.c
rm -f .libs/gib_stack.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_stack.c  -fPIC -DPIC -o .libs/gib_stack.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_stack.c -o gib_stack.o >/dev/null 2>&1
mv -f .libs/gib_stack.lo gib_stack.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_utils.c
rm -f .libs/gib_utils.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_utils.c  -fPIC -DPIC -o .libs/gib_utils.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_utils.c -o gib_utils.o >/dev/null 2>&1
mv -f .libs/gib_utils.lo gib_utils.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\""/usr/local"\"     -g -O2 -Wall -c gib_queue.c
rm -f .libs/gib_queue.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_queue.c  -fPIC -DPIC -o .libs/gib_queue.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -DPREFIX=\"/usr/local\" -g -O2 -Wall -c gib_queue.c -o gib_queue.o >/dev/null 2>&1
mv -f .libs/gib_queue.lo gib_queue.lo
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o libgiblib.la -rpath /usr/local/lib -version-info 1:5:0 gib_list.lo gib_hash.lo gib_btree.lo gib_style.lo gib_imlib.lo gib_stack.lo gib_utils.lo gib_queue.lo -L/usr/lib -lImlib2 -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib -lm
rm -fr .libs/libgiblib.la .libs/libgiblib.* .libs/libgiblib.*
gcc -shared  gib_list.lo gib_hash.lo gib_btree.lo gib_style.lo gib_imlib.lo gib_stack.lo gib_utils.lo gib_queue.lo  -L/usr/X11R6/lib -L/usr/lib /usr/lib/libImlib2.so /usr/lib/libfreetype.so -lz -ldl -lXext -lX11 -lm  -Wl,-soname -Wl,libgiblib.so.1 -o .libs/libgiblib.so.1.0.5
(cd .libs && rm -f libgiblib.so.1 && ln -s libgiblib.so.1.0.5 libgiblib.so.1)
(cd .libs && rm -f libgiblib.so && ln -s libgiblib.so.1.0.5 libgiblib.so)
ar cru .libs/libgiblib.a  gib_list.o gib_hash.o gib_btree.o gib_style.o gib_imlib.o gib_stack.o gib_utils.o gib_queue.o
ranlib .libs/libgiblib.a
creating libgiblib.la
(cd .libs && rm -f libgiblib.la && ln -s ../libgiblib.la libgiblib.la)
make[1]: Leaving directory `/home/ivn/trash/scrot-0.8/giblib-1.2.3/giblib'
make[1]: Entering directory `/home/ivn/trash/scrot-0.8/giblib-1.2.3'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/ivn/trash/scrot-0.8/giblib-1.2.3'
[/code:1]

---> scrot-0.8
[code:1]
[ivn@deb566:scrot-0.8]$ ./configure --with-giblib-prefix=/usr/local/lib --with-giblib-exec-prefix=/usr/local/bin
[/code:1]

[code:1]
[ivn@deb566:ivn]$ imlib2-config --version
1.1.0
[/code:1]

-----------------------------
就这么多了,我用的是 debian , 很少要自己去解决依赖关系
回复

使用道具 举报

 楼主| 发表于 2004-7-10 23:20:07 | 显示全部楼层
debian 难道不用自己去解决依赖的问题么?

谢谢lvn大侠给出的配置清单!感谢!下了回家研究去!

谢谢!高手!高高手!
回复

使用道具 举报

 楼主| 发表于 2004-7-11 00:22:21 | 显示全部楼层
先找找Debian的资料看看再说!谢谢支持!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-7-27 11:53 , Processed in 0.026070 second(s), 13 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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