xiongxu / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

s3fs does not compile on stock stable Debian "Lenny" #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I installed Lenny in VirtualBox, downloaded the 1.01 tarball and attempted to 
compile.

$ cat /etc/issue
Debian GNU/Linux 5.0

$ uname -a
Linux lenny64 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64 
GNU/Linux

$ ./configure --prefix=/usr
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 style of include used by make... GNU
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (fuse >= 2.8 libcurl >= 7.0 libxml-2.0 
>= 2.7 libcrypto >= 0.9) were not met:

Requested 'fuse >= 2.8' but version of fuse is 2.7.4
Requested 'libxml-2.0 >= 2.7' but version of libXML is 2.6.32

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

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

Original issue reported on code.google.com by dmoore4...@gmail.com on 30 Oct 2010 at 2:12

GoogleCodeExporter commented 9 years ago
changed minimum versions of fuse and libxml-2.0 to 2.7 and 2.6 respectively

s3fs builds and runs on a Debian lenny system successfully -- mounted a bucket

Details:

$ cat /etc/issue
Debian GNU/Linux 5.0

$ uname -a
Linux lenny64 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64 
GNU/Linux

$ autoreconf --install

$ ./configure --prefix=/usr

$ make

$ sudo make install

$ s3fs --version

Amazon Simple Storage Service File System 1.02
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ s3fs public.suncup.org ~/public.suncup.org -o 
public_bucket=1,default_acl=public-read-write,allow_other

$ ls -l ~/public.suncup.org
total 5
-rw-r--r-- 1 root root  19 2010-10-29 00:58 fasldkilexs3.txt
-rw-r--r-- 1 root root  19 2010-10-29 00:04 file2.txt
-rw-r--r-- 1 root root  19 2010-10-29 00:13 file3.txt
-rw-r--r-- 1 root root  19 2010-10-29 00:49 filex3.txt
-rw-r--r-- 1 root root  19 2010-10-29 00:50 filexs3.txt
-rw-r--r-- 1 root root   6 2010-10-28 20:07 hello
---------- 1 root root 597 2010-10-26 22:36 HOWTO
-rw-r--r-- 1 root root  24 2010-10-29 00:01 move_me.txt
drwxr-xr-x 1 root root   0 2010-10-28 22:21 newdir

Resolved with svn r223

Original comment by dmoore4...@gmail.com on 30 Oct 2010 at 2:43