11 messages in com.googlegroups.google-gearsRe: Linux Mac Status
FromSent OnAttachments
will.in.wi19 Jun 2007 09:38 
Scott Hess19 Jun 2007 09:48 
Jason Essington19 Jun 2007 09:56 
will.in.wi19 Jun 2007 12:05 
Scott Hess19 Jun 2007 19:47 
will.in.wi20 Jun 2007 06:57 
Scott Hess20 Jun 2007 07:42 
will.in.wi20 Jun 2007 08:28 
Scott Hess20 Jun 2007 09:54 
will.in.wi20 Jun 2007 13:58 
will.in.wi21 Jun 2007 06:59 
Subject:Re: Linux Mac Status
From:will.in.wi (will@gmail.com)
Date:06/21/2007 06:59:39 AM
List:com.googlegroups.google-gears

I got everything to work! In the end I had to download and compile the gecko sdk from cvs myself, but I can now read rss feeds offline!

When is gmail going to work with this?

Thanks for the help!

The patch worked great. I hit a couple more errors with .so and .a files from the included gecko sdk for i386. I am working on fixing them by copying my own compiled ones to replace the i386 ones. I think that the included sdk should have the ability to compile from source on unknown platforms.

Will post further info as I progress.

Thanks!

On Jun 20, 11:55 am, "Scott Hess" <s.@google.com> wrote:

This patch lets things compile for me on Dapper:

Index: localserver/common/localserver_db.h =================================================================== --- localserver/common/localserver_db.h (revision 53) +++ localserver/common/localserver_db.h (working copy) @@ -371,7 +371,7 @@ #ifdef USE_FILE_STORE friend class WebCacheBlobStore; friend class WebCacheFileStore; - WebCacheFileStore *response_bodies_store_; + class WebCacheFileStore *response_bodies_store_;

// Implementation of SQLTransactionListener used to inform the file store // of transactions

Let me know if that gets you a fraction further :-).

-scott

On 6/20/07, will.in.wi <will@gmail.com> wrote:

I am running Ubuntu Feisty Fawn ppc.

On Jun 20, 9:42 am, "Scott Hess" <s.@google.com> wrote:

OK, _this_ is one that we'll be fixing, as I see it compiling on Ubuntu Dapper. This is a difference down to gcc, which hasn't been super-high-priority because we've had other issues with the plug-in when building on that version of gcc (I suspect ABI changes between the platform Firefox was built on and the platform being built on, but my attempts to isolate and fix all failed).

I'll see about getting it to at least compile with that gcc, which should be doable.

-scott

On 6/20/07, will.in.wi <will@gmail.com> wrote:

Ok, Got past that error by copying the xpidl file from my xulrunner install to replace the google provided xulrunner. Got past another error by removing -Werror. Now I am having trouble with a declaration:

make modules BROWSER=FF g++ -I.. -Ibin-dbg/linux/ppc -DLINUX -DDEBUG=1 -c -o bin-dbg/linux/ ppc/ff/module.o -fPIC -g -O0 -fshort-wchar -fno-exceptions -fno-rtti - Wno-non-virtual-dtor -Wno-ctor-dtor-privacy -funsigned-char - DBROWSER_FF=1 -Ithird_party/gecko_sdk/1.8/linux/include base/firefox/ module.cc ../gears/localserver/common/localserver_db.h:374: error: ISO C++ forbids declaration of 'WebCacheFileStore' with no type ../gears/localserver/common/localserver_db.h:374: error: expected ';' before '*' token make[1]: *** [bin-dbg/linux/ppc/ff/module.o] Error 1 make: *** [default] Error 2

It seems the below bit of code is not seen as a declaration:

#ifdef USE_FILE_STORE friend class WebCacheBlobStore; friend class WebCacheFileStore; WebCacheFileStore *response_bodies_store_; <<<<<< Line 374

Not very good with C++. Any ideas how to fix?

On Jun 19, 9:47 pm, "Scott Hess" <s.@google.com> wrote:

That's odd. There isn't any "(" on the first line of factory.idl.

I expect that the problem is that third_party/gecko_sdk/1.8/linux/bin/xpidl is only compiled for i386. Try running it, you should get 'ERROR: must specify output mode' plus more. Unfortunately, I don't have an easy answer for dealing with this problem, third_party/gecko_sdk/README.txt gives a teeny hint, but perhaps not enough to get anywhere with.

-scott

On 6/19/07, will.in.wi <will@gmail.com> wrote:

This is in firefox. I had forgotten that the plugin was open source.

I downloaded and tried a make but I got a syntax error:

third_party/gecko_sdk/1.8/linux/bin/xpidl -I base/common -I third_party/gecko_sdk/1.8/linux/idl -m header -o bin-dbg/linux/i386/ff/ genfiles/factory base/firefox/factory.idl third_party/gecko_sdk/1.8/linux/bin/xpidl: 1: Syntax Error: "(" unexpected make[1]: *** [bin-dbg/linux/i386/ff/genfiles/factory.h] Error 2 make: *** [default] Error 2

Any Ideas?

Thanks

On Jun 19, 11:56 am, Jason Essington <jaso@gmail.com> wrote:

There really shouldn't be anything special about the firefox extension ...

just download the source (SVN) and do a make in the root directory there

it should just spit out an .xpi for you

-jason

On Jun 19, 2007, at 10:39 AM, will.in.wi wrote:

Are there any plans to make the google gears extension work on a ppc mac running linux?

This is the only laptop I use and I would really like this functionality.

~will.in.wi