scratchbox2 for garmone2.4.24 build
1. install sb2 according to
http://blog.chinaunix.net/u3/90973/showart_1977414.html
INSTALLATION OF SBOX2 ON UBUNTU 8.04
Trouble running maemo's scratchbox under Ubuntu Hardy?
I’ve been having trouble running scratchbox after upgrading to hardy. I’ve finally found some workarounds for the issues that creep up.
* For the Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion ‘(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso’ failed! problem, it’s necessary to disable “vdso”:
echo 0 | sudo tee /proc/sys/vm/vdso_enabled
* For problems when building packages (mmap: permission denied when building), it’s necessary to reduce the mmap minimum address:
echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr
Update: (Thanks to [info]colinleroy):
...to make these changes permanent across reboots, one can add these settings to /etc/sysctl.conf:
vm.vdso_enabled = 0
vm.mmap_min_addr = 4096
Then run
sudo sysctl -p
1 modify gar.lib.mk
add the ; ~/sb2/bin/sb2 in front of the .configure
2. if some file can not download then read the README, there is a variable to set the pre-download folder
garmone build on sb2
最新推荐文章于 2024-04-30 21:58:00 发布