Hi,
I am completely new to gcc. I converted my Lenovo G580, i3 4-Core x86_64 laptop
from Windows 8 to Linux Mageia 5, now 6, the latest upgrade. I am busy with a
web developing course at Udemy, but cannot view their course video's.
Gnash requires a C++ compiler which led me here. I carefully read and followed
the GCC Manual. My Gcc-object directory was made next to gcc-7.2.0 from the
start. I used the software as it was downloaded. The listings are copied from
the terminal window, no editing. I did edit the Path for C++ and tried the same
for g++ and gnat, but in all cases the result, before and after, showed as under
*Gnash result.* I did this in .bash_profile.
Machine; Lenovo G580 i3 4-Core x86-64.
OS; Mageia 6. After Windows 8 stripped, Killdisk one pass on Hard disc.
_*Gnash result;*_
[root@localhost Gnash]# ls
gnash-0.8.10/ gnash-0.8.10.tar.gz*
[root@localhost Gnash]# cd gnash-0.8.10; ls
ABOUT-NLS ChangeLog configure* desktop/ gui/
libdevice/ macros/ NEWS README utilities/
aclocal.m4 compile* configure.ac doc/ INSTALL libmedia/
Makefile.am packaging/ README.git
AUTHORS config.guess* COPYING extensions/ install-sh*
librender/ Makefile.in pch.am revno.h
autogen.sh* config.rpath* cygnal/ gnashconfig.h.in libbase/
libsound/ missing* plugin/ testsuite/
base-attempter.sh config.sub* depcomp* gnash.pc.in libcore/
ltmain.sh* mkinstalldirs* po/ TODO
[root@localhost gnash-0.8.10]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: in `/home/caldon/Executives/Gnash/gnash-0.8.10':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
[root@localhost gnash-0.8.10]#
I later got the same diagnostics in the gcc config.log file.
_*Configure command*_.
[root@localhost Gcc-object]# /home/caldon/Executives/GCC/gcc-7.2.0/configure
--prefix=$HOME/gcc-7.2.0 --enable-languages=c,c++,fortran,go
_*Make results.*_
[root@localhost Gcc-object]# make -j8
_*These are the last lines in the terminal;*_
config.status: executing libtool commands
configure: summary of build options:
Version: GNU MP 6.1.0
Host type: none-pc-linux-gnu
ABI: standard
Install prefix: /root/gcc-7.2.0
Compiler: gcc
Static libraries: yes
Shared libraries: no
make[2]: Leaving directory '/home/caldon/Executives/GCC/Gcc-object'
make[1]: *** [Makefile:27751: stage1-bubble] *Error 2*
make[1]: Leaving directory '/home/caldon/Executives/GCC/Gcc-object'
make: *** [Makefile:942: all] *Error 2*
_*Make install result;*_
[root@localhost Gcc-object]# make install
make[1]: Entering directory '/home/caldon/Executives/GCC/Gcc-object'
/bin/sh /home/caldon/Executives/GCC/gcc-7.2.0/mkinstalldirs /root/gcc-7.2.0
/root/gcc-7.2.0
mkdir -p -- /root/gcc-7.2.0 /root/gcc-7.2.0
make[2]: Entering directory '/home/caldon/Executives/GCC/Gcc-object/fixincludes'
make[2]: *** No rule to make target 'install'. *Stop.*
make[2]: Leaving directory '/home/caldon/Executives/GCC/Gcc-object/fixincludes'
make[1]: *** [Makefile:3737: install-fixincludes] Error 2
make[1]: Leaving directory '/home/caldon/Executives/GCC/Gcc-object'
make: *** [Makefile:2338: install]*Error 2*
[root@localhost Gcc-object]#
_*Questions;*_
I understand the situation around compile time errors.
1. Can I safely ignore the errors? It seems the Stop in the Make install
result is fatal.
2. Any ideas on what I may have left out or did wrong?
3. How do I address the g++ issue correctly? Tried Gnash again. Same thing.
Please let me know of any further information needed. I kept the listings as
short as possible.
Thank you,
Chris.