Comment #45 on issue 335 by ericvw: Can't install on 64-bit Linux (linux-x86_64-gcc3)
http://code.google.com/p/gears/issues/detail?id=335

Here is what I had to end up doing for r3405. This may be different per Linux
distro, but I am using Gentoo x86_64 (amd64).

First, I symlink'd ./third_party/gecko_1.9.1/linux/gecko_sdk/bin/xpidl ->
/usr/lib64/xulrunner-1.9.1/xpidl which was on my system.
./third_party/gecko_1.9/linux/gecko_sdk/bin/xpidl.

Then apply the patch I have provided to make sure you have the proper include statements.

Then I run: make MODE=opt OS=linux ARCH=x86_64

Now, I don't know what causes this but for some reason, in
./gears/bin-opt/linux-x86_64/ff3/genfiles/interfaces.h, make will complain about NS_OUTPARAM. When this happens, remove all instances of NS_OUTPARAM (i.e. in vim
%s/NS_OUTPARAM//g).

Then everything should work and compile, hopefully :D.

I have attached my xpi build and I have tested my build with all the demos on this
page with no errors: http://code.google.com/apis/gears/sample.html

As a side note, this was with gcc x86_64-pc-linux-gnu-4.4.1.

Good luck!

Attachments:
        r3405.patch  4.9 KB
        gears-linux-x86_64-opt-0.5.33.0.xpi  3.0 MB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to