You are not logged in.
Hi everyone
Im having some issues with makepkg which for the love of god cant find out the issue, i've followed the wiki for kernel 2.6.9 and above to the word, that all worked great, patches etc etc but when it comes to the actual building of the package makepkg craps out saying build: command not found. I know its not on my system and i cant find which package provides it.
Anyway help would be very welcome
"Covered in blood, Cant understand" - Biffy Clyro
Offline
Make sure there is no missing parenthesis. You can also post your PKGBUILD. It's probably a typo problem as build is not a program.
Offline
its very VERY basic (modded from the basic kernel26)
# $Id: PKGBUILD,v 1.44 2005/03/21 20:21:15 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=kernel26
pkgver=2.6.11.6
pkgrel=.frozen.20050405
pkgdesc="The Linux Kernel and modules (IDE support)"
url="http://www.kernel.org"
backup=('boot/kconfig26')
depends=('module-init-tools')
install=kernel26.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.6.tar.bz2
config logo_linux_clut224.ppm
#http://www.acm.rpi.edu/~dilinger/patches/2.6.10/as2/patch-2.6.10-as2.gz
#http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.11/acpi-20050228-2.6.11.diff.bz2
#http://ck.kolivas.org/patches/2.6/2.6.11/2.6.11-ck1/patches/nvidia_6111-6629_compat2.diff
#http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch)
build() {
cd $startdir/src/linux-2.6.11.3
# patch -Np1 -i ../acpi-20050228-2.6.11.diff || return 1
# patch -Np1 -i ../nvidia_6111-6629_compat2.diff || return 1
# patch -Np1 -i ../acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch || return 1
# various fixes by Andres Salomon
#patch -Np1 -i ../patch-$pkgver-as2 || return 1
# remove the -as2 tag
#sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
# Arch logo!
cp ../logo_linux_clut224.ppm drivers/video/logo/
# get rid of the 'i' in i686
carch=`echo $CARCH | sed 's|i||'`
cat ../config | sed "s|#CARCH#|$carch|g" >./.config
# build the full kernel version to use in pathnames
. ./.config
_kernver="${pkgver}${CONFIG_LOCALVERSION}"
# load configuration
yes "" | make config
# build!
make clean bzImage modules || return 1
mkdir -p $startdir/pkg/{lib/modules,boot}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot/System.map26
cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26
install -D -m644 Makefile
$startdir/pkg/usr/src/linux-${_kernver}/Makefile
install -D -m644 .config
$startdir/pkg/usr/src/linux-${_kernver}/.config
install -D -m644 .config $startdir/pkg/boot/kconfig26
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/i386/kernel
for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
done
# copy files necessary for later builds, like nvidia and vmware
cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
cp arch/i386/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/i386/
cp arch/i386/kernel/asm-offsets.s
$startdir/pkg/usr/src/linux-${_kernver}/arch/i386/kernel/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
done
cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-i386 asm
chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
cd $startdir/pkg/lib/modules/${_kernver} &&
(rm -f source build; ln -sf /usr/src/linux-${_kernver} build)
}
"Covered in blood, Cant understand" - Biffy Clyro
Offline
there's probably spaces after the "" which end lines - that happens when copying from a browser....
make sure to remove those
Offline
My guess would be (did not test it)
config logo_linux_clut224.ppm
There is nothing but comments after that line so you could delete the ??
Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.
Offline
My guess would be (did not test it)
config logo_linux_clut224.ppm
There is nothing but comments after that line so you could delete the ??
yeah, didn't catch that - replace what puntmuts wrote with
config logo_linux_clut224.ppm)
Offline
wayheyyy thats working now, im now just getting errors about modules not enabled, but they are as ive used this config before, where abouts in the config can i check to double make sure i have
EDIT nevermind think ive figure it out, it wasnt copying my oldconfig properly
EDIT2 aww man jesus christ, it boots now in less than 10seconds and im at a prompt, i didnt know that was actually possible...wow impressive
"Covered in blood, Cant understand" - Biffy Clyro
Offline