[问题]编译软件出错,装了相应的包还是不行

为当前最终发行版之前的所有版本提供支持
回复
头像
tomcat.xin
帖子: 400
注册时间: 2007-02-08 21:18
送出感谢: 0
接收感谢: 0
联系:

[问题]编译软件出错,装了相应的包还是不行

#1

帖子 tomcat.xin » 2007-03-27 23:21

想自己编译pdfedit但是config后提示如下

代码: 全选

tomcat@tomcat:/media/E/ubuntu/pdfedit$ ./configure
chmod: 正在更改 ‘conf9129.sh’ 的权限: Operation not permitted
chmod: changing permissions of `conf9129.sh': Operation not permitted
chmod: changing permissions of `conf9129.file': Operation not permitted
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for gcc... gcc
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 whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 boost/smart_ptr.hpp usability... no
checking boost/smart_ptr.hpp presence... no
checking for boost/smart_ptr.hpp... no
configure: error: You need boost library to compile PDFedit
难道config时还要用root权限吗?
提示缺少boost 库
但是装了 boost-build后还是提示相同的错误
怎么解决呢,该?
试过RedHat,Suse 往往是装好了就卸掉了,这次装了ubuntu后他留住了我,喜欢ubuntu!
学好linux
头像
tomcat.xin
帖子: 400
注册时间: 2007-02-08 21:18
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 tomcat.xin » 2007-03-27 23:38

可以./configure了但是make的时候又出现错误

代码: 全选

cd doc && ( gmake doc_dist|| make doc_dist )
/bin/sh: gmake: not found
make[1]: Entering directory `/home/tomcat/pdfedit/doc'
cd user && ( gmake all_no_pdf || make all_no_pdf )
/bin/sh: gmake: not found
make[2]: Entering directory `/home/tomcat/pdfedit/doc/user'
make[2]: Nothing to be done for `all_no_pdf'.
make[2]: Leaving directory `/home/tomcat/pdfedit/doc/user'
cd design && ( gmake all_no_pdf || make all_no_pdf )
/bin/sh: gmake: not found
make[2]: Entering directory `/home/tomcat/pdfedit/doc/design'
make[2]: Nothing to be done for `all_no_pdf'.
make[2]: Leaving directory `/home/tomcat/pdfedit/doc/design'
make[1]: Leaving directory `/home/tomcat/pdfedit/doc'
cd src && make
make[1]: Entering directory `/home/tomcat/pdfedit/src'
cd xpdf && make libxpdf
make[2]: Entering directory `/home/tomcat/pdfedit/src/xpdf'
cd goo; make
make[3]: Entering directory `/home/tomcat/pdfedit/src/xpdf/goo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tomcat/pdfedit/src/xpdf/goo'
cd fofi; make
make[3]: Entering directory `/home/tomcat/pdfedit/src/xpdf/fofi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tomcat/pdfedit/src/xpdf/fofi'
cd splash; make
make[3]: Entering directory `/home/tomcat/pdfedit/src/xpdf/splash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tomcat/pdfedit/src/xpdf/splash'
cd xpdf; make libxpdf
make[3]: Entering directory `/home/tomcat/pdfedit/src/xpdf/xpdf'
make[3]: Nothing to be done for `libxpdf'.
make[3]: Leaving directory `/home/tomcat/pdfedit/src/xpdf/xpdf'
make[2]: Leaving directory `/home/tomcat/pdfedit/src/xpdf'
cd utils && make
make[2]: Entering directory `/home/tomcat/pdfedit/src/utils'
make[2]: “libutils.a”是最新的。
make[2]: Leaving directory `/home/tomcat/pdfedit/src/utils'
cd kernel && /bin/qmake && make staticlib
/bin/sh: /bin/qmake: Permission denied
make[1]: *** [kernel] 错误 126
make[1]: Leaving directory `/home/tomcat/pdfedit/src'
make: *** [src] 错误 2
怎么回事呢?我是新手,谢谢
头像
anticlockwise
帖子: 2393
注册时间: 2007-03-01 20:46
来自: 湖南长沙
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 anticlockwise » 2007-03-27 23:39

首先,config需不需要root权限是看他里边的命令所决定的,他调用了chmod来修改权限,当然需要root权限咯。

代码: 全选

sudo sh configure
关于boost库,你应该安装的是libboost-dev包

代码: 全选

sudo apt-get install libboost-dev
头像
anticlockwise
帖子: 2393
注册时间: 2007-03-01 20:46
来自: 湖南长沙
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 anticlockwise » 2007-03-27 23:40

sudo make install
回复

回到 “老旧版本支持”