I am trying to install gcc4.1.1 upon my opensuse machine which already has gcc 4.5 installed but I want an earlier version.
I downloaded gcc-4.1.1.tar.bz2
Extracted the contents
When I tried to run the command “./configure” on terminal its giving error “configure: error: can not find sources in . or …”. However I can see the configure file in the directory. Below are the files present in directory.
While many people here like to help others like you, you should make it as easy as possible for them to understand you and to get the real facts of your problem.
Thus please, when you want to show what your system displays as output/messages when you type a command, then post the complete prompt-command-output part from your terminal emulator here between CODE tags. Thus we can see what you see and you do not have to tell a long story, which story also may contain conclusions you jumped to. Posting in Code Tags - A Guide . Thus do not “tell” what files are in a directory, but do
ls -la
inside that directory.
Same for what you get doing
Well, thanks for that. Much better readable IMHO. I hope you think the same.
I have three remarks. None of them may be of much help, but nevertheless.
Next time better to do what was asked for (well, after checking if unknown people do not ask you to execute harmfull statmnets of course). Thus an* ls -la,*as I suggested, would have shown more then what we have now. We can e.g. not see what is a normal file and what is a directory. It may not be very important, but …
I see there is no README (or something like that) there that could have given us clues to how to build.
As you say you have allready a C compiler, I guess you have installed the Developement pattern with YaST (or zypper).
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
ION | 3GB Ram
I am sorry AG88, but you indeed also failed to tell where you downloaded from. Never assume that others (we) understand magicly what you did/see/got.
Now we see there is a big difference between your download and martin_helm’s (and he explains where he found it).
As Henk already asked I also wonder where your gcc archive comes from, it
looks very incomplete. In fact your unpacked file seems not even to contain
the usual README and INSTALL files. Maybe it is simply a bad download or the
wrong archive (a diff or something like that instead of the full one??).
There are many mirrors available you may want to use the one I used or
directly from the gnu ftp server ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.1/
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
ION | 3GB Ram
Thanks martin_helm and Henk for these suggestions. Actually am totally new to linux so dont know of much technicalities. Previous download was a bad download. I downloaded gcc-4.1.1 from the link suggested by martin_helm and it has alot more content and even the command ./configure worked.
administrator@linux-wnx3:~/Downloads/gcc-4.1.1> ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... no
The following languages will be built: c,c++,java,objc
*** This configuration is not supported in the following subdirectories:
target-libada gnattools target-libgfortran
(Any other directories should still work fine.)
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... (cached) expect
checking for runtest... no
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... (cached) /usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-cc... (cached) cc
checking for i686-pc-linux-gnu-c++... (cached) c++
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-gcc... (cached) gcc
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for i686-pc-linux-gnu-ld... (cached) ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... 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... 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 strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
creating ./config.status
creating Makefile
administrator@linux-wnx3:~/Downloads/gcc-4.1.1> make
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1'
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=/home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=/home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
make[3]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 -I ../.././fastjar/../gcc/doc/include -I ../.././fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo '../.././fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed 's|^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [fastjar.info] Error 1
make[3]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1'
make: *** [all] Error 2
What does these error means??or am I executing wrong command?? Is there some other way for full installation in linux?? I shall be very thankful for help/replies.
But its still giving error. can’t figure out exactly why
administrator@linux-wnx3:~/Downloads/gcc-4.1.1> make bootstrap
Configuring in build-i686-pc-linux-gnu/libiberty
configure: loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... (cached) /home/administrator/Downloads/gcc-4.1.1/missing makeinfo
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
checking for perl... (cached) perl
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... no
checking for ar... (cached) ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (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: config.h is unchanged
config.status: executing default commands
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty'
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
for g in ; do \
case "$g" in \
*$f*) echo $g >> needed-list ;; \
esac; \
done; \
done
echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty'
Configuring in build-i686-pc-linux-gnu/fixincludes
configure: loading cache ../config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking whether gcc supports -W... (cached) yes
checking whether gcc supports -Wall... (cached) yes
checking whether gcc supports -Wwrite-strings... (cached) yes
checking whether gcc supports -Wstrict-prototypes... (cached) yes
checking whether gcc supports -Wmissing-prototypes... (cached) yes
checking whether gcc supports -Wold-style-definition... (cached) yes
checking whether gcc supports -Wmissing-format-attribute... (cached) yes
checking whether gcc supports -pedantic -Wno-long-long... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
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) yes
checking for unistd.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for clearerr_unlocked... (cached) yes
checking for feof_unlocked... (cached) yes
checking for ferror_unlocked... (cached) yes
checking for fflush_unlocked... (cached) yes
checking for fgetc_unlocked... (cached) yes
checking for fgets_unlocked... (cached) yes
checking for fileno_unlocked... (cached) yes
checking for fprintf_unlocked... (cached) no
checking for fputc_unlocked... (cached) yes
checking for fputs_unlocked... (cached) yes
checking for fread_unlocked... (cached) yes
checking for fwrite_unlocked... (cached) yes
checking for getchar_unlocked... (cached) yes
checking for getc_unlocked... (cached) yes
checking for putchar_unlocked... (cached) yes
checking for putc_unlocked... (cached) yes
checking whether abort is declared... (cached) yes
checking whether errno is declared... (cached) no
checking whether clearerr_unlocked is declared... (cached) yes
checking whether feof_unlocked is declared... (cached) yes
checking whether ferror_unlocked is declared... (cached) yes
checking whether fflush_unlocked is declared... (cached) yes
checking whether fgetc_unlocked is declared... (cached) yes
checking whether fgets_unlocked is declared... (cached) no
checking whether fileno_unlocked is declared... (cached) yes
checking whether fprintf_unlocked is declared... (cached) no
checking whether fputc_unlocked is declared... (cached) yes
checking whether fputs_unlocked is declared... (cached) no
checking whether fread_unlocked is declared... (cached) yes
checking whether fwrite_unlocked is declared... (cached) yes
checking whether getchar_unlocked is declared... (cached) yes
checking whether getc_unlocked is declared... (cached) yes
checking whether putchar_unlocked is declared... (cached) yes
checking whether putc_unlocked is declared... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... (cached) yes
checking whether mmap from /dev/zero works... (cached) yes
checking for MAP_ANON(YMOUS)... (cached) yes
checking whether mmap with MAP_ANON(YMOUS) works... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkheaders.almost
config.status: creating config.h
config.status: config.h is unchanged
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/fixincludes'
srcdir="../.././fixincludes" /bin/sh ../.././fixincludes/mkfixinc.sh i686-pc-linux-gnu
sed -e 's/@gcc_version@/4.1.1/' < mkheaders.almost > mkheadersT
mv -f mkheadersT mkheaders
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/build-i686-pc-linux-gnu/fixincludes'
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/intl'
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/libcpp'
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=/home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
Bootstrapping the compiler
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/gcc'
make[1]: *** No rule to make target `bootstrap'. Stop.
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/gcc'
make: *** [bootstrap] Error 2
and afterwards when I try to install
administrator@linux-wnx3:~/Downloads/gcc-4.1.1> make install
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1'
/bin/sh ./mkinstalldirs /usr/local /usr/local
make[2]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 -I ../.././fastjar/../gcc/doc/include -I ../.././fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo '../.././fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed 's|^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[2]: *** [fastjar.info] Error 1
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[1]: *** [install-fastjar] Error 2
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1'
make: *** [install] Error 2
I also do not know what is wrong exactly, but it has no use to go for the next step when a step is not finished OK. Not only it has no use, But you never know what happens then.
Also while the configure and make are to be run as normal user, the make install has to be run as root because root is the only one that can put the files in their proper system places.
And I also repeat what is said before. Do not follow the Internet somewhere, but check the README that belongs to the product and/or ask here when in doubt.
You should make clean or perhaps make distclean (check doco) before doing the configure step again with language restrictions. Rubbish left behind by a previous make may not be cleared if you reconfigure.
I checked if it compiles on my system and got the same error. The reason
seems to be that configure does not detect makeinfo (which is installed). I
guess the makeinfo on the system is too new for this old configure script or
something like that. I took a brute force approach.
kwrite Makefile
look at line 258 (this can slightly differ on your system, the line in
question starts with “MAKEINFO = …” and change it to
MAKEINFO = makeinfo
and run make again (it compiled now on my machine).
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
ION | 3GB Ram
@martin_helm…in my case its again giving same warning/error…that makeinfo is missing on your system…???
administrator@linux-wnx3:~/Downloads/gcc-4.1.1> make
make[1]: Entering directory `/home/administrator/Downloads/gcc-4.1.1'
mkdir -p -- host-i686-pc-linux-gnu/fastjar
Configuring in host-i686-pc-linux-gnu/fastjar
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for strip... /usr/bin/strip
checking for chmod... /bin/chmod
checking whether to enable maintainer-specific portions of Makefiles... no
.
.
.
make[3]: Entering directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
(echo "@set version-GCC 4.1.1"; \
if "" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /home/administrator/Downloads/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000 -I ../.././fastjar/../gcc/doc/include -I ../.././fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo '../.././fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed 's|^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [fastjar.info] Error 1
make[3]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/home/administrator/Downloads/gcc-4.1.1'
make: *** [all] Error 2
I don’t think makeinfo is the problem. It’s printed as a WARNING. I think the problem is it’s trying to build the Java compiler part. You might want to use the --disable-gcj (check this) option of configure to not build that part at all. Did you also restrict the languages? I would have thought that would exclude Java.
@all…well thanks for all your suggestions…the make command actually worked by overwriting MAKEINFO = … with MAKEINFO=makeinfo…Previously the changes in the file were not saved… Thanksalot @martin_helms…
Now I need to install it…but now its again giving error in this step…arrrggghhhh
A “make install” needs to be run with root permissions. But be carefull not
to shadow your default gcc compiler with the older version. Think twice
about it if you really want to install it system wide.
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
ION | 3GB Ram
Hi all,
I too facing the same problem as: WARNING: makeinfo' is missing on your system. You should only need it if you modified a .texi’ or .texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy make’ (AIX,
DU, IRIX). You might want to install the Texinfo' package or the GNU make’ package. Grab either from any GNU archive site.
make[3]: *** [fastjar.info] Error 1
And not able to build gcc4.1.2.
I am running on ubuntu with configuration as …/gcc-4.1.2/configure --target=$TARGET --prefix=$PREFIX --with-newlib --with-gnu-as --with-gnu-ld --disable-shared --disable-libssp .
I tried with option --disable-gcj mentioned by ken_yap, but still not working.
Please tell me alternative or other work-around to do to remove this error.