I was download and built it in moblin-chroot enviroment. The log is following:
bash-3.2# pwd /home/wei/rpmbuild/SPECS bash-3.2# rpmbuild -bb grub.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6gjMt2 + umask 022 + cd /home/wei/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/wei/rpmbuild/BUILD ........ + LD_AS_NEEDED=1 + export LD_AS_NEEDED + autoreconf /var/tmp/rpm-tmp.snVUMc: line 29: autoreconf: command not found error: Bad exit status from /var/tmp/rpm-tmp.snVUMc (%build) 2009/7/10 Wang, Jing J <jing.j.w...@intel.com> > What environment are u in to build grub? > On my moblin based netbook, I can build grub successfully. Steps as below > 1. yumdownload --source grub > 2. rpm -ivh grub-x.xxx.rpm > 3. cd /root/rpmbuild/SPEC > 4. rpm -bb grub.spec > > That is it. > > -----Original Message----- > From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of > Yingqi Wei > Sent: 2009年7月10日 10:35 > To: d...@lists.moblin.org > Subject: [Moblin Dev] Grub compile error > > Hi, > > Moblin2 used legacy grub0.97. I am wonder why moblin not used Grub2. > > I can't compile the source code of > grub-0.97-48.2.moblin2.src.rpm< > http://repo.moblin.org/moblin/development/core/source/grub-0.97-48.2.moblin2.src.rpm > > > > After rpmbuild -bp grub.spec, I found it miss the configure file which is > in > normal grub-0.97. That file was deleted by patch0. Without that file , I > don't know how to create the Makefile. > > When rpmbuild -ba grub.spec, an error reported: > + autoreconf > /var/tmp/rpm-tmp.vuZpg9: line 29: autoreconf: command not found > error: Bad exit status from /var/tmp/rpm-tmp.vuZpg9 (%build) > > Would anyone tell me how to compile the grub? Why moblin used version 0.97 > instead of GRUB 2 1.95? > > Best regards > > Wei > _______________________________________________ > Moblin dev Mailing List > dev@moblin.org > > To manage or unsubscribe from this mailing list visit: > http://lists.moblin.org/listinfo/dev or your user account on > http://moblin.org once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists > _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists