LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-27-2002, 01:18 AM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
gcc-3.0.4 install help / aclocal... missing


i need help to install some files needed to install the latest C compiler so that I can compile the latest kernel. I am attempting to install gcc-3.0.4-20020221on Redhat 7.2 as follows:
first unpack gcc-3.2 source tree and cd into it something like
1. in /usr/src, mkdir redhat, cd redhat, mkdir SOURCES
2. switch directory downloaded rpm.src (in my case root)
rpm -Fvh gcc3-3.0.4-1.src.rpm
3. cd to /usr/src/SOURCE and bunzip2 -d gcc-3.0.4-20020221.tar.bz2
4. tar -xvf gcc-3.0.4-20020221.tar
5. cd gcc-3.0.4-20020221
6. mkdir /opt/gcc-3.2
7. ./configure --prefix=/opt/gcc-3.2
8. make bootstrap && make install && echo YES
9. ln -s /opt/gcc-3.2/bin/gcc /usr/local/bin/gcc-3.2
*******************************************************
when I get to step 8, I get the following errors

[checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing

[ETC]

/bin/sh: autoheader: command not found
make[2]: *** [cstamp-h.in] Error 127
make[2]: Leaving directory `/usr/src/redhat/SOURCES/gcc-3.0.4-20020221/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/gcc-3.0.4-20020221/gcc'
make: *** [bootstrap] Error 2

****************************************************
i have tried to install autoconf (which includes authoheader?) and automake as follows (can't find aclocal and makeinfo):

1. Obtain the original source code file (autoconf-2.13.tar.gz) from The GNU Foundation.
2. Download the file to the /compiletmp/ directory.
3. Move to the /compiletmp/ directory and unzip the file with the command:

"gunzip autoconf-2.13.tar.gz"

4. After unzipping the file, untar the resulting tar file with the command:

"tar -xof autoconf-2.13.tar"

5. After untarring the file, move to the /compiletmp/autoconf-2.13
directory and create the Makefile by issuing the command:

"CC='gcc' ./configure --prefix=/usr/local/autoconf-2.13"

6. After the Makefile is configured, compile the program with a simple "make" instruction.

7. "mkdir /usr/local/autoconf-2.13"
"mkdir /usr/local/autoconf-2.13/man"

8. Now, install the binaries, libraries, and man pages with the command:

"make install"

9. ln -s /usr/local/autoconf-2.13/bin/autoconf /usr/bin/autoconf-2.13

10. ln -s /usr/local/autoconf-2.13/bin/autoheader /usr/bin/autoheader-2.13

what do i need to do to fix this problem

Last edited by rioguia; 08-27-2002 at 01:24 AM.
 
Old 11-05-2003, 08:52 PM   #2
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 117

Rep: Reputation: 16
Re: gcc-3.0.4 install help / aclocal... missing

Quote:
Originally posted by rioguia
*******************************************************
when I get to step 8, I get the following errors

[checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing

[ETC]

/bin/sh: autoheader: command not found
make[2]: *** [cstamp-h.in] Error 127
make[2]: Leaving directory `/usr/src/redhat/SOURCES/gcc-3.0.4-20020221/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/gcc-3.0.4-20020221/gcc'
make: *** [bootstrap] Error 2

****************************************************

what do i need to do to fix this problem
The packages you are looking for is part of the development
files of the redhat distro or any other linux distro. Obtain
the orginal source disk for your linux version, then install
the 'development package'

http://distro.ibiblio.org/pub/Linux/distributions/

You also might (missed this one) need to be logged in as root.
If you log in as your own name, then type the 'su' command,
then type the root password, the compiling might work.

I just realized that you have those files when you created
a symbolic link to them.

Last edited by kuyalfinator; 11-05-2003 at 08:54 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with compile -> aclocal-1.7 missing ? muah Linux - Software 1 04-02-2004 04:50 PM
LFS 5.0 stuck @ gettext-0.12.1 - missing aclocal-1.7 quantumechanix Linux From Scratch 1 11-26-2003 11:23 AM
missing gcc, cc, and cl hpglow Linux - Newbie 3 07-23-2003 01:07 PM
aclocal-1.6 missing?? scagman Linux - Newbie 1 06-11-2003 05:33 PM
gcc missing?? cmoloney Linux - Software 3 05-18-2003 01:24 PM


All times are GMT -5. The time now is 12:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration