Dear Jerry, Thomas and Damian,
Not knowing what to do with libc6-i386 libc6-dev-i386 I tried instead
to do without multilib by disabling it:
$ ../Gcc/gcc-14.2.0/configure --prefix=$HOME --disable-multilib
--enable-languages=c,c++,fortran
$ make -j4
$ make -j4 install
That ran for over an hour, without obvious error messages though
occasional warnings flashed up for milliseconds on the screen while
configure and make were running. I now have a gfortran-14 compiler -
thank you all!
Now to discover how to remove all the out-of-date gfortran stuff
cluttering up my computer. (I don't intend ever to run gfortran-9 to
gfortran-12 again.)
John
On Fri, 30 Aug 2024, Jerry D wrote:
Date: Fri, 30 Aug 2024 03:19:37 +0000
From: Jerry D <jvdelis...@gmail.com>
To: John Harper <john.har...@vuw.ac.nz>, Thomas Koenig <tkoe...@netcologne.de>
Cc: Damian Rouson <damian@archaeologic.codes>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>
Subject: Re: Installing gfortran-14
Resent-Date: Fri, 30 Aug 2024 15:19:51 +1200 (NZST)
Resent-From: <john.har...@vuw.ac.nz>
[You don't often get email from jvdelis...@gmail.com. Learn why this is
important at https://aka.ms/LearnAboutSenderIdentification ]
On 8/29/24 7:53 PM, John Harper wrote:
Hi Thomas & Damian
Thank you. I'm running Ubuntu 24.04 in an x86_64 system.
I do have dpkg and it said
(lf) john:~/Gcc-build$ dpkg -S libc-header-start.h
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h
So I tried
$ sudo apt install libc6-dev
$ ../Gcc/gcc-14.2.0/configure --prefix=$HOME --enable-multilib
--enable-languages=c,c++,fortran
$ make -j4
but I still got the same error message from make.
John
I am reminded. When using --enable-multilib you need both the 32-bit and
the 64-bit libraries.
Possibly libc6-i386 libc6-dev-i386.
Jerry
-- John Harper, School of Mathematics and Statistics
Victoria Univ. of Wellington, PO Box 600, Wellington 6140, New Zealand.
e-mail john.har...@vuw.ac.nz