Where to compile GCC: Now, abiword won't compile
Joel Hammer
Joel
Mon May 17 11:44:52 PDT 2004
Well, things are better. The thing (gcc) compiled and installed.
I now have two version of gcc on my computer:
-rwxr-xr-x 2 root root 216884 Feb 26 21:17 /usr/local/bin/gcc
-rwxr-xr-x 1 root root 203694 Dec 14 12:46 /usr/bin/gcc
I have a similar pair of files for g++.
Now, the old g++ won't compile things, giving a library error. This is
the entire reason for this exercise. The new g++ seems to work. My
problem is, when I try to configure abiword, the configure script only
tries the old version. So, I just renamed the old version to something
other than g++ or gcc, and the configure script finds the new versions
of gcc and g++. Is this kosher?
Anyway, the configure script now runs for abiword, but now I get the following
error during configure, which doesn't stop the configuration but stops the
make.
checking for jpeg_start_decompress in -ljpeg
gcc -o conftest conftest.c -ljpeg >&5
/usr/lib/libjpeg.so: undefined reference to `atexit@@GLIBC_2.0'
This happens while it is configuring wv. This GLIBC_2.0 is suspicious, since
I have 2.2.5, I think.
Do I need a new jpg library? jpeg is a link to libjpeg.so.62.0.0
Any insight appreciated,
Joel
On Wed, Feb 26, 2003 at 08:13:06PM -0500, Kurt Wall wrote:
> Feigning erudition, Joel Hammer wrote:
> % I have downloaded the sources for gcc-2.95.3
> %
> % I want to compile this thing, and it seems to config OK and make ok.
> % I am totally confused on where this should go. The instructions from the
> % install file are reproduced here, and I would appreciate an English
> % translation with an example.
> % ============Instructions===================
> % Like most GNU software, GCC must be configured before it can be built.
> % This document describes the recommended configuration procedure for
> % both native and cross targets.
> %
> % We use _srcdir_ to refer to the toplevel source directory for GCC; we
> % use _objdir_ to refer to the toplevel build/object directory.
>
> "_srcdir_" = the directory created when you unpacked the tarball
> "_objdir_" = a new directory you create in which to configure and
> build the sources in "_srcdir_"
>
> [...]
>
> % To configure GCC:
> %
> % % mkdir _objdir_
> % % cd _objdir_
> % % _srcdir_/configure _[target]_ _[options]_
>
> For example:
>
> $ gzip -cd gcc-2.95.3.tar.gz | tar -xf -
> $ mkdir builddir
> $ cd builddir
> $ ../gcc-2.95.3/configure --prefix=/usr/local
> $ make bootstrap
> $ su
> Password:
> # make install
>
> Kurt
> --
> In a medium in which a News Piece takes a minute and an "In-Depth"
> Piece takes two minutes, the Simple will drive out the Complex.
> -- Frank Mankiewicz
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list