LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-31-2008, 03:52 AM   #1
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Rep: Reputation: 15
Bash 3.2 installation error


I am in section 5.14 in LFS book 6.3. When i try to build it , here is the error message I get

Code:
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
 
Old 05-31-2008, 07:29 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Have you read section 1.5 of the LFS book? Did you do what the configure script told you to do (i.e., see config.log)?
 
Old 05-31-2008, 07:39 AM   #3
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Original Poster
Rep: Reputation: 15
Yes but it of no help
I tried to compile this code
Code:
int main()
{
     sizeof(char);
     return 0;
}
However the program exits with exit code 1
 
Old 05-31-2008, 12:08 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
What program was the configure script attempting to compile when it failed? That information and the reason it failed will be found in the config.log. Just search for the term 'error' in config.log and you should find it.
 
  


Reply



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
bash script read error and awk ouptut error whited Programming 4 10-16-2007 07:05 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 07:40 AM
Installation issue with 5.2 and bash sullivjp AIX 2 07-18-2006 09:44 AM
error when tying to run python script(bash error?) shanenin Programming 5 01-10-2006 10:01 AM
bash 3.0 installation pingvina Linux - Newbie 18 01-04-2006 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:45 PM.

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