faint! Can't input chinese in the ubuntu. just use the poor _chinse_engilsh_ to write the blog.
There are error with installing subversion. following is list:
deon@kgd924:~/subversion-1.3.1$ ./configure
configure: Configuring Subversion 1.3.1
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I write a hello word to test the GCC complier. following is coding:
--hello.c
#include <stdio.h>
main(){
printf("Hello world");
}
There are new error with complie.
deon@kgd924:~$ gcc hello.c -o test
hello.c:1:19: error: stdio.h: 没有那个文件或目录
hello.c: 在函数 ‘main’ 中:
hello.c:3: 警告:内建函数 ‘printf’ 不兼容的隐式声明
hello.c:2: 警告:‘main’ 的返回类型不是 ‘int’
I think this is problem, and i found the comments in the "www.ubuntun.org.cn". I don't know why have't not to install the c headers when i use the "apt-get install gcc".
so just install in manual.
root@kgd924:/home/deon# apt-get install gcc libc6-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
gcc 已经是最新的版本了。
将会安装下列的额外的软件包:
linux-kernel-headers
建议安装的软件包:
glibc-doc manpages-dev
ok, is ok now.
There are error with installing subversion. following is list:
deon@kgd924:~/subversion-1.3.1$ ./configure
configure: Configuring Subversion 1.3.1
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I write a hello word to test the GCC complier. following is coding:
--hello.c
#include <stdio.h>
main(){
printf("Hello world");
}
There are new error with complie.
deon@kgd924:~$ gcc hello.c -o test
hello.c:1:19: error: stdio.h: 没有那个文件或目录
hello.c: 在函数 ‘main’ 中:
hello.c:3: 警告:内建函数 ‘printf’ 不兼容的隐式声明
hello.c:2: 警告:‘main’ 的返回类型不是 ‘int’
I think this is problem, and i found the comments in the "www.ubuntun.org.cn". I don't know why have't not to install the c headers when i use the "apt-get install gcc".
so just install in manual.
root@kgd924:/home/deon# apt-get install gcc libc6-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
gcc 已经是最新的版本了。
将会安装下列的额外的软件包:
linux-kernel-headers
建议安装的软件包:
glibc-doc manpages-dev
ok, is ok now.