[질문] gmailfs 사용시 에러..
한소프트리눅스2005 에서
http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html
를 참조하여서 gmail 의 1 G 를 사용하기 위해 gmailfs 를 사용하려는데
..
fuse 1.3 버전 컴파일해서 modprobe 로 띄워지고..
libgmail 과 gmailfs 도 다 설치해서 ..
[root@nalle ~]# mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/gmail -o username=useid,password=aabbcc,fsname=zOlRRa
[root@nalle ~]# INFO:gmailfs:Connected to gmail
fuse: warning: library too old, some operations may not not work
[root@nalle ~]# cd /mnt/gmail
short read on fuse device
[root@nalle gmail]# ls
ls: .: 전송 종료지점이 연결되어 있지 않습니다
[root@nalle gmail]# mount
/dev/hda6 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda5 on /win type vfat (rw)
gmailfs on /mnt/gmail type fuse (rw,nosuid,nodev)
[root@nalle gmail]#
와 같이 전송 종료지점이 연결 안되었다고 나옵니다.
mount 는 된거 같은데.. 뭔가 잘못된듯합니다.
..
..
저희 집에서 ADSL 공유기로 내부에서
192.168.0.X 로 사설 아이피로 마스커레이딩을 하고 있는데
이게 원인인지요..
..
해결 방법이 있으면 조언 부탁드립니다.
fuse: warning: library too old, some ope
fuse: warning: library too old, some operations may not not work
라이브러리가 너무 오래돼서 몇몇 기능은 작동하지 않을지도 모른다는 경고 메시지가 있었습니다.
FUSE 최신버젼은 2.x인 것 같으니 신버젼으로 다시 해보시면 어떨까요..?
fuse 2.2 로 했는데도..
[root@nalle fuse-2.2]# mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/gmail -o username=useid,password=aabbcc,fsname=zOlRRa
fusermount: unknown option -n
Try `fusermount -h' for more information
....
fuse 2.2 를 컴파일해서 modprobe 로 로딩까지는 됐는데..
mount 하면 위와 같이 에러가 납니다. 이전 1.3 에서는 저런 에러는
아니었습니다.
..
..
그리고
fuse-python 을 설치하려면 아래와 같은 에러가 납니다.
역시 fuse 1.3 에서는 이상없이 잘 설치되었어습니다.
..
뭐가 문제일까요..
..
[root@nalle fuse-python]# python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.3
copying fuse.py -> build/lib.linux-i686-2.3
running build_ext
building '_fusemodule' extension
creating build/temp.linux-i686-2.3
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -march=i386 -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.3 -c _fusemodule.c -o build/temp.linux-i686-2.3/_fusemodule.o
_fusemodule.c:312: warning: "struct fuse_statfs" declared inside parameter list
_fusemodule.c:312: warning: its scope is only this definition or declaration, which is probably not what you want
_fusemodule.c: In function `statfs_func':
_fusemodule.c:333: error: dereferencing pointer to incomplete type
_fusemodule.c:334: error: dereferencing pointer to incomplete type
_fusemodule.c:335: error: dereferencing pointer to incomplete type
_fusemodule.c:336: error: dereferencing pointer to incomplete type
_fusemodule.c:337: error: dereferencing pointer to incomplete type
_fusemodule.c:338: error: dereferencing pointer to incomplete type
_fusemodule.c: In function `Fuse_main':
_fusemodule.c:441: warning: assignment from incompatible pointer type
_fusemodule.c:444: warning: passing arg 2 of `fuse_new_compat2' makes pointer from integer without a cast
_fusemodule.c: In function `init_fuse':
_fusemodule.c:484: error: `FUSE_DEBUG' undeclared (first use in this function)
_fusemodule.c:484: error: (Each undeclared identifier is reported only once
_fusemodule.c:484: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1
[root@nalle fuse-python]#
=== 건달의 경지를 꿈꾸며 ===
댓글 달기