当前位置: 首页 > 工具软件 > fufs > 使用案例 >

fufs环境搭建

孙渝
2023-12-01

1 使用ubuntu 10.10

   需要更新源 由于教育网 还是用中科大的吧

   /etc/apt/sources.list  (完全覆盖这个文件的内容)

 

deb http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
 这个源不错。。。。。

  apt-get update

  apt-get dist-upgrade


2 此时你可能遇到下面这个错误

正在设置 python2.7-minimal (2.7.1-5ubuntu2.2) ...
Linking and byte-compiling packages for runtime python2.7...
E: pycompile:240: Requested versions are not installed
dpkg:处理 python2.7-minimal (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 3
在处理时有错误发生:
 python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

在提示出错后,修改 /usr/share/python/runtime.d/public_modules.rtinstall ,注释掉所有的内容,
然后 apt-get -f install

待正常后,再执行一次 pycompile -V 2.7 /usr/lib/python2.7/dist-packages 就行了 


3 apt-get install libz-dev

4 apt-get install autoconf

5 此时ubuntu10会说 autoconf版本不够,请下载autoconf 2.68包自行编译安装

6 apt-get install libtool

apt-get install gtk-doc-tools libfuse-dev libjson0-dev libcurl4-nss-dev

8 安装  liboauth-0.9.5下载安装

./configure --enable-nss --with-curltimeout

make

make install

9 出现这个问题

checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking for GLIB2... configure: error: Package requirements (
    glib-2.0 >= 2.18
) were not met:

No package 'glib-2.0' found


解决方法  apt-get install libglib2.0-dev

 


 类似资料: