亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問板塊 發(fā)新帖
查看: 5752 | 回復(fù): 8
打印 上一主題 下一主題

安裝gimp的問題checking for gtk-config... no??? [復(fù)制鏈接]

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2003-07-18 10:44 |只看該作者 |倒序?yàn)g覽
./configure的時(shí)候就出了錯(cuò):
checking for gtk-config... no
checking for GTK - version >;= 1.2.8... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Test for GTK failed. See the file 'INSTALL' for help.
#
我的gtk是默認(rèn)路徑安裝的,應(yīng)該是在/usr/local/lib里吧
我的LD_LIBRARY_PATH是這樣的:
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/mysql/lib/mysql
export LD_LIBRARY_PATH

CPPFLAGS="-I /usr/local/include/gtk-2.0"
LDFLAGS="-L /usr/local/lib"
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
請(qǐng)問這是哪里出的問題???

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2003-07-18 10:53 |只看該作者

安裝gimp的問題checking for gtk-config... no???

GTK版本太新。新的GTK用了pkg-config,所以沒有g(shù)tk-config。自己做一個(gè):
$ more /usr/local/bin/gtk-config
module="gtk+-2.0"
if test "$1" = "--version"; then
        pkg-config --modversion $module
else
        pkg-config $* $module
fi

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
3 [報(bào)告]
發(fā)表于 2003-07-18 14:23 |只看該作者

安裝gimp的問題checking for gtk-config... no???

原帖由 "fieryfox" 發(fā)表:
GTK版本太新。新的GTK用了pkg-config,所以沒有g(shù)tk-config。自己做一個(gè):
$ more /usr/local/bin/gtk-config
module="gtk+-2.0"
if test "$1" = "--version"; then
        pkg-config --modversion $module
el..........
   

還是出了錯(cuò)誤…………
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >;= 1.2.8... ./configure: /usr/local/bin/gtk-config: Permission denied
./configure: /usr/local/bin/gtk-config: Permission denied
./configure: /usr/local/bin/gtk-config: Permission denied
./configure: /usr/local/bin/gtk-config: Permission denied
./configure: /usr/local/bin/gtk-config: Permission denied
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/local/bin/gtk-config
configure: error: Test for GTK failed. See the file 'INSTALL' for help.
#
用gtk和gimp什么版本的時(shí)候能夠安裝成功?我的是gtk+-2.2.2.tar.gz和gimp-1.2.5.tar.gz

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2003-07-18 14:41 |只看該作者

安裝gimp的問題checking for gtk-config... no???

chmod a+x gtk-config

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
5 [報(bào)告]
發(fā)表于 2003-07-18 16:17 |只看該作者

安裝gimp的問題checking for gtk-config... no???

這次的錯(cuò)誤提示很明白了:
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >;= 1.2.8... yes
configure: error: GIMP does not work with versions of GTK >; 1.2
#
看來(lái)是一定要換個(gè)gtk的版本了……

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2003-07-18 16:26 |只看該作者

安裝gimp的問題checking for gtk-config... no???

那就沒辦法了。

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
7 [報(bào)告]
發(fā)表于 2003-07-18 22:07 |只看該作者

安裝gimp的問題checking for gtk-config... no???

以前用的是gtk+-2.2.2.tar.gz和gimp-1.2.5.tar.gz,現(xiàn)在改用gtk+-1.2.10.tar.gz和gimp-1.2.5.tar.gz,安裝時(shí)錯(cuò)誤提示如下:
./configure --with-libpng=/usr/local/lib --with-libjpeg=/usr/local/lib --disable-print

invoking perl for configuration...

WARNING: unable to use PDL (the perl data language). This means that
         normal pixel access is non-functional. Unless you plan to use
         Tile/PixelRgn functions together with PDL, this is harmless. The
         plug-ins using PDL, however, will NOT WORK and you can NO LONGER
         install PDL later. You can get PDL from any CPAN mirror.

checking for PDL support... no

NOTICE:  unable to use the Perl-Gtk interface. Many features (like
         Gimp::Fu) rely on this extension. You can build without it (and
         many scripts will be disabled or run with reduced functionality
         only), but it's better to install it (version 0.6123 or higher is
         required, you can get it from ftp://ftp.gimp.org/pub/gtk/perl/ or
         any CPAN mirror.


NOTICE: Parse::RecDescent not found, scm2perl, the Scheme->erl
        translator, will not work. This is normally not a problem, since
        it is quite unimportant for most people.

building embedded perl module... no
writing Gimp/Config.pm... ok
Checking if your kit is complete...
Looks good
Warning: prerequisite Gtk 0.5 not found at (eval 4) line 220.
Warning: prerequisite PDL 2.21 not found at (eval 4) line 220.
Warning: prerequisite Parse::RecDescent 1.6 not found at (eval 4) line 220.
Writing Makefile for Gimp::Lib
Writing Makefile for Gimp::Net
Note (probably harmless): No library found for -lgimp
Note (probably harmless): No library found for -lgimpui
Writing Makefile for Gimp::UI
Writing Makefile for Gimp
#
./configure的錯(cuò)誤是不是可以忽略?
以下是make時(shí)的錯(cuò)誤:

cc -c -I/export/home/temp/gimp/gimp-1.2.5/plug-ins/perl -I../../.. -I/export/home/temp/gimp/gimp-1.2.5/plug-ins/perl/../.. -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include  -DGTK_DISABLE_COMPAT_H  -g -O2   -xO3 -xdepend    -DVERSION=\"1.211\" -DXS_VERSION=\"1.211\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -Ddatadir="\"/usr/local/share\""  Lib.c
/bin/sh: cc: not found
make[4]: *** [Lib.o] Error 1
make[4]: Leaving directory `/export/home/temp/gimp/gimp-1.2.5/plug-ins/perl/Gimp'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/export/home/temp/gimp/gimp-1.2.5/plug-ins/perl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/temp/gimp/gimp-1.2.5/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/temp/gimp/gimp-1.2.5'
make: *** [all-recursive-am] Error 2
#

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2003-07-19 09:44 |只看該作者

安裝gimp的問題checking for gtk-config... no???

gmake distclean
CC=gcc ./configure

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
9 [報(bào)告]
發(fā)表于 2003-07-19 15:10 |只看該作者

安裝gimp的問題checking for gtk-config... no???

謝謝fieryfox,現(xiàn)在終于成功了~~~~~!
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP