Subject: Re: problems installing/running mozilla
To: None <port-macppc@netbsd.org, tech-pkg@netbsd.org>
From: =?ISO-8859-1?Q?Lasse_Hiller=F8e_Petersen?= <lhp@toft-hp.dk>
List: tech-pkg
Date: 04/15/2004 18:20:32
I'm trying without luck to install mozilla-gtk2 1.6nb3 from pkgsrc on
1.6.2.macppc. I found this thread from january which seems related, so I
hope it is OK to revive it.
Thomas Klausner wrote, on 2004-01-22:
>
> On Tue, Jan 20, 2004 at 10:01:00AM +0100, Thomas Klausner wrote:
> > On Tue, Jan 20, 2004 at 09:55:18AM +0100, Michael Rauch wrote:
> > > > Since 1.5.1 works but 1.5.1nb1 doesn't, could it have something
> > > > to do with the added Xinerama support?
> > >
> > > I think so. libXinerama is only available as a static lib
> > > (/usr/X11R6/lib/libXinerama.a), which is compiled without -fPIC.
> Linking
> > > such a static library into a shared one (libgfx_gtk.so) won't work in
> > > general, but result in the error in the first quoted line.
> > > One exception to this general rule is i386, where there's no real
> difference
> > > between code compiled with and without -fPIC, so, although wrong,
> it just
> > > happens to work there.
> >
> > Ok, so the mozilla package needs to check for the shared libXinerama
> too,
> > not only for the header file.
> >
> > I'll take a look at it, thanks for the hint.
>
> Checking for libXinerama.so and making Xinerama
> support dependent on that made mozilla work again on
> macppc, so I committed it.
>
> Thanks.
> Thomas
I seem to be having a similar problem - my pkgsrc is updated from CVS on
2004-04-13, BTW.
I get:
nsNativeComponentLoader: SelfRegisterDll(libgfx_gtk.so) Load FAILED with
error: /usr/X11R6/lib/libXp.so.6: Unsupported relocation type 10 in
non-PLT relocations
nsNativeComponentLoader: SelfRegisterDll(libgfxxprint.so) Load FAILED
with error: /usr/X11R6/lib/libXp.so.6: Unsupported relocation type 10 in
non-PLT relocations
I have just tried to remove Xinerama support unconditionally from
www/mozilla/Makefile.common, but this has made no difference.
Charles Hannum wrote in
<http://mail-index.netbsd.org/tech-pkg/2004/03/31/0040.html> something
about this being an error which has been fixed in current xsrc;
unfortunately I seem to be stuck with 1.6.2 for the moment.
Is there a quick fix I can apply, or has a fix made it into 1-6-release,
in which case I might try to build that?
-Lasse