First of all, the most part will be the same as ubuntu 11.04, which is metioned in this article:
http://blog.csdn.net/elfylin/article/details/6666034
The main purpose here is to discuss the difference and the problem met here.
1 install the nessary pack.
sudo apt-get install python (no necessary)
sudo apt-get install zlib1g-dev
sudo apt-get install git-core gnupg
sudo apt-get install flex bison gperf libsdl-dev libesd0-dev(nonecessary) libwxgtk2.6-dev build-essential(not necessary) zip(notnecessary) curl
sudo apt-get install sun-java6-jdk
some are not necessary on 11.04,but are necessary on 10.10, just try to install all of them. Of course , if it is not need the system will tell you.
2 install sun-java6-jdk
the procedure is the same as 11.04
3
install necessary tools such as ssh and samba
apt-get install ssh
apt-get subversion
apt-get install samba
apt-get install samba-common-bin (must be done on 10.10 which is not necessary on 11.04)
there is another difference, that the default samba share doesn't work to guest. Even you share the dir with guest allowed,
usename and password is still needed if you want to visit it.
one solution is add a samba user for your system.
use : sampasswd -a username, fellow the prompt of the system, a new user will be added.
remember the user must be a user of your ubuntu system.
for more infomation about samba, visit:
http://blog.csdn.net/elfylin/article/details/5988322
4.
get the code , the same as 11.04
5.
compile the code
no need to say, there will be compile error.
"In file included from /usr/include/features.h:387,
from /usr/include/stdio.h:28,
from external/clearsilver/cgi/cgiwrap.c:18:
/usr/include/gnu/stubs.h:9: fatal error: gnu/stubs-64.h: No such file or directoryIn file included from /usr/include/features.h:387,
from /usr/include/unistd.h:26,
from external/clearsilver/cgi/cgi.c:14:
/usr/include/gnu/stubs.h:9: fatal error: gnu/stubs-64.h: No such file or directory"
solution is in this blog:
"http://blog.chinaunix.net/space.php?uid=22415790&do=blog&cuid=2616914"
in short.
A
modify the files:
B
comment such code in /build/core/main.mk
(i didn't do that, you should do that when you met error like this "You are attempting to build on a 32-bit system. Only 64-bit build environments are supported beyond froyo/2.2.")
C
apt-get install libc6-dev-i386 or apt-get install libc6-dev depending on your system.
other way may be apt-get install g++-multilib
(if still doesn't work , try to do this )
OK
enjoy it