On 5/11/07, Simon Geard <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-05-10 at 06:41 -0700, Dan Nicholson wrote:
> > On 5/10/07, randhir phagura <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > While building firefox-2.0.0.3, as per the book, i get the error:
> > > '/usr/bin/ld cannot find -lX11'.
> > > XF86 has been installed at the default prefix /usr/X11R6.
> > 'ld.so.conf' has
> > > been updated and 'ldconfig' also done . PKG_CONFIG_PATH shows X11
> > libs in
> > > the path.
> >
> > Hmm, where in the build does this break? Hopefully it's just because
> > of my fix. Maybe you want to try this:
>
> It's a problem that's broken all of the Firefox 2 releases... have you
> not encountered it before? I use the following patch to deal with it,
> which is basically similar to your suggested fix...
>
> ***
> --- mozilla/layout/build/Makefile.in    2006-07-18 07:05:13.000000000
> +1200
> +++ mozilla-new/layout/build/Makefile.in        2006-10-29
> 22:15:38.000000000 +1300
> @@ -226,6 +226,7 @@
>
>  ifdef MOZ_ENABLE_GTK2
>  EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS) \
> +               -lX11 -lXrender \
>                     $(NULL)
>  endif

That part's in the BLFS book. However, it seems he's having a problem
because Mozilla don't figure out where to find libX11. I.e., something
needs to add -L/usr/X11R6/lib, but it's not. For me this isn't an
issue because it's in /usr/lib. My advice the other day was totally
wrong about -L/usr/lib/X11.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to