LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: viogus

ebuild for 西厢计划(west-chamber)

[复制链接]
发表于 2011-1-7 20:55:53 | 显示全部楼层
autogen和./configure都没问题
在make时出错
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo autogen.sh
sudo: autogen.sh: command not found
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxtables... yes
checking linux/netfilter/x_tables.h usability... yes
checking linux/netfilter/x_tables.h presence... yes
checking for linux/netfilter/x_tables.h... yes
Found kernel version 2.6.36.2 in /lib/modules/2.6.36.2koskers2536/build
WARNING: You are trying a newer kernel. Results may vary. :-)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.iptrules
config.status: creating Makefile.mans
config.status: creating extensions/Makefile
config.status: creating extensions/ipset/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo make
make all-recursive
make[1]: Entering directory `/home/koskers/Desktop/west-chamber-20100405'
Making all in extensions
make[2]: Entering directory `/home/koskers/Desktop/west-chamber-20100405/extensions'
if [ -n "/lib/modules/2.6.36.2koskers2536/build" ]; then make -C /lib/modules/2.6.36.2koskers2536/build M=/home/koskers/Desktop/west-chamber-20100405/extensions modules; fi;
make[3]: Entering directory `/lib/modules/2.6.36.2koskers2536/linux-2.6.36.2'
CC [M] /home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.o
In file included from /home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:21:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:87: warning: ‘struct xt_match_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:87: warning: its scope is only this definition or declaration, which is probably not what you want
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:103: warning: ‘struct xt_target_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:193: warning: ‘struct xt_target_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c: In function ‘xtnu_target_run’:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:207: error: dereferencing pointer to incomplete type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:216: warning: passing argument 2 of ‘nt->target’ from incompatible pointer type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:216: note: expected ‘const struct xt_target_param *’ but argument is of type ‘const struct xt_target_param *’
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c: In function ‘xtnu_register_target’:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:294: warning: assignment from incompatible pointer type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:299: warning: assignment from incompatible pointer type
make[4]: *** [/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.o] Error 1
make[3]: *** [_module_/home/koskers/Desktop/west-chamber-20100405/extensions] Error 2
make[3]: Leaving directory `/lib/modules/2.6.36.2koskers2536/linux-2.6.36.2'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/koskers/Desktop/west-chamber-20100405/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koskers/Desktop/west-chamber-20100405'
make: *** [all] Error 2



内核是自己编的,会不会版本不兼容。。。。高手解答,,,谢谢大家
回复 支持 反对

使用道具 举报

发表于 2011-1-7 20:56:47 | 显示全部楼层
autogen和./configure都没问题
在make时出错
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo autogen.sh
sudo: autogen.sh: command not found
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxtables... yes
checking linux/netfilter/x_tables.h usability... yes
checking linux/netfilter/x_tables.h presence... yes
checking for linux/netfilter/x_tables.h... yes
Found kernel version 2.6.36.2 in /lib/modules/2.6.36.2koskers2536/build
WARNING: You are trying a newer kernel. Results may vary. :-)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.iptrules
config.status: creating Makefile.mans
config.status: creating extensions/Makefile
config.status: creating extensions/ipset/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
koskers@koskers-laptop:~/Desktop/west-chamber-20100405$ sudo make
make all-recursive
make[1]: Entering directory `/home/koskers/Desktop/west-chamber-20100405'
Making all in extensions
make[2]: Entering directory `/home/koskers/Desktop/west-chamber-20100405/extensions'
if [ -n "/lib/modules/2.6.36.2koskers2536/build" ]; then make -C /lib/modules/2.6.36.2koskers2536/build M=/home/koskers/Desktop/west-chamber-20100405/extensions modules; fi;
make[3]: Entering directory `/lib/modules/2.6.36.2koskers2536/linux-2.6.36.2'
CC [M] /home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.o
In file included from /home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:21:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:87: warning: ‘struct xt_match_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:87: warning: its scope is only this definition or declaration, which is probably not what you want
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtnu.h:103: warning: ‘struct xt_target_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:193: warning: ‘struct xt_target_param’ declared inside parameter list
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c: In function ‘xtnu_target_run’:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:207: error: dereferencing pointer to incomplete type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:216: warning: passing argument 2 of ‘nt->target’ from incompatible pointer type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:216: note: expected ‘const struct xt_target_param *’ but argument is of type ‘const struct xt_target_param *’
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c: In function ‘xtnu_register_target’:
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:294: warning: assignment from incompatible pointer type
/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.c:299: warning: assignment from incompatible pointer type
make[4]: *** [/home/koskers/Desktop/west-chamber-20100405/extensions/compat_xtables.o] Error 1
make[3]: *** [_module_/home/koskers/Desktop/west-chamber-20100405/extensions] Error 2
make[3]: Leaving directory `/lib/modules/2.6.36.2koskers2536/linux-2.6.36.2'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/koskers/Desktop/west-chamber-20100405/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/koskers/Desktop/west-chamber-20100405'
make: *** [all] Error 2



内核是自己编的,会不会版本不兼容。。。。高手解答,,,谢谢大家
回复 支持 反对

使用道具 举报

发表于 2011-1-7 21:00:24 | 显示全部楼层
发了两条,不好意思。。
回复 支持 反对

使用道具 举报

发表于 2011-12-10 20:00:39 | 显示全部楼层
浏览精华区无意间发现了这个。
不过好像ebuild好久没有更新了,
是不是西厢记计划停止了?
回复 支持 反对

使用道具 举报

发表于 2011-12-11 00:34:48 | 显示全部楼层
烂尾楼您就甭惦记了。
回复 支持 反对

使用道具 举报

发表于 2011-12-11 08:08:14 | 显示全部楼层
Post by easior lars;2156792
浏览精华区无意间发现了这个。
不过好像ebuild好久没有更新了,
是不是西厢记计划停止了?


基本上西厢计划已经完成了,在svn中还有些小的IP更新。

以前尝试过,想法很好,稳定性堪忧,翻墙时容易硬着陆崴脚,长期使用有把用户气得跳楼的风险... 总之,尝鲜可以,实用还是买SSH/VPN吧,即便是Tor也要比西厢计划好上一筹。
回复 支持 反对

使用道具 举报

发表于 2011-12-11 09:40:09 | 显示全部楼层
Post by RichardGv;2156812
基本上西厢计划已经完成了,在svn中还有些小的IP更新。

以前尝试过,想法很好,稳定性堪忧,翻墙时容易硬着陆崴脚,长期使用有把用户气得跳楼的风险... 总之,尝鲜可以,实用还是买SSH/VPN吧,即便是Tor也要比西厢计划好上一筹。


你的描述太有意思了!
看来翻墙还是花钱最有保障,
而且可以彻底地翻到另一个世界。

另外,ebuild有没有淘汰机制啊?
回复 支持 反对

使用道具 举报

发表于 2011-12-11 11:45:41 | 显示全部楼层
Post by easior lars;2156815

另外,ebuild有没有淘汰机制啊?


Portage tree和管理较好的overlay会把没有维护者的ebuild清出去,清理之前会mask一段时间(30天?)作提示。ebuild维护者通常会定期去除旧版本的ebuild。但某些overlay保留了大量年久失修的ebuild,有些的SRC_URI都已经失效了。

ebuild的结构没有大的变化,Portage向下兼容所有的EAPI,因此Portage本身应当不会拒绝老旧的ebuild。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表