LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Building grub-0.97-19.src.rpm on Fedora8 error ! (https://www.linuxquestions.org/questions/linux-newbie-8/building-grub-0-97-19-src-rpm-on-fedora8-error-668233/)

embeded 09-07-2008 10:26 PM

Building grub-0.97-19.src.rpm on Fedora8 error !
 
I want to custom my grub.
# rpm -ivh grub-0.97-19.src.rpm
# cd /usr/src/redhat/SPECS
#rpmbuild -bp grub.specs
#cd /usr/src/redhat/BUILD/grub-0.97
#./configure-fedora8
Then the error messages output:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure.fedora-8: error: ls -t appears to fail. Make sure there is not a broken
alias in your environment
configure.fedora-8: error: newly created file is older than distributed files!
Check your system clock

I have set the right system clock and time zone,but it doesn't work.
Could anyone help me? Thank you!!!

aus9 09-08-2008 08:01 AM

if all you want to do is customise your current grub....you do not download or install another grub, just post your existing
/boot/grub/menu.lst

and tell us what you want it to do pls

unSpawn 09-08-2008 08:16 AM

What you could do is 'cd /usr/src/redhat/BUILD/grub-0.97; unalias ls; ./configure-fedora8' and see if that works. If it does then you have set an alias for 'ls' that sort of breaks the configure script. (Kinda odd anyway but OK). Else what does 'alias ls' return?

embeded 09-15-2008 10:05 PM

Thank you for help.
I have settled the question.
I deleted some codes about checking system time in configure-fedora-8. Then, #./configure-fedora-8 # make
After make,the file "configure" is created.
Then # ./configure;make


All times are GMT -5. The time now is 04:47 AM.