gcc.tar.bz2 如何解包?
# tar jxvf gcc-4.1.0.tar.bz2tar: j: unknown option
# bzcat gcc-4.1.0.tar.bz2 | tar xvf -
sh: bzcat:not found.
sh: bunzip2:not found.
sh: bzip2:not found.
到底如何解包啊 提示不是很明白么,装bzip2先 bzip2是要另外装的啊? 我下载了一个bzip2-1.0.1.tar.gz
# gunzip bzip2-1.0.1.tar.gz
# tar xvf bzip2-1.0.1.tar
已经解压出来。
但是不懂怎么用? 列表是:
# ls -l
total 2960
-rw-r--r-- 1 501 501 6251 Jun 242000 CHANGES
-rw-r--r-- 1 501 501 1735 Mar 212000 LICENSE
-rw------- 1 501 501 3910 Jun 242000 Makefile
-rw-r--r-- 1 501 501 1198 Jun 242000 Makefile-libbz2_so
-rw-r--r-- 1 501 501 6510 May62000 README
-rw-rw-r-- 1 501 501 5279 Jun 242000 README.COMPILATION.PROBLEM
-rw-r--r-- 1 501 501 1343 Sep51999 Y2K_INFO
-rw-r--r-- 1 501 501 32211 Apr62000 blocksort.c
-rw-r--r-- 1 501 501 15391 Mar 242000 bzip2.1
-rw-r--r-- 1 501 501 20263 Mar 242000 bzip2.1.preformatted
-rw-r--r-- 1 501 501 59438 Apr 262000 bzip2.c
-rw-r--r-- 1 501 501 17891 Mar 242000 bzip2.txt
-rw-r--r-- 1 501 501 12291 Apr62000 bzip2recover.c
-rw-r--r-- 1 501 501 45388 Apr62000 bzlib.c
-rw-r--r-- 1 501 501 7800 Apr62000 bzlib.h
-rw-r--r-- 1 501 501 14093 Jun 242000 bzlib_private.h
-rw-r--r-- 1 501 501 21999 Apr62000 compress.c
-rw-r--r-- 1 501 501 6397 Apr62000 crctable.c
-rw-r--r-- 1 501 501 21362 Apr62000 decompress.c
-rw-rw-r-- 1 501 501 4440 Jun 242000 dlltest.c
-rw-r--r-- 1 501 501 3516 Jun 301998 dlltest.dsp
-rw-r--r-- 1 501 501 7600 Apr62000 huffman.c
-rw-r--r-- 1 501 501 517 May 172000 libbz2.def
-rw-r--r-- 1 501 501 4254 Jul11998 libbz2.dsp
-rw-rw-r-- 1 501 501 1607 Jun 242000 makefile.msc
-rw-r--r-- 1 501 501 249417 Mar 242000 manual.ps
-rw-r--r-- 1 501 501 90023 Mar 242000 manual.texi
-rw-r--r-- 1 501 501 1694 Mar 242000 manual_1.html
-rw-r--r-- 1 501 501 18306 Mar 242000 manual_2.html
-rw-r--r-- 1 501 501 60973 Mar 242000 manual_3.html
-rw-r--r-- 1 501 501 17469 Mar 242000 manual_4.html
-rw-r--r-- 1 501 501 6685 Mar 242000 manual_toc.html
-rw-r--r-- 1 501 501 5439 Apr62000 randtable.c
-rw-r--r-- 1 501 501 32348 Jun 301998 sample1.bz2
-rw-r--r-- 1 501 501 98696 Jun 301998 sample1.ref
-rw-r--r-- 1 501 501 73732 Jun 301998 sample2.bz2
-rw-r--r-- 1 501 501 212340 Jun 301998 sample2.ref
-rw-r--r-- 1 501 501 235 Jun 101999 sample3.bz2
-rw-r--r-- 1 501 501 120244 Jun 101999 sample3.ref
-rw-r--r-- 1 501 501 1183 Apr62000 spewG.c
-rw-r--r-- 1 501 501 3104 Apr62000 unzcrash.c
-rw-rw-r-- 1 501 501 184 May62000 words0
-rw-r--r-- 1 501 501 103 Jun 101999 words1
-rw-r--r-- 1 501 501 185 Jun 301998 words2
-rw-r--r-- 1 501 501 894 Jun81999 words3 ./configure && make && make install 原帖由 4tar 于 2007-11-7 12:49 发表 http://bbs.chinaunix.net/images/common/back.gif
./configure && make && make install
sh: ./configure:not found. 谁能帮帮我,我现在有个MD5的源码在上面,但是编译不了,所以我就下载了gcc,结果gcc又是.tar.bz2打包,解不了,我又下载了bzip2,结果bzip2又不知道如何安装?好像也要编译才行?
谁能帮助我,hp-ux默认就是没有编译环境的吗?好麻烦,在网上看到很多脚本命令都没有 要想省事也行,http://software.hp.com去下载HP制作的GCC安装包,类似gcc-hppa64-4.1.2.depot.gz,直接gunzip了再swinstall。 原帖由 4tar 于 2007-11-7 12:49 发表 http://bbs.chinaunix.net/images/common/back.gif
./configure && make && make install
打错了,直接 make && make install 即可,第二步应该需要root权限