gcjwebplugin-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcjwebplugin-user] gcjwebplugin-0.3.1 & firefox-0.8 problems


From: Thomas Fitzsimmons
Subject: Re: [Gcjwebplugin-user] gcjwebplugin-0.3.1 & firefox-0.8 problems
Date: Fri, 25 Feb 2005 19:04:35 -0500

On Thu, 2005-02-24 at 14:17 +0100, Richard Zidlicky wrote:
> Hi,
> 
> some problems:
>  - in gcjappletviewer "USE_NATIVE_VIEWER" is left as
>    my $USE_NATIVE_VIEWER = '@USE_NATIVE_VIEWER@';
>  - gij -cp option unknown.. wrong gcc version?
>  - firefox aborts shortly after loading libgcjwebplugin.so
>     GLib-ERROR **: The thread system is not yet initialized.
> 
> I guess this is the wrong gcc/gcj version?
> 

If you are using the system-installed firefox for this then you need to
compile libgcjwebplugin.so with the same C++ compiler that built
firefox.  Usually this means configuring with:

$srcdir/configure ... CXX=/usr/bin/g++ ...

As for which gcj version to use for compiling the rest, if you're just
using bytecode (i.e. you configured with --disable-native-viewer) then
you should be fine with versions of gcj that pass configury (>= 3.4.0).
If you want a native gcjappletviewer you need GCJ HEAD and gcjwebplugin
HEAD.

> I have also built rpm packages.. what would be the global
> place to install the the plugin?
> 

/usr/lib/mozilla/plugins

> 
> Since I don't like executing untrusted code on my computer
> I have adapted parts of flashblocker to block java interactively,
> maybe its of some use for someone else.
> Originally I wanted to integrate it back into flashblocker
> which would give some nice additional functionality, but my
> xpi installation were so frustrating that I have postponed that.
> 

That sounds great; I'll have a look at this when I return from FOSDEM.
We considered writing SELinux policies too, but we haven't looked
seriously at it yet (it may be that just doing the required libgcj
security audit is less work).

Tom

> Regards
> Richard
> 
> 
> gcj -v
> Reading specs from /usr/lib/gcc/i586-rz-linux/3.4.0/specs
> Reading specs from /usr/lib/gcc/i586-rz-linux/3.4.0/../../../libgcj.spec
> rename spec lib to liborig
> Configured with: ../gcc-3.4-20040218/configure --prefix=/usr 
> --mandir=/usr/share/man --infodir=/usr/share/info --disable-checking 
> --target=i586-rz-linux --build=i586-rz-linux --host=i586-rz-linux 
> --enable-threads=posix --enable-shared --enable-__cxa_atexit 
> --enable-languages=c,c++,f77,java,objc --with-system-zlib --with-cpu=k6
> Thread model: posix
> gcc version 3.4.0 20040218 (prerelease)
> 
> _______________________________________________
> Gcjwebplugin-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gcjwebplugin-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]