求救!tar.gz安装错误!(已解决)

其它类软件,非上述版软件
回复
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

求救!tar.gz安装错误!(已解决)

#1

帖子 xbcrown » 2010-05-06 15:47

下载了一个tar.gz程序,然后解压到/home/blf目录下

按照

./configure
make
make install

安装
configure 正常

但是后来就出现了一些错误了

下面是代码

blf@blf-laptop:~$ cd /home/blf/miranda/
blf@blf-laptop:~/miranda$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strdup... yes
checking for strstr... yes
checking for strchr... yes
checking for erand48... yes
checking for memset... yes
checking for srand48... yes
checking for lrand48... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating RNAlib/Makefile
config.status: creating RNAlib/H/Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
blf@blf-laptop:~/miranda$ make
make all-recursive
make[1]: 正在进入目录 `/home/blf/miranda'
Making all in man
make[2]: 正在进入目录 `/home/blf/miranda/man'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/blf/miranda/man'
Making all in RNAlib
make[2]: 正在进入目录 `/home/blf/miranda/RNAlib'
Making all in H
make[3]: 正在进入目录 `/home/blf/miranda/RNAlib/H'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 `/home/blf/miranda/RNAlib/H'
make[3]: 正在进入目录 `/home/blf/miranda/RNAlib'
source='dist_vars.c' object='dist_vars.o' libtool=no \
depfile='.deps/dist_vars.Po' tmpdepfile='.deps/dist_vars.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'dist_vars.c' || echo './'`dist_vars.c
source='fold_vars.c' object='fold_vars.o' libtool=no \
depfile='.deps/fold_vars.Po' tmpdepfile='.deps/fold_vars.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'fold_vars.c' || echo './'`fold_vars.c
source='part_func.c' object='part_func.o' libtool=no \
depfile='.deps/part_func.Po' tmpdepfile='.deps/part_func.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'part_func.c' || echo './'`part_func.c
source='read_epars.c' object='read_epars.o' libtool=no \
depfile='.deps/read_epars.Po' tmpdepfile='.deps/read_epars.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'read_epars.c' || echo './'`read_epars.c
source='treedist.c' object='treedist.o' libtool=no \
depfile='.deps/treedist.Po' tmpdepfile='.deps/treedist.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'treedist.c' || echo './'`treedist.c
source='energy_par.c' object='energy_par.o' libtool=no \
depfile='.deps/energy_par.Po' tmpdepfile='.deps/energy_par.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'energy_par.c' || echo './'`energy_par.c
source='inverse.c' object='inverse.o' libtool=no \
depfile='.deps/inverse.Po' tmpdepfile='.deps/inverse.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'inverse.c' || echo './'`inverse.c
inverse.c: 在函数‘pf_cost’中:
inverse.c:483: 警告: 传递‘pf_fold’的第 1 个实参时丢弃了指针目标类型的限定
source='ProfileDist.c' object='ProfileDist.o' libtool=no \
depfile='.deps/ProfileDist.Po' tmpdepfile='.deps/ProfileDist.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'ProfileDist.c' || echo './'`ProfileDist.c
ProfileDist.c: 在函数‘sprint_aligned_bppm’中:
ProfileDist.c:220: 警告: 传递‘bppm_symbol’的第 1 个实参时丢弃了指针目标类型的限定
ProfileDist.c:222: 警告: 传递‘bppm_symbol’的第 1 个实参时丢弃了指针目标类型的限定
ProfileDist.c: 在函数‘print_bppm’中:
ProfileDist.c:232: 警告: 传递‘bppm_symbol’的第 1 个实参时丢弃了指针目标类型的限定
source='RNAstruct.c' object='RNAstruct.o' libtool=no \
depfile='.deps/RNAstruct.Po' tmpdepfile='.deps/RNAstruct.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'RNAstruct.c' || echo './'`RNAstruct.c
source='utils.c' object='utils.o' libtool=no \
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'utils.c' || echo './'`utils.c
source='fold.c' object='fold.o' libtool=no \
depfile='.deps/fold.Po' tmpdepfile='.deps/fold.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'fold.c' || echo './'`fold.c
source='naview.c' object='naview.o' libtool=no \
depfile='.deps/naview.Po' tmpdepfile='.deps/naview.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'naview.c' || echo './'`naview.c
source='PS_dot.c' object='PS_dot.o' libtool=no \
depfile='.deps/PS_dot.Po' tmpdepfile='.deps/PS_dot.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'PS_dot.c' || echo './'`PS_dot.c
source='stringdist.c' object='stringdist.o' libtool=no \
depfile='.deps/stringdist.Po' tmpdepfile='.deps/stringdist.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'stringdist.c' || echo './'`stringdist.c
source='params.c' object='params.o' libtool=no \
depfile='.deps/params.Po' tmpdepfile='.deps/params.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'params.c' || echo './'`params.c
source='subopt.c' object='subopt.o' libtool=no \
depfile='.deps/subopt.Po' tmpdepfile='.deps/subopt.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'subopt.c' || echo './'`subopt.c
source='list.c' object='list.o' libtool=no \
depfile='.deps/list.Po' tmpdepfile='.deps/list.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'list.c' || echo './'`list.c
source='cofold.c' object='cofold.o' libtool=no \
depfile='.deps/cofold.Po' tmpdepfile='.deps/cofold.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'cofold.c' || echo './'`cofold.c
source='Lfold.c' object='Lfold.o' libtool=no \
depfile='.deps/Lfold.Po' tmpdepfile='.deps/Lfold.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./H -g -O2 -c `test -f 'Lfold.c' || echo './'`Lfold.c
rm -f libRNA.a
ar cru libRNA.a dist_vars.o fold_vars.o part_func.o read_epars.o treedist.o energy_par.o inverse.o ProfileDist.o RNAstruct.o utils.o fold.o naview.o PS_dot.o stringdist.o params.o subopt.o list.o cofold.o Lfold.o
ranlib libRNA.a
make[3]:正在离开目录 `/home/blf/miranda/RNAlib'
make[2]:正在离开目录 `/home/blf/miranda/RNAlib'
Making all in src
make[2]: 正在进入目录 `/home/blf/miranda/src'
source='miranda.c' object='miranda.o' libtool=no \
depfile='.deps/miranda.Po' tmpdepfile='.deps/miranda.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'miranda.c' || echo './'`miranda.c
source='matrix.c' object='matrix.o' libtool=no \
depfile='.deps/matrix.Po' tmpdepfile='.deps/matrix.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'matrix.c' || echo './'`matrix.c
source='output.c' object='output.o' libtool=no \
depfile='.deps/output.Po' tmpdepfile='.deps/output.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'output.c' || echo './'`output.c
source='scan.c' object='scan.o' libtool=no \
depfile='.deps/scan.Po' tmpdepfile='.deps/scan.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'scan.c' || echo './'`scan.c
scan.c: 在函数‘do_mirna_utr_profile’中:
scan.c:975: 警告: 格式字符串实参太少
source='seqio.c' object='seqio.o' libtool=no \
depfile='.deps/seqio.Po' tmpdepfile='.deps/seqio.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'seqio.c' || echo './'`seqio.c
seqio.c: 在函数‘read_profiles’中:
seqio.c:166: 警告: 格式‘%s’需要类型‘char *’,但实参 3 的类型为‘char (*)[400]’
source='statistics.c' object='statistics.o' libtool=no \
depfile='.deps/statistics.Po' tmpdepfile='.deps/statistics.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'statistics.c' || echo './'`statistics.c
source='swat.c' object='swat.o' libtool=no \
depfile='.deps/swat.Po' tmpdepfile='.deps/swat.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'swat.c' || echo './'`swat.c
source='pairs.c' object='pairs.o' libtool=no \
depfile='.deps/pairs.Po' tmpdepfile='.deps/pairs.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'pairs.c' || echo './'`pairs.c
source='thermo.c' object='thermo.o' libtool=no \
depfile='.deps/thermo.Po' tmpdepfile='.deps/thermo.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'thermo.c' || echo './'`thermo.c
source='utils.c' object='utils.o' libtool=no \
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../RNAlib/H/ -g -O2 -c `test -f 'utils.c' || echo './'`utils.c
gcc -g -O2 -o miranda miranda.o matrix.o output.o scan.o seqio.o statistics.o swat.o pairs.o thermo.o utils.o ../RNAlib/libRNA.a -lm
make[2]:正在离开目录 `/home/blf/miranda/src'
make[2]: 正在进入目录 `/home/blf/miranda'
make[2]: 没有什么可以做的为 `all-am'。
make[2]:正在离开目录 `/home/blf/miranda'
make[1]:正在离开目录 `/home/blf/miranda'
blf@blf-laptop:~/miranda$ make install
Making install in man
make[1]: 正在进入目录 `/home/blf/miranda/man'
make[2]: 正在进入目录 `/home/blf/miranda/man'
make[2]: 没有什么可以做的为 `install-exec-am'。
/bin/bash ../mkinstalldirs /usr/local/man/man1
/usr/bin/install -c -m 644 ./miranda.1 /usr/local/man/man1/miranda.1
/usr/bin/install: 无法删除 “/usr/local/man/man1/miranda.1”: Permission denied
make[2]: *** [install-man1] 错误 1
make[2]:正在离开目录 `/home/blf/miranda/man'
make[1]: *** [install-am] 错误 2
make[1]:正在离开目录 `/home/blf/miranda/man'
make: *** [install-recursive] 错误 1



再附上安装文件里面的readme里面的部分内容

Simple installation instructions are contained in the file INSTALL.

To Compile do:
./configure --prefix=/place/to/install

then:
make install

This will place the miranda binary in:
/place/to/install/bin/miranda

For information on how to use miranda type:
miranda --help
Documentation is contained in the 'man' subdirectory.
Some Example files are contained in the 'examples' subdirectory


求高手帮忙解答
:em20 :em20


是不是我的系统有些小问题,还是编译过程中有问题,还是其他
上次由 xbcrown 在 2010-05-19 20:44,总共编辑 1 次。
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
kamui0523
帖子: 547
注册时间: 2008-05-14 18:53
来自: 上海

Re: 求救!tar.gz安装错误!

#2

帖子 kamui0523 » 2010-05-06 19:18

/usr/bin/install: 无法删除 “/usr/local/man/man1/miranda.1”: Permission denied
知道什么是Permission denied吗?权限不够!知道为什么权限不够吗?因为你不是root用户,没有root权限你怎么改动/下的东西?明显你没仔细看安装文档,切到root用户去执行make install
或者输入sudo make install
三年Linux使用经验,两年Ubuntu使用经验
提供各种企业解决方案
Ubuntu QQ群:66320976
Linux Blog
http://deephell.72pines.com
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

Re: 求救!tar.gz安装错误!

#3

帖子 xbcrown » 2010-05-18 12:12

kamui0523 写了:/usr/bin/install: 无法删除 “/usr/local/man/man1/miranda.1”: Permission denied
知道什么是Permission denied吗?权限不够!知道为什么权限不够吗?因为你不是root用户,没有root权限你怎么改动/下的东西?明显你没仔细看安装文档,切到root用户去执行make install
或者输入sudo make install
:em06


谢谢了~解决~ :em11
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
回复