Centos安装nautilus-Dropbox出错的解决方法

2012年10月7日

原创内容,转载请注明出处:https://www.myzhenai.com/thread-15149-1-1.html https://www.myzhenai.com.cn/post/798.html
关键字:checking for NAUTILUS… configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:
Dropbox网盘官方推出了一个上传插件,听说可以备份服务器文件到Dropbox网盘,刚才我在Centos6.3系统下编译出错,提示“make: *** 没有指明目标并且找不到 makefile。 停止。”,出现这个提示很明显是在./configure这一步时出错了,仔细看了一下,错误发生在“checking for NAUTILUS… configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:”这一行,好像缺少了“libnautilus-extension”这个依赖.我们可以先安装一些常用库再返回安装它.

#yum install nautilus* -y
#yum install pygtk2* -y
#yum install subversion* -y
#yum install gcc -y
#yum install gcc-c++ -y
#yum install neon-devel -y
#yum install python-devel -y
#yum install eel2* -y
#yum install python-configobj.noarch -y
#yum install meld.noarch -y
#yum install pygobject2-devel -y
#yum install pygobject2 -y
#yum install libXrender* -y
#yum install render -y

 
重新安装Nautilus-Dropbox程序

#wget https://linux.dropbox.com/packages/nautilus-dropbox-1.4.0.tar.bz2
#tar xjf nautilus-dropbox-1.4.0.tar.bz2
#cd nautilus-dropbox-1.4.0
#./configure
#make
#make install

 
出错信息:

[root@localhost nautilus-dropbox-1.4.0]# ./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 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 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-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... 1966080
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... no
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) 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... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NAUTILUS... configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:

No package 'libnautilus-extension' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables NAUTILUS_CFLAGS
and NAUTILUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

 


sicnature ---------------------------------------------------------------------
I P 地 址: 18.220.200.33
区 域 位 置: 美国俄亥俄
系 统 信 息: 美国
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source https://myzhenai.com.cn/post/798.html

4条评论

  • 海南胡说 2012年10月7日在10:02 上午

    如果运行Dropbox后弹出这么个提示:“Trouble connecting to Dropbox server.Maybe your internet connection is down,or you need to set your http_proxy environment variable”,意思就说无法连接上dropbox的服务器。可能是你的ISP服务商屏蔽了它的下载地址,Dropbox还要另外下载一个文件才能正常运行.我这里提供了三个下载地址,都是同一个文件的.
    http://dropb.googlecode.com/files/dropbox-lnx.x86-1.4.17.tar.gz
    http://vdisk.weibo.com/s/f0Tlu
    http://pan.baidu.com/share/link?shareid=72425&uk=3744424561
    #su root
    #tar xjh dropbox-lnx.x86-1.4.17.tar.gz
    #cp .dropbox-dist /home/admin/
    *假设当前用户目录为admin

  • feigangbatai 2013年06月19日在11:20 上午

    你好,
    我是一名centos 的用户,你所说的依赖包有些不正确,而且,我最后安装完后,又出现了
    configure:error: couldnt find docutils
    dropbox 安装不成功

  • feigangbatai 2013年06月19日在12:06 下午

    ok,弄好了,不过 后续 不知道该怎么用了。请教

    • 海南胡说 2013年06月22日在1:42 上午

      您是使用在VPS上命令行同步备份文件还是在linux桌面环境下的文件备份?
      安装好Dropbox后在当前目录下会有一个Dropbox文件夹,只要您把文件放在这个文件夹就可以了,或者修改它的共享路径.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注