LinuxQuestions.org
Visit Jeremy's Blog.
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 12-05-2005, 07:06 PM   #1
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Rep: Reputation: 15
File "sys_errlist.h" non-existent in FC4


I've had this error before, and I have no idea what it is. I'm trying to build Gnome 2.12 using jhbuild, and when I run "make install" it gives me this error:
Code:
[me@localhost jhbuild]$ make install
gcc -Wall -O2 -o install-check install-check.c
In file included from install-check.c:19:
/usr/include/stdio.h:750:30: error: bits/sys_errlist.h: No such file or directory
make: *** [install-check] Error 1
I googled the error message, couldn't find anything. Does anyone have any idea what the problem is? What exactly is "sys_errlist.h"? How can I fix this?
 
Old 12-05-2005, 07:22 PM   #2
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
I just tried compiling a simple "hello world" script in C, and I got the same error.
Code:
[me@localhost Desktop]$ gcc hello.c
In file included from hello.c:1:
/usr/include/stdio.h:750:30: error: bits/sys_errlist.h: No such file or directory
So now I'm thinking something is wrong with my GCC installation and/or configuration. Any ideas?
 
Old 12-06-2005, 04:11 PM   #3
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
Bump, this is bugging the hell out of me.
 
Old 12-06-2005, 07:26 PM   #4
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
Quote:
Originally Posted by JRR883
So now I'm thinking something is wrong with my GCC installation and/or configuration.
Yes, that's what it looks like. Did you install it with yum, download all the rpms from a site like freshrpms.net, compile it yourself, or is this the version of gcc that came on disc with FC4? what packages and versions did you install? does /usr/include/bits/sys_errlist.h exist? does it exist in another location?
 
Old 12-06-2005, 08:58 PM   #5
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
I didn't install gcc manually, I have been using the one packaged with the FC4 disc (but I probably updated it during a "yum update"). I just did a "yum -y remove gcc && yum -y install gcc" and I still got the same error.
 
Old 12-06-2005, 10:44 PM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
try reinstalling the "glibc-headers" package
 
Old 12-20-2005, 08:11 PM   #7
JRR883
Member
 
Registered: Aug 2005
Location: God's barf bag
Distribution: Ubuntu 7.04 (Feisty Fawn)
Posts: 86

Original Poster
Rep: Reputation: 15
I fixed it. You'll never believe what worked: I created an empty file named "sys_errlist.h" in /usr/include/bits/. Worked like a charm.
 
  


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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
decrypting a file using "crypt" & "rot13" JAMZM101 Solaris / OpenSolaris 1 03-07-2004 09:32 AM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration