Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 28-02-2006, 07:08 PM   #1 (permalink)
Alpha Geek
 
Join Date: Feb 2005
Posts: 959
Default problem with system date in FC4


hi guys,

I use FC4 and while installing, i forgot to set the date.... by mistake, it has been set to 2007!!! and i hav been working on it for arnd a week... after that i noticed the date problem and reverted back to the original date. now that, this is done, when i try to install some software with the commands say,

./configure
make
make install

i get this error....

Quote:
Originally Posted by legolas
make[3]: Entering directory `/home/arun/libsbml-2.3.4/src/bindings'
make[3]: Warning: File `/dev/null' has modification time 3.2e+07 s in the future
make[3]: Nothing to be done for `include'.
make[3]: warning: Clock skew detected. Your build may be incomplete.
pls help me with this... its really important... should i change the dates of the already installed directories(which have dates 2007) ??? if so how to? any alternatives?

/legolas
__________________
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
legolas is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-02-2006, 09:26 PM   #2 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

First, you should try restarting once and trying to compile the program again, as restarting will recreate all files in /dev ...

Else, you can change dates of files in your system using the "touch" command. Running 'touch *' in a directory will set all files in the current directory to have the current system date as their modificaction date.

As you need to change the dates of all files in the system, you will need a simple loop to do it, something like running

Code:
for i in `find` ; do touch $i ; done
In the / directory.

But be careful, running this changes all dates and may have a bad affect on some applications/processes. Also you should unmount all drives before running this.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 01-03-2006, 02:26 PM   #3 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Ujjwal, why go into a for loop when find itself can execute commands upon its output?

Code:
 $ find . -exec touch {} \;
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 01-03-2006, 02:43 PM   #4 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

I wasn't aware of that, thanks for the info
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 02-03-2006, 11:25 AM   #5 (permalink)
Alpha Geek
 
Join Date: Feb 2005
Posts: 959
Default

i restarted and recompiled... but stil it says... WARNING: <filename> is upated 1.1e 03 seconds in future... or something... and at the end it says

warning: clock skew detected: your build may be incomplete

can i use that command u gave to reset the dates? wil that be of any real harm? y should i unmount the drives?

/legolas
__________________
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
legolas is offline  
Old 02-03-2006, 01:12 PM   #6 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Note: True programmers never worry about WARNINGS ... Then only worry if its an ERROR

GCC/Makefile uses source file's timestamp to determine which files need to be recompiled, and which have been edited. I guess Ujjwal's trick might just work!
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 02-03-2006, 02:59 PM   #7 (permalink)
Alpha Geek
 
Join Date: Feb 2005
Posts: 959
Default

I worry coz i dont get it compiled!!! and after trying many times. that makes me think there is some prob with this only. thks anyway.

/legolas
__________________
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
legolas is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by icebags
- by clinton
- by topgear

Advertisement




All times are GMT +5.5. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2