You are not logged in.

#1 2006-12-10 07:52:43

sacarde
Member
Registered: 2006-07-14
Posts: 389

error building PKG grub-reiser4

helo,
   I have this error building makepkg in grub-reiser4 aur package

makepkg
./PKGBUILD: line 12: syntax error near unexpected token `)'
./PKGBUILD: line 12: `           '4876f193005df5fca8ca9647729d1e23')'
==> Making package: grub 0.97-2 (Sun Dec 10 08:48:50 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of grub-0.97-reiser4-20050808.tar.gz
==>     Found menu.lst in build dir
==>     Found install-grub in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf grub-0.97-reiser4-20050808.tar.gz
==> Starting build()...
/usr/bin/makepkg: line 637: build: command not found
==> ERROR: Build Failed.  Aborting...



what is ?


thankyou

Offline

#2 2006-12-10 12:19:47

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: error building PKG grub-reiser4

I'm not seeing this package in aur anywere. Please post your PKGBUILD.

Offline

#3 2006-12-10 12:35:55

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: error building PKG grub-reiser4

pkgname=grub
pkgver=0.97
pkgrel=2
pkgdesc="A GNU multiboot boot loader"
url="http://www.gnu.org/software/grub/"
depends=('ncurses' 'libaal' 'reiser4progs' 'bash')

source=(ftp://ftp.namesys.com/pub/reiser4progs/grub-0.97-reiser4-20050808.tar.gz

menu.lst install-grub)
backup=('boot/grub/menu.lst')
#md5sums=('c5a860a4cd81cffc95a3b9ca5624aa7b' '615101c2fc1bc2204be8eba33cfaf52c'
           '4876f193005df5fca8ca9647729d1e23')

build() {
        cd $startdir/src/$pkgname-$pkgver
# optimizations break the build -- disable them
        CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin
        CFLAGS= make || return 1
        make DESTDIR=$startdir/pkg install
        install -D -m644 ../install-grub $startdir/pkg/sbin/install-grub
        install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
        mkdir -p $startdir/pkg/usr/share
        ln -s ../lib/grub $startdir/pkg/usr/share/grub
}

Offline

#4 2006-12-10 12:38:12

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: error building PKG grub-reiser4

#md5sums=('c5a860a4cd81cffc95a3b9ca5624aa7b' '615101c2fc1bc2204be8eba33cfaf52c'
'4876f193005df5fca8ca9647729d1e23')

the '' indicates starting a newline but treat it as the same. If you comment out the top half, do the same to the second:

#md5sums=('c5a860a4cd81cffc95a3b9ca5624aa7b' '615101c2fc1bc2204be8eba33cfaf52c'
#'4876f193005df5fca8ca9647729d1e23')

Offline

#5 2006-12-10 12:38:59

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: error building PKG grub-reiser4

Offline

#6 2006-12-10 13:11:22

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: error building PKG grub-reiser4

thankyou and sorry for my error

but when installed I run:

grub-install /dev/hda


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> root (hd1,4)
Filesystem type is reiserfs, partition type 0x83
grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"...  18 sectors are embedded.
succeeded
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) (hd0)1+18 p (hd1,4)/boot/grub/stage /boot/grub/menu.lst"... failed

Error 15: File not found
grub> quit


---------------------------
this I view in my /boot/grub

default        iso9660_stage1_5  minix_stage1_5     stage2_eltorito
device.map     jfs_stage1_5      reiser4_stage1_5   ufs2_stage1_5
e2fs_stage1_5  menu.lst          reiserfs_stage1_5  vstafs_stage1_5
fat_stage1_5   menu.lst.old      stage1             xfs_stage1_5
ffs_stage1_5   menu.lst.pacnew   stage2

Offline

#7 2006-12-10 13:20:41

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: error building PKG grub-reiser4

have you tried doing it manually?

grub
>root (hd?,?) # partition where boot image lies. ? are numbers not letters
>setup (hd?)  #disk to install grub on mbr
>quit

Offline

#8 2006-12-10 13:36:36

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: error building PKG grub-reiser4

same error

Offline

Board footer

Powered by FluxBB