Thread: Problems about gcc installation

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    10

    Problems about gcc installation

    HI,

    i need to install gcc, and when i install it, the following problems appeared:

    onyx4 5# make
    Configuring in fastjar
    configure: loading cache ./config.cache
    checking for a BSD-compatible install... ../../gcc-4.0.1/fastjar/../install-sh c
    checking whether build environment is sane... yes
    checking for gawk... (cached) nawk
    checking whether make sets $(MAKE)... (cached) yes
    checking for mips-sgi-irix6.5-gcc... (cached) cc
    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... (cached) o
    checking whether we are using the GNU C compiler... (cached) no
    checking whether cc accepts -g... (cached) yes
    checking for cc option to accept ANSI C... (cached) none needed
    checking for style of include used by make... GNU
    checking dependency style of cc... (cached) sgi
    checking for a BSD-compatible install... ../../gcc-4.0.1/fastjar/../install-sh c
    checking for rm... (cached) /sbin/rm
    checking for cp... (cached) /sbin/cp
    checking for strip... (cached) /usr/bin/strip
    checking for chmod... (cached) /sbin/chmod
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for dirent.h that defines DIR... (cached) yes
    checking for library containing opendir... (cached) none required
    checking how to run the C preprocessor... (cached) cc -E
    checking for egrep... (cached) grep -E
    checking for ANSI C header files... (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for memory.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for ftruncate... (cached) yes
    checking for _chsize... (cached) no
    checking for off_t... (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking if mkdir takes one argument... (cached) no
    checking size of char... (cached) 1
    checking size of short... (cached) 2
    checking size of int... (cached) 4
    checking size of long... (cached) 4
    checking for long long... (cached) yes
    checking size of long long... (cached) 8
    checking whether byte ordering is bigendian... (cached) yes
    checking whether to place generated files in the source directory... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating install-defs.sh
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    Configuring in zlib
    configure: loading cache ./config.cache
    checking build system type... (cached) mips-sgi-irix6.5
    checking host system type... (cached) mips-sgi-irix6.5
    checking target system type... (cached) mips-sgi-irix6.5
    checking for a BSD-compatible install... ../../gcc-4.0.1/zlib/../install-sh -c
    checking whether build environment is sane... yes
    checking for gawk... (cached) nawk
    checking whether make sets $(MAKE)... (cached) yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for mips-sgi-irix6.5-gcc... (cached) cc
    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... (cached) o
    checking whether we are using the GNU C compiler... (cached) no
    checking whether cc accepts -g... (cached) yes
    checking for cc option to accept ANSI C... (cached) none needed
    checking for style of include used by make... GNU
    checking dependency style of cc... (cached) sgi
    checking for non-GNU ld... (cached) ld
    checking if the linker (ld) is GNU ld... (cached) no
    checking for ld option to reload object files... (cached) -r
    checking for BSD-compatible nm... (cached) nm
    checking whether ln -s works... yes
    checking how to recognise dependant libraries... (cached) pass_all
    checking for mips-sgi-irix6.5-ranlib... (cached) :
    checking for mips-sgi-irix6.5-strip... no
    checking for strip... (cached) strip
    loading cache ./config.cache within ltconfig
    checking for objdir... .libs
    checking for cc option to produce PIC... -DPIC
    checking if cc PIC flag -DPIC works... (cached) yes
    checking if cc static flag works... (cached) no
    finding the maximum length of command line arguments... (cached) 12289
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the linker (ld -n32) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    checking dynamic linker characteristics... irix6.5 ld.so
    checking command to parse nm output... failed
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    creating libtool
    updating cache ./config.cache
    configure: loading cache ./config.cache
    checking how to run the C preprocessor... (cached) cc -E
    checking for memcpy... (cached) yes
    checking for strerror... (cached) yes
    checking for unistd.h... (cached) yes
    updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: executing default-1 commands
    config.status: executing depfiles commands
    true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g " "CXXFLAGS=-g -O2" e
    Configuring in libiberty
    configure: loading cache ./config.cache
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for makeinfo... (cached) /usr/people/brz/gcc/gcc-4.0.1/missing makeinfo
    configure: WARNING:
    *** Makeinfo is missing. Info documentation will not be built.
    checking for perl... (cached) perl
    checking build system type... (cached) mips-sgi-irix6.5
    checking host system type... (cached) mips-sgi-irix6.5
    checking for mips-sgi-irix6.5-ar... (cached) ar
    checking for mips-sgi-irix6.5-ranlib... (cached) :
    checking for mips-sgi-irix6.5-gcc... (cached) cc
    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... (cached) o
    checking whether we are using the GNU C compiler... (cached) no
    checking whether cc accepts -g... (cached) yes
    checking for cc option to accept ANSI C... (cached) none needed
    checking how to run the C preprocessor... (cached) cc -E
    checking whether cc understands -c and -o together... (cached) yes
    checking for an ANSI C-conforming const... (cached) yes
    checking for inline... (cached) __inline
    checking whether byte ordering is bigendian... (cached) yes
    checking for a BSD-compatible install... ../../gcc-4.0.1/libiberty/../install-sc
    xhost-mkfrag is unchanged
    checking for sys/file.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for limits.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for malloc.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for time.h... (cached) yes
    checking for sys/resource.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for sys/mman.h... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for alloca.h... (cached) yes
    checking for sys/pstat.h... (cached) no
    checking for sys/sysmp.h... (cached) yes
    checking for sys/sysinfo.h... (cached) yes
    checking for machine/hal_sysinfo.h... (cached) no
    checking for sys/table.h... (cached) no
    checking for sys/sysctl.h... (cached) yes
    checking for sys/systemcfg.h... (cached) no
    checking for stdint.h... (cached) no
    checking for stdio_ext.h... (cached) no
    checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
    checking whether time.h and sys/time.h may both be included... (cached) yes
    checking whether errno must be declared... (cached) no
    checking for egrep... (cached) grep -E
    checking for ANSI C header files... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for memory.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) no
    checking for unistd.h... (cached) yes
    checking for int... (cached) yes
    checking size of int... (cached) 4
    checking for uintptr_t... (cached) yes
    checking for a 64-bit type... (cached) unsigned long long
    checking for pid_t... (cached) yes
    checking for library containing strerror... (cached) none required
    checking for asprintf... (cached) no
    checking for atexit... (cached) yes
    checking for basename... (cached) no
    checking for bcmp... (cached) yes
    checking for bcopy... (cached) yes
    checking for bsearch... (cached) yes
    checking for bzero... (cached) yes
    checking for calloc... (cached) yes
    checking for clock... (cached) yes
    checking for ffs... (cached) yes
    checking for getcwd... (cached) yes
    checking for getpagesize... (cached) yes
    checking for index... (cached) yes
    checking for insque... (cached) yes
    checking for memchr... (cached) yes
    checking for memcmp... (cached) yes
    checking for memcpy... (cached) yes
    checking for memmove... (cached) yes
    checking for mempcpy... (cached) no
    checking for memset... (cached) yes
    checking for mkstemps... (cached) no
    checking for putenv... (cached) yes
    checking for random... (cached) yes
    checking for rename... (cached) yes
    checking for rindex... (cached) yes
    checking for setenv... (cached) no
    checking for snprintf... (cached) yes
    checking for sigsetmask... (cached) yes
    checking for stpcpy... (cached) no
    checking for stpncpy... (cached) no
    checking for strcasecmp... (cached) yes
    checking for strchr... (cached) yes
    checking for strdup... (cached) yes
    checking for strncasecmp... (cached) yes
    checking for strrchr... (cached) yes
    checking for strstr... (cached) yes
    checking for strtod... (cached) yes
    checking for strtol... (cached) yes
    checking for strtoul... (cached) yes
    checking for tmpnam... (cached) yes
    checking for vasprintf... (cached) no
    checking for vfprintf... (cached) yes
    checking for vprintf... (cached) yes
    checking for vsnprintf... (cached) yes
    checking for vsprintf... (cached) yes
    checking for waitpid... (cached) yes
    checking whether alloca needs Cray hooks... (cached) no
    checking stack direction for C alloca... (cached) -1
    checking for unistd.h... (cached) yes
    checking for vfork.h... (cached) no
    checking for fork... (cached) yes
    checking for vfork... (cached) no
    checking for working fork... (cached) yes
    checking for _doprnt... (cached) yes
    checking for sys_errlist... (cached) yes
    checking for sys_nerr... (cached) yes
    checking for sys_siglist... (cached) yes
    checking for external symbol _system_configuration... no
    checking for getrusage... (cached) yes
    checking for on_exit... (cached) no
    checking for psignal... (cached) yes
    checking for strerror... (cached) yes
    checking for strsignal... (cached) no
    checking for sysconf... (cached) yes
    checking for times... (cached) yes
    checking for sbrk... (cached) yes
    checking for gettimeofday... (cached) yes
    checking for realpath... (cached) yes
    checking for canonicalize_file_name... (cached) no
    checking for pstat_getstatic... (cached) no
    checking for pstat_getdynamic... (cached) no
    checking for sysmp... (cached) yes
    checking for getsysinfo... (cached) no
    checking for table... (cached) no
    checking for sysctl... (cached) yes
    checking for __fsetlocking... (cached) no
    checking whether canonicalize_file_name must be declared... (cached) yes
    checking for working strncmp... (cached) yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating testsuite/Makefile
    config.status: creating config.h
    config.status: executing default commands
    don't know how to make regex.c (bu42).
    *** Error code 1 (bu21)

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    10
    And when i check it, the info is :


    onyx4 6# make -k check
    don't know how to make ../libiberty/libiberty.a (bu42).
    *** Error code 1 (bu21)
    sh[51]: fixincludes: not found
    *** Error code 127 (bu21)
    sh[51]: gcc: not found
    *** Error code 127 (bu21)
    sh[51]: intl: not found
    *** Error code 127 (bu21)
    sh[51]: libcpp: not found
    *** Error code 127 (bu21)
    don't know how to make ../libiberty.a (bu42).
    *** Error code 1 (bu21)
    `check' not remade because of errors (bu14)
    sh[114]: mips-sgi-irix6.5/libstdc++-v3: not found
    *** Error code 127 (bu21)
    sh[113]: mips-sgi-irix6.5/libobjc: not found
    *** Error code 127 (bu21)
    sh[113]: mips-sgi-irix6.5/libiberty: not found
    *** Error code 127 (bu21)
    `check' not remade because of errors (bu14)

  3. #3
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    which distro are you using?

    since gcc is normally installed automatically.

    or is this with the current bleeding edge tarball that you are getting the problems?
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  4. #4
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    When I was compiling my GCC last time, I used make bootstrap to ensure that compiler is compiled with itself (ex. GCC 4.0.0 is compiled with GCC 4.0.0 even you have GCC 3.x on system where you're compiling).
    [C++]
    IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    [C#]
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    [PHP]
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

  5. #5
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Fedora Core 4 ships with gcc 4.0, you could just install that

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-07-2006, 11:56 PM
  2. problems compiling in gcc
    By ra_mer in forum C Programming
    Replies: 6
    Last Post: 09-04-2006, 09:13 PM
  3. GCC Installation Help
    By Dae in forum C++ Programming
    Replies: 5
    Last Post: 06-15-2005, 09:53 PM
  4. gcc on windows
    By rajatkochhar in forum C Programming
    Replies: 9
    Last Post: 06-07-2005, 11:52 AM
  5. Having Problems with Win2k and Softice
    By XenoCodex Admin in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-01-2002, 02:14 PM