Click to See Complete Forum and Search --> : Anyone managed to install Galeon & Mozilla from source?


Wallex
10-30-2002, 03:07 PM
I liked Galeon.. now I am trying to update it (1.2.6). The problem is as follow:
I managed to configure, make and install mozilla, it even runs! It's installed in /usr/local/mozilla/1.2bSRC (I have like three versions of Mozilla installed all in /usr/local/mozilla).
I go to the galeon root dir and use configure...
checking for Mozilla... no

Hmm... it doesn't finds my Mozilla.. and this is what I have done so far in my attempt to help Galeon find it:
export MOZILLA_FIVE_HOME=/usr/local/mozilla/1.2bSRC
And my whole configure line is:
./configure --with-glib-prefix=/usr/local --with-gtk-prefix=/usr/local --with-gdk-pixbuf-prefix=/usr/local --with-mozilla-libs=/usr/local/mozilla/1.2bSRC/lib --with-mozilla-includes=/usr/local/mozilla/1.2bSRC/include --with-mozilla-home=/usr/local/mozilla/1.2bSRC --with-mozilla-snapshot=1.2b

I've tried removing the snapshot parameter, I've tried changing the includes/libs parameter to point to the main directory.. and still nothing. I am going on the right track and this should be working already, or am I missing something? By the way.. don't tell me to just go and fetch Moz 1.1 or something like that.. because if Moz 1.2b won't play nice with Galeon, I will know at compile time.. not at configure time.

Metalhead01
10-30-2002, 03:58 PM
emerge galeon

emerge mozilla

Installing from source worked for me!

Wallex
10-30-2002, 11:17 PM
Originally posted by Metalhead01
emerge galeon

emerge mozilla

Installing from source worked for me!
I'll make sure to write that down and remember once I get Gentoo on December (if I ever get it running, that is). But I can't wait so long to get a working browser.. so I guess I'll just keep trying on my own. If I wanna be a programmer someday, I should be able to fix these kind of issues....
There, I managed to get past configure. I had to change the mozilla paths to mozilla_home/dist/lib instead of mozilla_home/lib for my parameters... gosh I guess reading the INSTALL file does help to get things installed. My new configure line is:
ryel@Ryel:/home/pub/downloads/galeon-1.2.6> ./configure --with-glib-prefix=/usr/local --with-gtk-prefix=/usr/local --with-gdk-pixbuf-prefix=/usr/local --with-mozilla-libs=/usr/local/mozilla/1.2bSRC/dist/lib --with-mozilla-includes=/usr/local/mozilla/1.2bSRC/dist/include --with-mozilla-home=/usr/local/mozilla/1.2bSRC --with-mozilla-snapshot=trunk
It configures fine.... but now the real test begins, time to make.
EDIT: Gee... sure I am unlucky, the compile failed because the Gnome I have is pretty old, and I updated GTK... so I got the error that...
/opt/gnome/include/gnome-1.0/libgnome/gnome-i18n.h:30: warning: `gettext' redefined
/usr/include/libintl.h:103: warning: this is the location of the previous definition
/opt/gnome/include/gnome-1.0/libgnome/gnome-i18n.h:31: warning: `dgettext' redefined
/usr/include/libintl.h:106: warning: this is the location of the previous definition
make[3]: *** [prefs_utils.o] Error 1
Well.. my only solution is to upgrade gnome as well... OR... just give up and use rpms. I think I'll use rpms for now... once I try the next distro, I'll make sure to not mess up again.