星期三, 12月 29, 2004

gedit 2.9.3 install

./configure
=====================================================
出現:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
到google 找mailinglist有說明,用以下指令install Perl的XML::Parser Module

su -
(need to be root)

perl -MCPAN -e shell
(would run CPAN module of Perl)

install XML::Parser
(would install XML::Parser and all of its dependencies)

then you can continue building Garnome

所以follow instruction,su install XML::Parser
進入Perl的shell,第一個問題是Perl的configure問題,因為不知道要怎麼設,所以回答No,讓他自動configure,之後Perl開始自動download source。
Perl先用lynx --source 來download source,但是很奇怪,很慢(或是根本不會動),所以用^-C中斷。
Perl會自動用ncftpd來download,這個就比較快。
Perl會download很多source,依樣,用^-C來中斷lynx,讓他用ncftp來download。
都download完後開始build,install,XML::Parser install OK。
===================================
繼續,回到gedit-2.9.3下作./configure
出現
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (glib-2.0 >= 2.6.0 gtk+-2.0 >= 2.6.0 gtksourceview-1.0 >= 1.1.1 libgnomeui-2.0 >= 2.6.0 libglade-2.0 >= 2.4.0 eel-2.0 >= 2.6.0 libgnomeprintui-2.2 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

所以去download pkg-condfig: pkgconfig-0.15.0
./configure
make
su
make install

OK,回去gedit config

pkg-config ok,但是還是說找不到glib2.0 ....... giveup

沒有留言:

網誌存檔