GNOME Bugzilla – Bug 150358
epiphany not starting without MOZILLA_FIVE_HOME variable set
Last modified: 2004-12-22 21:47:04 UTC
Trying to start epiphany 1.3.5 with unset MOZILLA_FIVE_HOME variable results in the message "Epiphany can't be used now. Mozilla initialization failed. Check your MOZILLA_FIVE_HOME environment variable.". Setting this variable "fixes" the problem. Epiphany 1.3.4 and earlier didn't require to set the variable and I'd like to keep this variable unset unless there are reasons for the behaviour change. BTW: This occurs using mozilla 1.7.2, not tested with other versions.
Can you please paste the "Configure arguments" displayed on the "about:buildconfig" page?
about:buildconfig Build platform target i686-pc-linux-gnu Build tools Compiler Version Compiler flags gcc gcc version 3.3.4 -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe c++ gcc version 3.3.4 -frtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -I/usr/X11R6/include Configure arguments --prefix=/usr --libexecdir=/usr/bin --infodir=/usr/share/info --mandir=/usr/share/man --sysconfdir=/etc --with-system-zlib --with-system-jpeg --with-system-png --with-system-mng --enable-default-toolkit=gtk2 --disable-mailnews --disable-ldap --enable-xft --enable-crypto --disable-jsd --enable-xinerama --disable-accessibility --enable-plaintext-editor-only --disable-composer --disable-installer --disable-tests --disable-debug --enable-optimize --disable-dtd-debug --disable-logging --enable-reorder --enable-strip --enable-elf-dynstr-gc --enable-cpp-rtti --enable-extensions=default,-venkman,-inspector,-irc
Hmmm apparently --with-default-mozilla-five home isn't set, I thought it was enabled by default... We could set the variable from code instead, in ephy-main:main().
Not quite sure but gtk_moz_embed_set_comp_path may work too.
Created attachment 30673 [details] [review] possible fix Chpe what about this ? My mozilla has five home set by configure too, but this works if I set mozilla five home to a wrong value, so it should work in that case too (still if someone could test would be helpful).
Patch was committed.