Re: GNOME vs GNU gcc & glibc
- From: Gleef <dzol virtual-yellow com>
- To: Sergio Brandano <sb dcs qmw ac uk>
- cc: GNOME-List <gnome-list gnome org>, sb hotpoint dcs qmw ac uk
- Subject: Re: GNOME vs GNU gcc & glibc
- Date: Wed, 7 Apr 1999 11:10:32 -0400 (EDT)
On Wed, 7 Apr 1999, Sergio Brandano wrote:
> > 1. The compiler.
>
> >> When using gcc-2.7.2.3 (that is the one recommended by Linus for
> >> the kernel), GNOME fails with gnome-objc-1.0.2. Spud suggested
> >> to install egcsobjc, that is to use egcs instead of gcc.
> >
> >My understanding is that this Linus recommendation is obsolete. The 2.0
> >series of the Linux kernel inadvertantly depended on a BUG in gcc-2.7.2.3,
> >so it wouldn't compile reliably on gcc-2.8.x or egcs. For the 2.1, 2.2
> >(and presumably the 2.3) series, the recommendation for kernel compiling
> >is gcc-2.8.1, but many people are using egcs or pgcc for it.
>
> I would like to use gcc-2.8.1, but ...
> I quote from /usr/linux/Documentation/Changes of kernel 2.2.5:
>
> >Gnu C
> >=====
> >
> > You need at least GCC 2.7.2 to compile the kernel. If you're
> >upgrading from an earlier release, you might as well get GCC 2.7.2.3,
> >the latest stable public release. If you already have GCC 2.7.2 on
> >your system, you don't have to upgrade just so the kernel will work
> >(though feel free to upgrade if you want the gcc bug fixes).
> >
> > Note that the latest compilers (egcs, pgcc, gcc 2.8) may do Bad
> >Things while compiling your kernel, particularly if absurd
> >optimizations (like -O9) are used. Caveat emptor. Currently, the only
> >C compiler available in a binary distribution is egcs. Version 1.0.3
> >seems okay; if you have to have a binary, you may be successful using
> >that. In general, however, gcc-2.7.2.3 is known to be stable, while
> >egcs and others have not been as thoroughly tested yet.
I would ask about this on the linux-kernel list. This contradicts
information I had read on that list.
> > 2. The libraries.
>
> >GNOME should work fine on libc5, but don't expect thread-safety or
> >multithreading with it. Upgrading libc is generally considered a very
> >difficult task, don't bother upgrading it just for GNOME, since GNOME
> >should work with what you've got.
>
> I am using libc5.
>
> > 3. GNU gettext.
>
> > I want gettext.
> >> You NEED gettext. Gettext version 0.10.35, to be precise:
> >> ftp://alpha.gnu.org/pub/gnu/gettext-0.10.35.tar.gz
>
> I have exactly that gettext installed.
> Still I get the following:
>
> ...
> >lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl
> >/sw/gnome/lib/libgnomeui.so: undefined reference to `dgettext'
> >/sw/gnome/lib/libgnomeui.so: undefined reference to `gettext'
> >/sw/gnome/lib/libgnome.so: undefined reference to `bindtextdomain'
> >make[2]: *** [cddbslave] Error 1
> >make[2]: Leaving directory `/sw/src/gnome/gnome-media-1.0.1/cddbslave'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/sw/src/gnome/gnome-media-1.0.1'
> >make: *** [all-recursive-am] Error 2
Do you have (replace "/usr" with "/usr/local" if that's how things are
set up):
/usr/share/aclocal/gettext.m4
/usr/share/aclocal/lcmessage.m4
/usr/share/aclocal/progtest.m4
/usr/bin/gettext
/usr/bin/gettextize
/usr/share/gettext/intl/gettext.c (and accompanying files)
/usr/share/gettext/po/Makefile.in.in
Does the result of "aclocal --print-ac-dir" match the directory with the
m4 files above?
Best of Luck,
-Gleef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]