-
-
Save chattama/3508370 to your computer and use it in GitHub Desktop.
sudo aptitude install libarchive-dev bsdtar | |
git clone git://projects.archlinux.org/pacman.git | |
cd pacman | |
./autogen.sh | |
./configure --disable-doc | |
make | |
sudo make install | |
cd package | |
cp /usr/local/etc/makepkg.conf ./makepkg-arm.conf | |
makepkg-arm.conf ================================================== | |
CARCH="arm" | |
PKGBUILD ========================================================== | |
pkgname=linux-raspberrypi-custom | |
pkgver=3.2.27 | |
pkgrel=1 | |
pkgdesc="The Linux Kernel and modules for Raspberry Pi (customized)" | |
arch=(arm) | |
url="http://www.kernel.org/" | |
license=('GPL2') | |
xtool=/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- | |
build() { | |
cd $startdir/../linux | |
make ARCH=arm CROSS_COMPILE=$xtool | |
} | |
package() { | |
cd $startdir/../linux | |
make ARCH=arm CROSS_COMPILE=$xtool INSTALL_MOD_PATH=$pkgdir modules_install firmware_install | |
mkdir $pkgdir/boot | |
cp $startdir/../linux/arch/arm/boot/zImage $pkgdir/boot/kernel.img | |
} | |
=================================================================== | |
makepkg --conf ./makepkg-arm.conf |
Hi, I noticed that you have in your contributions another folder that has these files in a folder. However, when I finished installing pacman, I had no packagedir that I could find. I made folder and called it package; then added the CARCH="arm" line, and the PKGBUILD file to the folder. When entering, makepkg --conf ./makepkg-arm.conf , into the command line it returned; bash: makepkg command not found. This is on Ubuntu 13.10 linux on android. And also, any help would be greatly appreciated if possible.
Also requires pkg-config, libtool, and of course make.
Mine errors out with:
stephen@Bro ~/pacman (git)-[master] % make
cd . && /bin/bash /home/stephen/pacman/build-aux/missing automake-1.14 --foreign Makefile
cd . && /bin/bash ./config.status Makefile
config.status: creating Makefile
make --no-print-directory all-recursive
Making all in lib/libalpm
Making all in po
test -z "ar.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo es_419.gmo fi.gmo fr.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo kk.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo [email protected] sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo" || make ar.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo es_419.gmo fi.gmo fr.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo kk.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo [email protected] sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo
: --update ar.po libalpm.pot
rm -f ar.gmo && : -c --statistics -o ar.gmo ar.po
mv: cannot stat ‘t-ar.gmo’: No such file or directory
make[4]: *** [ar.gmo] Error 1
make[3]: *** [stamp-po] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
root@scube014:~/qingy-fork-master# make clean
Making clean in src
make[1]: Entering directory /home/rahul/qingy-fork-master/src' Making clean in libraries make[2]: Entering directory
/home/rahul/qingy-fork-master/src/libraries'
Making clean in libraries
/bin/bash: line 20: cd: libraries: No such file or directory
make[2]: *** [clean-recursive] Error 1
make[2]: Leaving directory /home/rahul/qingy-fork-master/src/libraries' make[1]: *** [clean-recursive] Error 1 make[1]: Leaving directory
/home/rahul/qingy-fork-master/src'
make: *** [clean-recursive] Error 1
plz find the salutation and give me write ans
I'm getting this error after performing a "sudo apt-get update"
warning: no 'XferCommand' configured
error: no usable package repositories configured.
EDIT:
Remove the hashtags in front of both Xfercommand lines in /usr/local/etc/pacman.conf
How do I use this?
You need to install autopoint as well (at least it is needed on Ubuntu 12.04)