public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/97003] New: Error: gfortran: No such file or directory and GNU gortran is nor working
@ 2020-09-09 21:28 xianping.du at gmail dot com
  2020-09-09 21:36 ` [Bug fortran/97003] " kargl at gcc dot gnu.org
  2020-09-10 20:26 ` xianping.du at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: xianping.du at gmail dot com @ 2020-09-09 21:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97003

            Bug ID: 97003
           Summary: Error: gfortran: No such file or directory and GNU
                    gortran is nor working
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xianping.du at gmail dot com
  Target Milestone: ---
            Target: Gcc -7.5.0
             Build: Gcc- 6.3.0

Created attachment 49205
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49205&action=edit
The configure log with the error information

Compiled the Gcc as the following on the ubuntu 18.04.
1) sudo apt update
2) sudo apt upgrade
3) contrib/download_prerequisites
4) ./configure --prefix=/usr/local/gcc63 --program-suffix=63
--enable-languages=c,c++,fortran --disable-multilib
5) make -j 4

Error is reported as attached with the critical area copied here.
#################################################################
/home/seager/Downloads/gcc-6.3.0/libgfortran/configure: line 1897:
/home/seager/Downloads/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/gfortran: No such
file or directory
configure:15673: $? = 127
configure: failed program was:
| 
|       program foo
|       real, parameter :: bar = sin (12.34 / 2.5)
|       end program foo
configure:15677: result: no
configure:15679: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/home/seager/Downloads/gcc-6.3.0/x86_64-pc-linux-gnu/libgfortran/config.log
###############################################################

I can understand the problem, but I do not know how to fix it. Is there someone
can help on this issue? Thank you for any help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/97003] Error: gfortran: No such file or directory and GNU gortran is nor working
  2020-09-09 21:28 [Bug fortran/97003] New: Error: gfortran: No such file or directory and GNU gortran is nor working xianping.du at gmail dot com
@ 2020-09-09 21:36 ` kargl at gcc dot gnu.org
  2020-09-10 20:26 ` xianping.du at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: kargl at gcc dot gnu.org @ 2020-09-09 21:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97003

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |kargl at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Seager Du from comment #0)
> Created attachment 49205 [details]
> The configure log with the error information
> 
> Compiled the Gcc as the following on the ubuntu 18.04.
> 1) sudo apt update
> 2) sudo apt upgrade
> 3) contrib/download_prerequisites
> 4) ./configure --prefix=/usr/local/gcc63 --program-suffix=63
> --enable-languages=c,c++,fortran --disable-multilib

Please the instruction for installing GCC at https://gcc.gnu.org/install/

Your step 4) is invalidate.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/97003] Error: gfortran: No such file or directory and GNU gortran is nor working
  2020-09-09 21:28 [Bug fortran/97003] New: Error: gfortran: No such file or directory and GNU gortran is nor working xianping.du at gmail dot com
  2020-09-09 21:36 ` [Bug fortran/97003] " kargl at gcc dot gnu.org
@ 2020-09-10 20:26 ` xianping.du at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: xianping.du at gmail dot com @ 2020-09-10 20:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97003

Seager Du <xianping.du at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from Seager Du <xianping.du at gmail dot com> ---
(In reply to kargl from comment #1)
> (In reply to Seager Du from comment #0)
> > Created attachment 49205 [details]
> > The configure log with the error information
> > 
> > Compiled the Gcc as the following on the ubuntu 18.04.
> > 1) sudo apt update
> > 2) sudo apt upgrade
> > 3) contrib/download_prerequisites
> > 4) ./configure --prefix=/usr/local/gcc63 --program-suffix=63
> > --enable-languages=c,c++,fortran --disable-multilib
> 
> Please the instruction for installing GCC at https://gcc.gnu.org/install/
> 
> Your step 4) is invalidate.

Thank you for your comment. I congifure and build the Gcc in a separate
directory out of the GCC. It works awesome. Thank you

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-10 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 21:28 [Bug fortran/97003] New: Error: gfortran: No such file or directory and GNU gortran is nor working xianping.du at gmail dot com
2020-09-09 21:36 ` [Bug fortran/97003] " kargl at gcc dot gnu.org
2020-09-10 20:26 ` xianping.du at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).