Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Problem with gcc installing.

  1. #1

    Question Problem with gcc installing.

    Hi! I trying to instal gcc 4.9.0, when i use "make" command operations ends with error:

    checking dependency style of g++... none
    configure: error: no usable dependency style found
    make[2]: *** [configure-stage1-gcc] Error 1
    make[2]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make: *** [all] Error 2

    What i need to do to fix it?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problem with gcc installing.

    On 2014-07-14 20:06, Vladimir89 wrote:
    >
    > Hi! I trying to instal gcc 4.9.0,


    Why don't you simply download the rpm from devel:gcc?


    > when i use "make" command operations
    > ends with error:


    It is not clear what you are compiling, you omitted the command used.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Problem with gcc installing.

    Hello Vladimir89,

    Welcome here (see this is your first post).

    Please in this forum, use CODE tags around any computer text you copy/paste into a post. You getthem by clicking on the # button in the tool bar of the post editor.

    And, as robin_listas says, when applicable copy/paste the prompt, the command, the output and the next prompt. Not just a few lines of the output, we can realy not guess what you did to get them.
    Henk van Velden

  4. #4

    Default Re: Problem with gcc installing.

    Quote Originally Posted by hcvv View Post
    Hello Vladimir89,

    Welcome here (see this is your first post).

    Please in this forum, use CODE tags around any computer text you copy/paste into a post. You getthem by clicking on the # button in the tool bar of the post editor.

    And, as robin_listas says, when applicable copy/paste the prompt, the command, the output and the next prompt. Not just a few lines of the output, we can realy not guess what you did to get them.
    Thank you for your criticism.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Problem with gcc installing.

    Quote Originally Posted by Vladimir89 View Post
    Thank you for your criticism.
    It is not realy critisism. Specialy the CODE tags is not something you can know that they exist when we do not tell. The rest is only an advice to make the mutual understanding between people so far away from each other in time (zone) and space easier.
    Henk van Velden

  6. #6

    Default Re: Problem with gcc installing.

    First I use
    Code:
    ./configure --disable-multilib
    command and get this:

    Code:
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln works... yes
    checking whether ln -s works... yes
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for gawk... gawk
    checking for libatomic support... yes
    checking for libcilkrts support... yes
    checking for libitm support... yes
    checking for libsanitizer support... yes
    checking for libvtv support... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    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 whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking whether g++ accepts -static-libstdc++ -static-libgcc... no
    checking for gnatbind... no
    checking for gnatmake... no
    checking whether compiler driver understands Ada... no
    checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
    checking for objdir... .libs
    checking for the correct version of gmp.h... yes
    checking for the correct version of mpfr.h... yes
    checking for the correct version of mpc.h... yes
    checking for the correct version of the gmp/mpfr/mpc libraries... yes
    checking for version 0.10 of ISL... no
    checking for version 0.11 of ISL... no
    checking for version 0.12 of ISL... no
    The following languages will be built: c,c++,fortran,java,lto,objc
    checking for default BUILD_CONFIG... bootstrap-debug
    checking for --enable-vtable-verify... no
    checking for bison... no
    checking for byacc... no
    checking for yacc... no
    checking for bison... no
    checking for gm4... no
    checking for gnum4... no
    checking for m4... m4
    checking for flex... no
    checking for lex... no
    checking for flex... no
    checking for makeinfo... no
    checking for expect... no
    checking for runtest... no
    checking for ar... ar
    checking for as... as
    checking for dlltool... no
    checking for ld... (cached) /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld
    checking for lipo... no
    checking for nm... nm
    checking for ranlib... ranlib
    checking for strip... strip
    checking for windres... no
    checking for windmc... no
    checking for objcopy... objcopy
    checking for objdump... objdump
    checking for readelf... readelf
    checking for cc... cc
    checking for c++... no
    checking for g++... no
    checking for cxx... no
    checking for gxx... no
    checking for gcc... gcc
    checking for gcj... no
    checking for gfortran... no
    checking for gccgo... no
    checking for ar... no
    checking for ar... ar
    checking for as... no
    checking for as... as
    checking for dlltool... no
    checking for dlltool... no
    checking for ld... no
    checking for ld... ld
    checking for lipo... no
    checking for lipo... no
    checking for nm... no
    checking for nm... nm
    checking for objdump... no
    checking for objdump... objdump
    checking for ranlib... no
    checking for ranlib... ranlib
    checking for readelf... no
    checking for readelf... readelf
    checking for strip... no
    checking for strip... strip
    checking for windres... no
    checking for windres... no
    checking for windmc... no
    checking for windmc... no
    checking where to find the target ar... host tool
    checking where to find the target as... host tool
    checking where to find the target cc... just compiled
    checking where to find the target c++... just compiled
    checking where to find the target c++ for libstdc++... just compiled
    checking where to find the target dlltool... host tool
    checking where to find the target gcc... just compiled
    checking where to find the target gcj... just compiled
    checking where to find the target gfortran... just compiled
    checking where to find the target gccgo... host tool
    checking where to find the target ld... host tool
    checking where to find the target lipo... host tool
    checking where to find the target nm... host tool
    checking where to find the target objdump... host tool
    checking where to find the target ranlib... host tool
    checking where to find the target readelf... host tool
    checking where to find the target strip... host tool
    checking where to find the target windres... host tool
    checking where to find the target windmc... host tool
    checking whether to enable maintainer-specific portions of Makefiles... no
    configure: creating ./config.status
    config.status: creating Makefile

    Then, I use make, here is full output:

    Code:
     make | tee makeLog.txt
    [ -f stage_final ] || echo stage3 > stage_final
    make[1]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[2]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[3]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0'
    rm -f stage_current
    make[3]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[2]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[2]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[3]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/libiberty'
    make[4]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
    make[3]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/libiberty'
    make[3]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/lto-plugin'
    make  all-am
    make[4]: Entering directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/lto-plugin'
    make[4]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/lto-plugin'
    make[3]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0/host-x86_64-unknown-linux-gnu/lto-plugin'
    Configuring stage 1 in host-x86_64-unknown-linux-gnu/gcc
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
    configure: loading cache ./config.cache
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking LIBRARY_PATH variable... ok
    checking GCC_EXEC_PREFIX variable... ok
    checking whether to place generated files in the source directory... no
    checking whether a default linker was specified... no
    checking whether a default assembler was specified... no
    checking for x86_64-unknown-linux-gnu-gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking for x86_64-unknown-linux-gnu-gnatbind... no
    checking for x86_64-unknown-linux-gnu-gnatmake... no
    checking whether compiler driver understands Ada... no
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking how to run the C preprocessor... gcc -E
    checking for inline... inline
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking size of void *... 8
    checking size of short... 2
    checking size of int... 4
    checking size of long... 8
    checking for long long... yes
    checking size of long long... 8
    checking for __int64... no
    checking for int8_t... yes
    checking for int16_t... yes
    checking for int32_t... yes
    checking for int64_t... yes
    checking for long long int... yes
    checking for intmax_t... yes
    checking for intptr_t... yes
    checking for uint8_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for uint64_t... yes
    checking for unsigned long long int... yes
    checking for uintmax_t... yes
    checking for uintptr_t... yes
    checking whether gcc supports -W... yes
    checking whether gcc supports -Wall... yes
    checking whether gcc supports -Wnarrowing... no
    checking whether gcc supports -Wwrite-strings... yes
    checking whether gcc supports -Wcast-qual... yes
    checking whether gcc supports -Wformat... yes
    checking whether gcc supports -Wstrict-prototypes... yes
    checking whether gcc supports -Wmissing-prototypes... yes
    checking whether gcc supports -Wmissing-format-attribute... yes
    checking whether gcc supports -Wold-style-definition... yes
    checking whether gcc supports -Wc++-compat... yes
    checking whether gcc supports -pedantic -Wlong-long -Wvariadic-macros -Woverlength-strings... yes
    checking whether gcc supports -fno-exceptions... yes
    checking whether gcc supports -fno-rtti... yes
    checking whether gcc supports -fasynchronous-unwind-tables... yes
    checking valgrind.h usability... no
    checking valgrind.h presence... no
    checking for valgrind.h... no
    checking for multiarch configuration... auto
    configure: WARNING: fixed-point is not supported for this target, ignored
    checking whether make sets $(MAKE)... yes
    checking for gawk... gawk
    checking whether ln -s works... yes
    checking whether ln works... yes
    checking for x86_64-unknown-linux-gnu-ranlib... ranlib
    checking for a BSD compatible install... /usr/bin/install -c
    checking for cmp's capabilities... gnucompare
    checking for mktemp... yes
    checking for makeinfo... /home/vladimir/Downloads/gcc-4.9.0/missing makeinfo --split-size=5000000 --split-size=5000000
    checking for modern makeinfo... no
    configure: WARNING:
    *** Makeinfo is missing or too old.
    *** Info documentation will not be built.
    checking for recent Pod::Man... yes
    checking for flex... /home/vladimir/Downloads/gcc-4.9.0/missing flex
    checking for bison... /home/vladimir/Downloads/gcc-4.9.0/missing bison
    checking for nm... nm
    checking for ar... ar
    checking for ANSI C header files... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether string.h and strings.h may both be included... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking whether termios.h defines TIOCGWINSZ... no
    checking whether sys/ioctl.h defines TIOCGWINSZ... yes
    checking for limits.h... yes
    checking for stddef.h... yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for time.h... yes
    checking for iconv.h... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/file.h... yes
    checking for sys/time.h... yes
    checking for sys/mman.h... yes
    checking for sys/resource.h... yes
    checking for sys/param.h... yes
    checking for sys/times.h... yes
    checking for sys/stat.h... (cached) yes
    checking for direct.h... no
    checking for malloc.h... yes
    checking for langinfo.h... yes
    checking for ldfcn.h... no
    checking for locale.h... yes
    checking for wchar.h... yes
    checking for thread.h... no
    checking for pthread.h... yes
    checking for CHAR_BIT... yes
    checking whether byte ordering is bigendian... no
    checking how to run the C++ preprocessor... /lib/cpp
    checking for unordered_map... no
    checking for tr1/unordered_map... no
    checking for ext/hash_map... no
    checking dependency style of g++... none
    configure: error: no usable dependency style found
    make[2]: *** [configure-stage1-gcc] Error 1
    make[2]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    make: *** [all] Error 2
    Where can I get rpm for 12.1 OpenSuse?

    I have try to use rpm for 12.2 from download.opensuse.org/repositories, but it ends with it:

    What does it mean? I need to have base version to update? If so where I can get it?

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Problem with gcc installing.

    Quote Originally Posted by Vladimir89 View Post

    Where can I get rpm for 12.1 OpenSuse?
    Thre is still a repository for the discontinued 12.1 at: ftp://ftp5.gwdg.de/pub/opensuse/disc...ribution/12.1/
    Henk van Velden

  8. #8
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,580

    Default Re: Problem with gcc installing.

    Ok If you would have mentioned the version of the OS at your first post It would have been shorter.

    Any how 12.1 is out of suppoert but you should be able to find at least some of the repos somewhere in the net

    this looks like it but it may not have all you may need but it does have gcc

    http://ftp5.gwdg.de/pub/opensuse/dis...s/suse/x86_64/

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problem with gcc installing.

    On 2014-07-14 21:56, Vladimir89 wrote:
    >
    > First I use


    ....

    > Then, I use make, here is full output:
    >
    >


    Code:
    
    >   make | tee makeLog.txt
    Well, you know that errors will not go into the log file.

    Code:
    
    >   [ -f stage_final ] || echo stage3 > stage_final
    
    ....
    
    >   configure: WARNING:
    >   *** Makeinfo is missing or too old.
    >   *** Info documentation will not be built.
    
    Too old...
    
    And some missing components...
    
    ....
    
    >   checking dependency style of g++... none
    >   configure: error: no usable dependency style found
    >   make[2]: *** [configure-stage1-gcc] Error 1
    >   make[2]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    >   make[1]: *** [stage1-bubble] Error 2
    >   make[1]: Leaving directory `/home/vladimir/Downloads/gcc-4.9.0'
    >   make: *** [all] Error 2
    Mmmm... :-?



    > Where can I get rpm for 12.1 OpenSuse?



    You are using 12.1? Wow, that's too old!
    My recommendation is to simply upgrade to the current 13.1.
    12.1 is not longer maintained.


    > I have try to use rpm for 12.2 from download.opensuse.org/repositories,
    > but it ends with it:
    > [image: http://kartashev.in/image.jpg]


    What program are you using for install?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  10. #10

    Default Re: Problem with gcc installing.

    Here is two types of erorrs I meet when starts rpm's from source you give.








    What I need to do to fix it?

    If somebody knows what mean error which appears when I try manual installation, please tell me, because I want to understand what "dependency style" is in this case.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •