Comment #40 on issue 335 by cheselka: Can't install on 64-bit Linux
(linux-x86_64-gcc3)
http://code.google.com/p/gears/issues/detail?id=335
I'm following
http://fedoratux.blogspot.com/2009/02/building-google-gears-for-firefox-64.html
to
build gears on x86_64 fc11 ( Fedora Core 11 ) and
its failing. Any ideas or suggestions?
Also, it seems the patch for gears/tools/rules.mk is not needed anymore:
fgrep -n -C 1 'cp $(FF2_MODULE_DLL)
$(INSTALLERS_OUTDIR)/$(INSTALLER_BASE_NAME)/lib/ff2/$(DLL_PREFIX)$(MODULE)$(DLL_SUFFIX)'
/tmp/gears-read-only/gears/tools/rules.mk
1259-ifneq ($(ARCH),x86_64)
1260: cp $(FF2_MODULE_DLL)
$(INSTALLERS_OUTDIR)/$(INSTALLER_BASE_NAME)/lib/ff2/$(DLL_PREFIX)$(MODULE)$(DLL_SUFFIX)
1261-endif
=====
cd /tmp
svn checkout http://gears.googlecode.com/svn/trunk/ gears-read-only
# At revision 3396.
cd /tmp/gears-read-only/
patch -p0 -i /tmp/gears-gcc433.diff
cd gears/
make MODE=opt ARCH=x86_64 BROWSER=FF31 OS=linux
# Wait for the compile to fail and then...
cp -i /usr/lib64/xulrunner-1.9.1/libxpcom.so
../third_party/gecko_1.9/linux/gecko_sdk/lib/libxpcom.so
cp -i /usr/lib64/xulrunner-sdk-1.9.1/sdk/lib/libxpcomglue_s.a
../third_party/gecko_1.9/linux/gecko_sdk/lib/libxpcomglue_s.a
cp -i /usr/lib64/xulrunner-1.9.1/libxul.so
../third_party/gecko_1.9/linux/gecko_sdk/lib/libxul.so
cp -i /usr/lib64/xulrunner-1.9.1/xpt_link
../third_party/gecko_1.9/linux/gecko_sdk/bin/xpt_link
chmod a+x ../third_party/gecko_1.9/linux/gecko_sdk/bin/xpt_link
chmod a+x ../third_party/gecko_1.9/linux/gecko_sdk/bin/xpidl
# ... and back to:
make MODE=opt ARCH=x86_64 BROWSER=FF31 OS=linux
# finally, the compile fails and i can go no further:
make prereqs BROWSER=FF31
make[1]: Nothing to be done for `prereqs'.
make genheaders BROWSER=FF31
make[1]: Nothing to be done for `genheaders'.
make modules BROWSER=FF31
g++ -I.. -Ibin-opt/linux-x86_64/ff31 -Ibin-opt/linux-x86_64/common
-I../third_party/npapi -I../third_party -I../third_party/googleurl
-I../third_party/icu38/public/common -DPNG_USER_CONFIG
-DCHROME_PNG_WRITE_SUPPORT
-DGEARS_PNG_BUILD -I../third_party/zlib -I../third_party/skia/include/core
-I../third_party/skia/include/images -I../third_party/skia/include/utils
-DNO_GZIP
-DNO_GZCOMPRESS -DLINUX -I../third_party/gtk/include/gtk-2.0
-I../third_party/gtk/include/atk-1.0 -I../third_party/gtk/include/glib-2.0
-I../third_party/gtk/include/pango-1.0 -I../third_party/gtk/include/cairo
-I../third_party/gtk/lib/gtk-2.0/include
-I../third_party/gtk/lib/glib-2.0/include
-DNDEBUG=1 -DUSING_CCTESTS=1 -I../third_party/gtest/include
-I../third_party/gtest -c
-o bin-opt/linux-x86_64/ff31/localserver_db.o -fPIC -fmessage-length=0
-Wall -Werror
-O2 -fshort-wchar -fno-exceptions -fno-rtti -Wno-non-virtual-dtor
-Wno-ctor-dtor-privacy -funsigned-char -Wno-char-subscripts -DBROWSER_FF31=1
-DJS_THREADSAFE -DBROWSER_FF3=1 -DBROWSER_FF=1 -I../third_party/gecko_1.9.1
-I../third_party/gecko_1.9.1/linux
-I../third_party/gecko_1.9.1/linux/gecko_sdk/include -DMOZILLA_STRICT_API
localserver/common/localserver_db.cc
localserver/common/localserver_db.cc: In destructor
‘ServiceLog::~ServiceLog()’:
localserver/common/localserver_db.cc:254: error: ‘fclose’ was not declared
in this scope
localserver/common/localserver_db.cc: In member function ‘void
ServiceLog::InitializeInternal()’:
localserver/common/localserver_db.cc:270: error: ‘fopen’ was not declared
in this scope
localserver/common/localserver_db.cc: In member function ‘void
ServiceLog::LogHitInternal(const char16*, int)’:
localserver/common/localserver_db.cc:287: error: ‘fprintf’ was not declared
in this scope
make[1]: *** [bin-opt/linux-x86_64/ff31/localserver_db.o] Error 1
make: *** [default] Error 2
--
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