LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc errors (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-errors-524219/)

gloomz 01-30-2007 07:27 PM

gcc errors
 
Here's what I got when trying to compile something.

Newly created files are older than distributed files. Check your system clock!

This happened to me just a couple weeks ago. I googled and found the answer.

I remember I had to apt-get something. Something to do with gcc.

I've already apt-get install gcc though and it says its the latest version.

I know I just have the apt-get something. I've googled again and couldn't find the thread.

Anyone know?

shorun 01-30-2007 07:58 PM

Quote:

Newly created files are older than distributed files. Check your system clock!
well, according to this error, you simply have a bad timesetting.

set your time to the correct date using "date" or your favorite editor.
"man date" should get you a manual for date

gloomz 01-30-2007 08:09 PM

Yeah, I know it "says" that, but it's simply a matter of apt-getting something.

I just can't find out what the apt-get.

But it has nothing to do with the clock.

gloomz 01-30-2007 08:22 PM

Some extra info:

Installed Debian Etch netinst, so I know it doesn't have a lot of libraries etc..

that's why there is a problem. The clock is fine, i'm just missing something needed other than gcc in order to compile.

gloomz 01-30-2007 09:44 PM

Ok basically instead of some random library, how bout someone lists all the libraries that can be installed via apt-get so I can compile everything.

gloomz 01-30-2007 10:05 PM

anybody? bump

gloomz 01-30-2007 10:22 PM

I need an answer, i'm not going to melt away.

gloomz 01-30-2007 10:59 PM

I just need something that will compile c files for me.

Because apparently, by itself gcc isn't cutting it.

Obviously i need more than just gcc so if you can post libraries that are attainable via apt-get i would be very happy.

I have an entire day to spend on this, so I don't want this to get me stuck.

gloomz 01-30-2007 11:16 PM

Anybody? Please!

gloomz 01-30-2007 11:39 PM

88 views??!!! Come on.. this isn't that hard. I just can't find an answer through google.

Nylex 01-31-2007 12:01 AM

Quote:

Originally Posted by gloomz
I just need something that will compile c files for me.

What libraries you need will depend on what libraries are used in the relevant files..

Surely apt-get has an option that will let you search for things, so use that (or use Synaptic and see all the packages you can install).

Please could you be more patient in future. Just because people view your thread doesn't mean they can help you.

shorun 02-01-2007 09:34 AM

apt does have a search function, i think it was apt-cache or something like that. try "man apt".

sorry i can't help you with this.

ps: 88 vieuws means people care, but can't help. useless info would still be, useless. keep in mind this is still a free forum, and that we do not get paid to do this. it's all just a "friendly hand" from people who care.

timmeke 02-01-2007 09:43 AM

And also keep in mind that forum rules say that you have to wait 24 hours before you bump you thread.

weibullguy 02-01-2007 10:02 AM

Quote:

Originally Posted by gloomz
Here's what I got when trying to compile something.

Newly created files are older than distributed files. Check your system clock!

This happened to me just a couple weeks ago. I googled and found the answer.

I remember I had to apt-get something. Something to do with gcc.

I've already apt-get install gcc though and it says its the latest version.

I know I just have the apt-get something. I've googled again and couldn't find the thread.

Anyone know?

If you apt-get installed something a couple of weeks ago to solve the problem, then it should still be installed. Unless you uninstalled it, but that wouldn't make sense to do would it? Typically this is because your system time or the packager's system time is wrong. Especially if you use NTP and the daemon is borked. Using UTC has also been reported to skew time settings. Check your system time and try to touch the offending files before you configure again.

Besided gcc, you need Linux headers, glibc headers, binutils, bash, coreutils, diffutils, findutils, gawk, gettext, grep, make, patch, sed, texinfo, and probably somethings I forgot. I'm assuming, of course, that you're trying to build something from a tarball you downloaded.


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