LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-07-2008, 08:56 AM   #1
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
Slackbuild problem


Hello,

I've tried installing some packages using slackbuild and I always get this error message...

checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock

when I check /tmp theres a folder for the software package but theres nothing in it

ummm... help (I guess)

Humbly,

mikel
 
Old 04-07-2008, 09:17 AM   #2
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 32
when you run the build script are you doing it as root or sudo? If not, try one or the other.
 
Old 04-07-2008, 09:34 AM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,280

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
1. Extract build script.
2. Put source package that you downloaded into the newly created directory that resulted from the build script being extracted. eg. mv nameofpackage /home/yourusername/downloads/nameofpackagedirectory
3. cd into that directory.
4. Issue su command
5. # chmod +x nameofpackage.SlackBuild
6. # ./nameofpackage.SlackBuild
7. # cd /tmp
8. # installpkg nameofpackage.tgz
 
Old 04-07-2008, 09:38 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Check the clock on your PC. It looks like your computer is living in the past.

Eric
 
Old 04-07-2008, 10:13 AM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
To check your clock do a command "date" from you shell and show/check the output.
 
Old 04-07-2008, 11:07 AM   #6
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

A. Did it as root

B.

1. Extract build script.
2. Put source package that you downloaded into the newly created directory that resulted from the build script being extracted. eg. mv nameofpackage /home/yourusername/downloads/nameofpackagedirectory
3. cd into that directory.
4. Issue su command
5. # chmod +x nameofpackage.SlackBuild
6. # ./nameofpackage.SlackBuild
=This is the point where I got the error message
7. # cd /tmp
8. # installpkg nameofpackage.tgz
=No .tgz package on /tm/SBo/packagename/packagename-package(or some other variant)

C.checked the date and this is what I got

Sun Jan 2 22:58:47 PHT 2005

. Oh God... My computer IS living in the past...

How do I correct this? in the BIOS?

Thank you for your time.

Humbly,

mikel
 
Old 04-07-2008, 11:58 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
In Slackware you can run a NTP program that will keep your computer time synchronized with the Internet Time servers.
Run
Code:
chmod +x /etc/rc.d/rc.ntpd
so that the NTP daemon will start on next boot.
You may have to check /etc/ntp.conf to see if there is a valid NTP server listed there. The hostname "pool.ntp.org" is a good one to use.

Eric
 
Old 04-07-2008, 12:16 PM   #8
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

Thanks. Is this the same with the synchronize time option in KDE? I used it a while back, but whenever I turn my PC off it would give the wrong date and time so switched back to manual time adjustment and still, whenever I turn my computer off the date and time would be wrong again... Its the same in XP...

I probably need a new battery for my board.(?)

Thank you for your time.

I didnt notice that my computers date was wrong... correct time though. Please forgive my carelesness.

Humbled, (once again)

mikel
 
Old 04-07-2008, 12:18 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 70
If you decide to use ntp, make sure you aren't blocking ntp in your firewall (if you use one).

You might also be interested in Section 6.4.7. of the Slackbook: Setting the timezone
 
Old 04-07-2008, 12:32 PM   #10
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

Thank you for helping me out with this problem that I should have figured out on my own if I only had been more attentive to my computer.

When will I stop asking silly questions!!!

Once again, my gratitude for the assistance.

Thank you for your time.

Humbly,

mikel

PS. By the way, Slackbuilds is fine now.
 
Old 04-07-2008, 11:40 PM   #11
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
I have an offish topic question. How much of a security risk is using NTP to set the time? (I have refrained from using it thus far just in case, without doing much real research)
 
Old 04-07-2008, 11:46 PM   #12
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,280

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
Smile

Quote:
Originally Posted by http:// View Post
PS. By the way, Slackbuilds is fine now.
Awesome! Glad you figured it out:-)
 
  


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
Slackbuild for OpenOffice arubin Slackware 9 01-05-2008 02:27 AM
Problem installing mad-wifi slackbuild on new kernel der_11 Slackware 2 08-07-2007 02:14 AM
SlackBuild CrEsPo Slackware 2 03-19-2006 02:58 PM
KDE.SlackBuild spaceballs Slackware 8 04-01-2005 09:42 AM
SlackBuild system thegeekster Slackware 7 06-01-2004 07:59 PM


All times are GMT -5. The time now is 07:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration