On Mon, 16 Dec 2002, 02:30:41 +0100, Dan Clowater wrote:
> So related to another thread, I installed Mozilla 1.2.1-0 xft and that
> works great.
>
> Galeon is another problem... I installed the 1.2.7-7 rpm - when it
> starts it whines about not having 1.20 mozilla... then it goes on its
> way and starts up... it pauses then exits.
>
> Any help on how to fix this?
Get Galeon's source RPM, install it, apply the attached patch and
build it using gcc296:
# rpm -ivh galeon-1.2.7-1.src.rpm
# cd /usr/src/redhat/SPECS
# patch < /where/you/saved/the/attached/patch
# cd ..
# env CC=gcc296 CXX="g++296 -I/usr/include/g++-3" rpmbuild -bb SPECS/galeon.spec
> Thanks in advance! :)
>
> Here are the terminal comments:
>
> galeon &
> [1] 3276
> [root@localhost rpms]#
> GnomeUI-WARNING **: While connecting to session manager:
> Authentication Rejected, reason : None of the authentication protocols
> specified are supported
> and host-based authentication failed.
>
> ** WARNING **: compiled mozilla version 1.2 != detected mozilla_version
> 1.2.1
> /usr/bin/galeon-bin: relocation error: /usr/bin/galeon-bin: undefined
> symbol: CreateInstance__1
> 8nsComponentManagerRC4nsIDP11nsISupportsT1PPv
This is caused by mozilla being compiled with a different compiler
than galeon; make sure you are using gcc296, or otherwise Sun's JVM
(and probably others, too) will make problems.
HTH, cheers.
l8er
manfred
--- SPECS/galeon.spec.orig 2002-11-29 02:08:17.000000000 +0100
+++ SPECS/galeon.spec 2002-12-03 11:53:31.000000000 +0100
@@ -4,16 +4,16 @@
Summary: Gnome browser based on Gecko (Mozilla rendering engine).
Name: galeon
Version: 1.2.7
-Release: 1
+Release: 2
License: GPL
Group: Applications/Internet
Source: galeon-%{PACKAGE_VERSION}.tar.gz
URL: http://galeon.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
-Packager: Marco Pesenti Gritti <[EMAIL PROTECTED]>
+Packager: Manfred Hollstein <[EMAIL PROTECTED]>
Autoreq: 0
BuildRequires: gettext >= 0.10.38
-BuildRequires: mozilla-devel = 1.2
+BuildRequires: mozilla-devel = 1.2.1
BuildRequires: glib-devel
BuildRequires: gtk+-devel >= 1.2.9
BuildRequires: libxml-devel >= 1.8.14
@@ -34,7 +34,7 @@ Requires: oaf >= 0.6.5
Requires: gnome-vfs >= 1.0.1
Requires: gdk-pixbuf >= 0.14.0
Requires: libglade >= 0.13
-Requires: mozilla = 1.2
+Requires: mozilla = 1.2.1
%description
Galeon is a web browser built around Gecko (Mozilla 's rendering engine)
@@ -60,11 +60,13 @@ if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} \
--with-gnome --without-debug --sysconfdir=%{_sysconfdir} \
--disable-install-schemas --disable-scrollkeeper-update
$NAUTILUS_VIEW_OPTION \
+ --with-mozilla-snapshot=1.2 --with-mozilla-libs=/usr/lib/mozilla-1.2.1
+--with-mozilla-includes=/usr/include/mozilla-1.2.1 \
--mandir=$RPM_BUILD_ROOT%{_mandir} --disable-werror
else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--with-gnome --without-debug --sysconfdir=%{_sysconfdir} \
--disable-install-schemas --disable-scrollkeeper-update
$NAUTILUS_VIEW_OPTION \
+ --with-mozilla-snapshot=1.2 --with-mozilla-libs=/usr/lib/mozilla-1.2.1
+--with-mozilla-includes=/usr/include/mozilla-1.2.1 \
--mandir=$RPM_BUILD_ROOT%{_mandir} --disable-werror
fi
@@ -120,6 +122,9 @@ if which scrollkeeper-update>/dev/null 2
%changelog
+* Tue Dec 03 2002 Manfred Hollstein <[EMAIL PROTECTED]>
+- fixes for mozilla-1.2.1
+
* Thu Aug 29 2002 Yanko Kaneti <[EMAIL PROTECTED]>
- remove the explicit prefix and sysconfdir defines