Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 02-10-2002, 03:29 PM   #1
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Make Loop

I did a quick install of RedHat 7.1 to use as a base system for LFS compilation, installing the "development" packages and just those things I needed.

At installing bash in $LFS, the configure command and options runs fine (I decided to split it out from the '&&', and do each command individually). However, when I ran 'make', the configure script would run again (doing all the checking). I didn't think much of this, until I noticed the same screens ('check for blah blah blah') fly past over and over and over and ..

You get the point. So, I did 'make | more' to pause some of the screens, and before the whole thing loops again, the following message occurred:

make: *** Warning: File 'configure' has modification time in the future (2001-11-12 06:53:01 > 2000-06-15 12:13:45)

Note, this is after make was running for about 20 minutes or so. I hate wasting time like that.

Well, a quick run of 'date' tells me my system time is WAY off (set to the 'June 2000' date above. I update it, rerun make and everything is cool.

make and make install only took 1 minute or less.

So yeah, I fixed it, this isn't really a question. Just thought I'd put it out there for LFS 'notes' or whatever.

Old 02-11-2002, 02:51 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Weird that it would keep looping through and running it again. I guess it's because it only gave a warning and an error never really occurred. There are always simple little things you seem to run into when building an LFS, which often take lots of time to figure out.
I had a problem of my own which also had to do with the time. I was compiling gcc in chapter 6 and it kept complaining that I needed autoconf. Autoconf is a package that gets installed later in chapter 6 and if you don't modify the configure options then it should never need it. I scanned the mailinglist and there where several messages about making sure you didn't use the same source tree as in chapter 6. I hadn't done that but just to make sure I did the whole process again from a freshly unpacked source tree. Still the same error. I finally found a message about a guy rebooting his machine which magically solved the problem. I couldn't reboot right then because the machine was still busy with other things. But I figured that maybe because the ntpd was running it was changing the time in milliseconds which could somehow mess up with it checking to make sure a file wasn't modified. So I killed the ntpd and just to make sure I logged out and logged in again. After that it compiled without any complaints. I still don't know whether it was the ntpd or logging in and out which solved it. But I highly suspect that the ntpd was changing the time, especially since I was compiling on a 486 and quite a bit of time elapsed between starting the compile and getting the error.
Well at least I got past that, only several packages left to install in chapter 6. But they do take ages. I think I can take every time in the book and multiply it by 8 if not more, to figure out how long it takes to compile the package.


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
No loop# SeaSharp Linux - Newbie 3 09-06-2005 08:14 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
compiling kernel, initrd can't make image, 'loop devices busy' infamous41md Linux - Newbie 2 06-02-2004 11:59 AM
never ending loop on make jods Linux - Software 1 04-02-2004 03:02 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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