LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 985|回复: 4

problem of 7zip compiling

[复制链接]
发表于 2007-6-20 19:39:45 | 显示全部楼层 |阅读模式
p7zip downloaded and umcompressed, many file with prefix of 'makefile' founded. Which should be used to install 7zip on Debian Etch?

---------------------------------------------------

makefile
makefile.aix_gcc
makefile.beos_x86
makefile.crc32
makefile.cygwin
makefile.cygwin_asm
makefile.djgpp
makefile.freebsd
makefile.glb
makefile.gprof
makefile.hpux-acc
makefile.hpux-gcc
makefile.linux_amd64
makefile.linux_amd64_asm
makefile.linux_gcc_2.95_no_need_for_libstdc
makefile.linux_x86_asm_gcc_4.X
makefile.linux_x86_asm_icc
makefile.linux_x86_ppc_alpha
makefile.linux_x86_ppc_alpha_gcc_4.X
makefile.machine
makefile.macosx
makefile.netbsd
makefile.openbsd
makefile.qnx_shared
makefile.qnx_static
makefile.solaris_sparc_CC_32
makefile.solaris_sparc_CC_64
makefile.solaris_sparc_gcc
makefile.solaris_x86
makefile.tru64
 楼主| 发表于 2007-6-20 19:41:07 | 显示全部楼层
makefile.linux_gcc_2.95_no_need_for_libstdc
makefile.linux_x86_asm_gcc_4.X
makefile

these scripts tried, but failed with such hints 'XXX Command Not Found'

--------------------------------------------

./makefile.linux_x86_asm_gcc_4.X: line 8: LOCAL_FLAGS: command not found
./makefile.linux_x86_asm_gcc_4.X: line 8: -m32: command not found
./makefile.linux_x86_asm_gcc_4.X: line 13: ALLFLAGS: command not found
./makefile.linux_x86_asm_gcc_4.X: line 13: -DHAVE_GCCVISIBILITYPATCH: command not found
./makefile.linux_x86_asm_gcc_4.X: line 14: ALLFLAGS: command not found
./makefile.linux_x86_asm_gcc_4.X: line 16: -f: command not found
./makefile.linux_x86_asm_gcc_4.X: line 19: LOCAL_LIBS: command not found
./makefile.linux_x86_asm_gcc_4.X: line 19: -ldl: command not found
./makefile.linux_x86_asm_gcc_4.X: line 22: OBJ_CRC32_x86: command not found
回复 支持 反对

使用道具 举报

发表于 2007-6-20 23:08:59 | 显示全部楼层
use
aptitude install p7zip-full
to install p7zip

if you want to compile it
use
apt-get build-dep p7zip-full
to install depand libs and headers
回复 支持 反对

使用道具 举报

发表于 2007-6-20 23:12:31 | 显示全部楼层
仔细看看 README 文件嘛

你应该先
$cp makefile.linux_x86_asm_gcc_4.X makefile.linux

然后再
$make

就不会有任何问题了.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-21 10:09:45 | 显示全部楼层
succeed! Thanks two guys!

#apt-get build-dep p7zip-full
#apt-get install nasm
#cp makefile.linux_x86_asm_gcc_4.X makefile.machine
#make
#./install.sh
回复 支持 反对

使用道具 举报

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

本版积分规则

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