64 bit support?

16 views
Skip to first unread message

calmofthestorm

unread,
Aug 20, 2008, 2:13:51 AM8/20/08
to GDataFS
The "platform independent" branch fails to run on amd64 due to the
dependency on a 32 bit native library. I was unable to build from
source due to complete lack of build documentation and a makefile.

Any thoughts?

Sverre Kristian Valskrå

unread,
Aug 20, 2008, 3:09:33 AM8/20/08
to gda...@googlegroups.com
Hi

I think the fuse java binding must be compiled for 64 bits... fuse-j

http://sourceforge.net/project/showfiles.php?group_id=149748&package_id=165400

Alex Roper

unread,
Aug 20, 2008, 11:32:16 PM8/20/08
to gda...@googlegroups.com
Getting closer (you really shouldn't call it platform independent on the downloads page
btw, since it contains a 32 bit ELF binary that 64 bit Java chokes on loading).

I managed to compile fuse-j, but had to fix a few bugs in the Makefile (such as hard
coding java path to /opt) and one multiply defined variable, but nothing serious.

Anyway, when I try to run gdatafs loading the 64 bit ELF binary I get the following backtrace:

alexr@autumn:/tmp/gdatafs$ ./gdatafs mountpoint calmoft...@gmail.com password
23:23:31.451 main INFO [org.gdatafs.GPhotoFuse]: Authenticated
23:23:31.901 main INFO [fuse.FuseMount]: Mounting filesystem
Exception in thread "main" java.lang.NoClassDefFoundError: fuse/FuseStat
at fuse.FuseMount.mount(Native Method)
at fuse.FuseMount.mount(FuseMount.java:66)
at fuse.FuseMount.mount(FuseMount.java:53)
at org.gdatafs.GPhotoFuse.main(GPhotoFuse.java:43)
Caused by: java.lang.ClassNotFoundException: fuse.FuseStat
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 4 more
23:23:31.904 main INFO [fuse.FuseMount]: Filesystem is unmounted

Thoughts? Seems like a version problem of the library is most likely. Can you tell me what
version you wrote the code using? I compiled the stable version, not the prerelease.

Thanks,
Alex
signature.asc

Sverre Kristian Valskrå

unread,
Aug 21, 2008, 5:17:32 AM8/21/08
to gda...@googlegroups.com
Hi

I used fuse-j-2.4-prerelease1

Sverre

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC45IChH
TlUvTGludXgpCkNvbW1lbnQ6IFVzaW5nIEdudVBHIHdpdGggTW96aWxsYSAtIGh0dHA6Ly9l
bmlnbWFpbC5tb3pkZXYub3JnCgppRVlFQVJFQ0FBWUZBa2lzNFFjQUNna1FiSVJBeURia3Zm
L2lhQUNmY3FITU5kM2pscDY5cXRLc0ZsOFZqUlYvCk5pVUFuUlhmeU5QUDhMNURCSjd2anB1
a1o2RzZWd2I5Cj10TitrCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQoK

Reply all
Reply to author
Forward
0 new messages