After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 150358 - epiphany not starting without MOZILLA_FIVE_HOME variable set
epiphany not starting without MOZILLA_FIVE_HOME variable set
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2004-08-17 12:43 UTC by Jürg Billeter
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
possible fix (1.34 KB, patch)
2004-08-17 18:45 UTC, Marco Pesenti Gritti
accepted-commit_now Details | Review

Description Jürg Billeter 2004-08-17 12:43:34 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.
Comment 1 Christian Persch 2004-08-17 14:40:53 UTC
Can you please paste the "Configure arguments" displayed on the
"about:buildconfig" page?
Comment 2 Jürg Billeter 2004-08-17 14:45:29 UTC
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 
Comment 3 Christian Persch 2004-08-17 15:49:14 UTC
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().
Comment 4 Marco Pesenti Gritti 2004-08-17 17:23:11 UTC
Not quite sure but gtk_moz_embed_set_comp_path may work too.
Comment 5 Marco Pesenti Gritti 2004-08-17 18:45:38 UTC
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).
Comment 6 Christian Persch 2004-08-20 11:25:08 UTC
Patch was committed.