Hi, you must be kidding me! I had _exactly_ the same experience today :-) If I just read that post few hours earlier I could spend more time with my wife... Anyhow, many thanks :-)
Michal On 1 Lut, 02:48, Cosinus <[email protected]> wrote: > Hi Guys, > > Thanks for this nice Gears-API and I'm happy it supports Linux. :-) > I build the latest SVN release the first time this morning on Ubuntu > 8.10 (Intrepid) and as I run in some issue, I quickly post this here > in the Google group. > I (quickly) searched gears wiki and gears google group, but have not > found any other post. > > My environment is i386 32bit Ubuntu Linux 8.10 and I use standard GCC/G > ++ glibc etc. coming with this release. > > >> gcc --version > > gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2 > > I had 3 issues: > 1) When I compile the latest SVN version I get quickly errors like > missing "memcopy". > I notice that gears used g++ but makes use of standard C calls like > "memcopy". In ealier versions of GCC this had been included > automatically, but this version does not, so I needed to add "#include > <string.h>" or "#include <limits.h> or "#inlcude <stdlib.h>" in about > 20 files mostly in itself gears and a few references 3rd party source > (e.g. google URL lib) bundled with gears. > > 2) This new compiler issues some warnings about unused variables and > as to "-Werror" compiler flag this doesn't work. So I needed to > removed compiler flag "-Werror" from tools/config.h > > 3) During the build xpidl got called (from: "third_party/gecko_1.9/ > linux/gecko_sdk/bin"). However this is/was not a executable, so I > needed to "chmod a+x *" the executables, to get it working. > > After this XPI file was created, that I could successful add to my > firefox 3. (have not yet tested a lot of functions, but offline-gmail > seems to work with it). > > Ok,... this is just a short info to the Ubuntu users that might run in > similar issues building gears from source and I hope you find this > useful. > > Cheers, > Thomas
