vine-users ML アーカイブ



[vine-users:052217] Re: galeon コンパイルエラー

  • From: yama-chan@xxxxxxxxxxxxxxxxx
  • Subject: [vine-users:052217] Re: galeon コンパイルエラー
  • Date: Thu, 18 Jul 2002 21:55:01 +0900 (JST)
yamaです。

> たかです。
> 
> In message "[vine-users:052200] galeon コンパイルエラー"
>     on 02/07/18, yama-chan@xxxxxxxxxxxxxxxxx <yama-chan@xxxxxxxxxxxxxxxxx> wrote:
> 
> > galeon-1.2.5をコンパイルしたとき、下記エラーが出ます。
> > 同解決すればよいでしょうか。
> > 
> > 環境:Vinelinux-2.5+mozilla-1.0.0
> 
> この mozilla-1.0.0 はVineSeedにあるものですか?
> それとも、他のバイナリ配布のものや、ご自分でソースから
> コンパイルしたものでしょうか?
> 
> > BaseProtocolHandler.cpp:21:22: nsCOMPtr.h: No such file or directory
> > BaseProtocolHandler.cpp:22:33: nsIComponentManager.h: No such file or direc=
> > tory

自分でソースをコンパイルしました。
#tar Ixvf mozilla-source-1.0.tar.bz2

gnome2環境でgtk2関連の下記パッチをあてました。
# patch -p1 < ../mozilla-0.9.2-libxpcomcomponents.patch
# patch -p1 < ../mozilla-0.9.4-java_plugin.patch
# patch -p1 < ../mozilla-0.9.8-AAlias_prefs.patch
# patch -p1 < ../mozilla-0.9.9-FT_Get_Next_Char.patch
# patch -p1 < ../mozilla-taskbar-nomozilla.patch
# patch -p1 < ../mozilla-1.0.0-gtk2_gtksuperwin.patch
# patch -p1 < ../gtk2mozilla_patch
# patch -p1 < ../gtk2_mozilla_xft.patch

galeon CVS-HEAD

# cvs -z3 chekout galeon;cd galeon
# acconfig.h

> > BaseProtocolHandler.cpp:23:20: nsIURI.h: No such file or directory
> > BaseProtocolHandler.cpp:24:22: nsNetCID.h: No such file or directory
> > In file included from BaseProtocolHandler.cpp:26:
> > BaseProtocolHandler.h:22:32: nsIProtocolHandler.h: No such file or directory
> > BaseProtocolHandler.h:24:22: nsString.h: No such file or directory
> 
> ヘッダファイルが足りないと言われていますね。
> これらのヘッダファイルはmozilla側で用意されるもので、
> Vineのパッケージの場合、mozilla-develに含まれていて、
> /usr/include/mozilla-1.0.0/ 以下にインストールされます。
> # その他のパッケージ等でどうなっているかは知りません。
> 
> というかそれ以前に、
> galeon-0.12.6 をコンパイルしようとしているように見えるのですが… 

すみません。
正確に書きます。
make[3]: *** [BaseProtocolHandler.o] Error 1
make[3]: Leaving directory `/tmp/galeon/src/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/galeon/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/galeon'
make: *** [all-recursive-am] Error 2
 
yama
>