Hi,<br> I've run into some more obstacles and learned a little more about gears...<br><br>1. Having built gears from the svn trunk source for both Fedora and Ubuntu (sudo make BROWSER=FF3 CC=gcc34 CXX=g++34 MKSHLIB=g++34 MODE=opt -- for Fedora), I have verified that on an already installed gears in firefox, if you replace the 2 files libgears.so and gears.xpt, this updates the system to the latest gears (in this case 4.2.0) This leads me to believe that those 2 files are the ones we need to manually place in the /usr/lib/mozilla/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ but doing that doesn't work though it should (<a href="http://developer.mozilla.org/en/docs/Installing_extensions">http://developer.mozilla.org/en/docs/Installing_extensions</a>)<br>
<br>2. This leads me to the conclusion that there must be some files being generated elsewhere that somehow activate the gears libraries... (carried within the .xpi), that are not available at the svn trunk. I have mailed the google gears devs, but have not received an answer on this, though looking through the gears mailing list, I see that they say unless one leaves the BROWSER= empty, it doesnt create the full installer...<br>
<br>3. Taking out the BROWSER=FF3 and leaving it BROWSER= makes the build crash with:<br><br>.................................................386/common/unit_test.o -lgtk-x11-2.0 -L../third_party/gtk/linux/lib <br>
../third_party/gtk/linux/lib/<a href="http://libgtk-x11-2.0.so">libgtk-x11-2.0.so</a>: undefined reference to `gdk_screen_get_font_options_libgtk_only'<br>../third_party/gtk/linux/lib/<a href="http://libgtk-x11-2.0.so">libgtk-x11-2.0.so</a>: undefined reference to `gdk_screen_set_resolution_libgtk_only'<br>
../third_party/gtk/linux/lib/<a href="http://libgtk-x11-2.0.so">libgtk-x11-2.0.so</a>: undefined reference to `gdk_screen_set_font_options_libgtk_only'<br>../third_party/gtk/linux/lib/<a href="http://libgtk-x11-2.0.so">libgtk-x11-2.0.so</a>: undefined reference to `gdk_screen_get_resolution_libgtk_only'<br>
collect2: ld returned 1 exit status<br>make[1]: *** [bin-opt/linux-i386/common/notifier_test] Error 1<br>make: *** [default] Error 2<br><br><br>4. Seeing as Gears is currently a beta product for developers only, this leads me to wonder whether its best not to make an rpm that installs the regular linux.xpi components and then from the svn trunk source copies the .so and the xpt over the ones the installed from the .xpi... this seems ugly, but until all the files are generated from the trunk build, I don't know how else to do it. <br>
<br>5. That said, seeing as BROWSER=FF3 is what we want, maybe someone with mozilla experience might know where to put what. There is also a chrome directory created, which I'm not sure is important, nor where it would go exactly (the .xpi puts everything in ./mozilla/firefox/firefox-profile-id/extensions/gears-id/chrome) but we want it system wide, not user profile wide (right?)<br>
<br>So... I have a finished rpm spec file, with everything it requires, but unless I get the missing files that are in the .xpi, I've now come as far as I can go. This means 2 paths forwards...<br><br>1. wait till the gears devs give me an answer/fix the compile so all items get created<br>
<br>2. create a hackish rpm that would install the .xpi and then the svn trunk components manually on top...<br><br>Kind Regards,<br>David Van Assche<br>