[질문] gmailfs 사용시 에러..

nonots의 이미지

한소프트리눅스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 로 사설 아이피로 마스커레이딩을 하고 있는데
이게 원인인지요..
..
해결 방법이 있으면 조언 부탁드립니다.

Prentice의 이미지

fuse: warning: library too old, some operations may not not work

라이브러리가 너무 오래돼서 몇몇 기능은 작동하지 않을지도 모른다는 경고 메시지가 있었습니다.

FUSE 최신버젼은 2.x인 것 같으니 신버젼으로 다시 해보시면 어떨까요..?

nonots의 이미지

[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]#


=== 건달의 경지를 꿈꾸며 ===

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.