LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2003, 03:32 AM   #1
HenryCrum
LQ Newbie
 
Registered: Jan 2003
Location: Dunedin, New Zealand
Distribution: Redhat 7.3
Posts: 2

Rep: Reputation: 0
Smile 'make xconfig' error


I've just downloaded 2.4.20 and get error an message when I run 'make xconfig' as follows:-

[root@localhost linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
make[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts' make: *** [xconfig] Error 2

Can anyone help?

Cheers Henry
 
Old 01-14-2003, 04:06 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
woops, wrong problem

this is normally the problem with xconfig

but it appears you have gcc problems

I guess menuconfig does not work either.


Oh well I'm leaving this here for others

------------------------------------------
run this first
Code:
export DISPLAY=localhost:0.0
if it still does not work try this
Code:
export DISPLAY=127.0.0.1:0.0
if the second one works and not the first you may have a problem in /etc/hosts
-------------------------------------------

Last edited by DavidPhillips; 01-14-2003 at 04:10 AM.
 
Old 01-14-2003, 04:12 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Ok, see if gcc is in your path

david@slacker:~$ gcc
gcc: No input files


this means it is

if not then you need to see where it is and add it to your path, if you have it


david@slacker:~$ locate bin/gcc
/usr/bin/gcc-2.95.3
/usr/bin/gcc
/usr/X11R6/bin/gccmakedep

david@slacker:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/opt/kde/bin:/usr/lib/qt-3.0.4/bin:/usr/share/texmf/bin:.






Code:
PATH=$PATH:/somewhere


it's possible the link is broken

check it like this

Code:
ls -l `locate /bin/gcc`
-rwxr-xr-x    1 root     bin          2037 Mar 27  2002 /usr/X11R6/bin/gccmakedep*
lrwxrwxrwx    1 root     root           10 Dec  6 11:57 /usr/bin/gcc -> gcc-2.95.3*
-rwxr-xr-x    1 root     bin         68528 Feb 22  2002 /usr/bin/gcc-2.95.3*

see that gcc is a link to the gcc-??? file you have installed

Last edited by DavidPhillips; 01-14-2003 at 04:24 AM.
 
Old 01-15-2003, 12:04 AM   #4
HenryCrum
LQ Newbie
 
Registered: Jan 2003
Location: Dunedin, New Zealand
Distribution: Redhat 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks David, gcc was not in path as you suggested. Have corrected and all is now working correctly.
Thanks & cheers
Henry
 
Old 01-15-2003, 12:16 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Cool!

 
  


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
make xconfig error doctorwebbox Debian 4 07-08-2006 11:47 AM
make xconfig error Daveb3 Linux - Newbie 1 06-15-2005 05:35 PM
qt make xconfig error xushi Slackware 6 03-28-2005 07:19 PM
make xconfig error kmichal2 Mandriva 2 12-21-2004 09:24 PM
error make xconfig Haiyadragon Mandriva 5 12-21-2003 08:00 PM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration