ljsc / vegas

CSCI-6221 Term Project

Home Page:http://github.com/ljsc/vegas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FUSE FS functioning on OSX

ccuadrado opened this issue · comments

Hey Lou, when I attempt to get this fuse FS working, it's not loading properly for some reason. I've tried for a while to get it right.

Doing gem install fusefs-osx works fine and everything compiles, but it appears my rvm installation doesn't see it., so when I load with ruby current-timeline.rb tweets/ & it gives me a "'require' - no such file to load: fusefs" error. Then I do the following:

harry-potter:examples catalino$ gem install fusefs-osx
Building native extensions. This could take a while...
Successfully installed fusefs-osx-0.7.0
1 gem installed
Installing ri documentation for fusefs-osx-0.7.0...
Installing RDoc documentation for fusefs-osx-0.7.0...
harry-potter:examples catalino$ rvm install fusefs-osx
Unknown ruby interpreter string component: 'fusefs'
Either the ruby interpreter is unknown or there was an error!.
harry-potter:examples catalino$ rvm gem install fusefs-osx
Building native extensions. This could take a while...
Successfully installed fusefs-osx-0.7.0
1 gem installed
Installing ri documentation for fusefs-osx-0.7.0...
Installing RDoc documentation for fusefs-osx-0.7.0...
Building native extensions. This could take a while...
ERROR: Error installing fusefs-osx:
ERROR: Failed to build gem native extension.

/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
checking for main() in -lfuse_ino64... yes
creating Makefile

make
gcc -I. -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o fusefs_fuse.o -c fusefs_fuse.c
gcc -I. -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o fusefs_lib.o -c fusefs_lib.c
fusefs_lib.c:83: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:84: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:85: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:86: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:87: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:88: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:89: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:90: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:92: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:93: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:94: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:95: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:96: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:97: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:98: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c💯 warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:101: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:102: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:103: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:105: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c: In function ‘editor_fileP’:
fusefs_lib.c:175: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:179: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:179: warning: statement with no effect
fusefs_lib.c:197: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:197: warning: statement with no effect
fusefs_lib.c: In function ‘rf_mcall’:
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: statement with no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: statement with no effect
fusefs_lib.c: In function ‘rf_getattr’:
fusefs_lib.c:277: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:277: warning: statement with no effect
fusefs_lib.c:294: warning: statement with no effect
fusefs_lib.c:297: warning: statement with no effect
fusefs_lib.c:308: warning: statement with no effect
fusefs_lib.c:326: warning: statement with no effect
fusefs_lib.c:329: warning: statement with no effect
fusefs_lib.c:340: warning: statement with no effect
fusefs_lib.c:343: warning: statement with no effect
fusefs_lib.c:350: warning: statement with no effect
fusefs_lib.c:352: warning: statement with no effect
fusefs_lib.c:364: warning: statement with no effect
fusefs_lib.c:385: warning: statement with no effect
fusefs_lib.c: In function ‘rf_readdir’:
fusefs_lib.c:407: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:407: warning: statement with no effect
fusefs_lib.c:424: warning: statement with no effect
fusefs_lib.c:428: warning: statement with no effect
fusefs_lib.c:431: warning: statement with no effect
fusefs_lib.c:455: warning: passing argument 2 of ‘filler’ makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mknod’:
fusefs_lib.c:472: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:472: warning: statement with no effect
fusefs_lib.c:475: warning: statement with no effect
fusefs_lib.c:477: warning: statement with no effect
fusefs_lib.c:480: warning: statement with no effect
fusefs_lib.c:483: warning: statement with no effect
fusefs_lib.c:485: warning: statement with no effect
fusefs_lib.c:488: warning: statement with no effect
fusefs_lib.c:490: warning: statement with no effect
fusefs_lib.c:493: warning: statement with no effect
fusefs_lib.c:496: warning: statement with no effect
fusefs_lib.c:511: warning: statement with no effect
fusefs_lib.c:514: warning: statement with no effect
fusefs_lib.c:516: warning: statement with no effect
fusefs_lib.c:519: warning: statement with no effect
fusefs_lib.c:522: warning: statement with no effect
fusefs_lib.c:524: warning: statement with no effect
fusefs_lib.c:525: warning: statement with no effect
fusefs_lib.c:530: warning: statement with no effect
fusefs_lib.c:546: warning: statement with no effect
fusefs_lib.c:549: warning: statement with no effect
fusefs_lib.c: In function ‘rf_open’:
fusefs_lib.c:585: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:585: warning: statement with no effect
fusefs_lib.c:588: warning: statement with no effect
fusefs_lib.c:590: warning: statement with no effect
fusefs_lib.c:593: warning: statement with no effect
fusefs_lib.c:595: warning: statement with no effect
fusefs_lib.c:598: warning: statement with no effect
fusefs_lib.c:601: warning: statement with no effect
fusefs_lib.c:604: warning: statement with no effect
fusefs_lib.c:620: warning: statement with no effect
fusefs_lib.c:626: warning: statement with no effect
fusefs_lib.c:628: warning: statement with no effect
fusefs_lib.c:642: warning: statement with no effect
fusefs_lib.c:644: warning: statement with no effect
fusefs_lib.c:646: warning: statement with no effect
fusefs_lib.c:663: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:680: warning: statement with no effect
fusefs_lib.c:681: warning: statement with no effect
fusefs_lib.c:683: warning: statement with no effect
fusefs_lib.c:697: warning: statement with no effect
fusefs_lib.c:699: warning: statement with no effect
fusefs_lib.c:701: warning: statement with no effect
fusefs_lib.c:704: warning: statement with no effect
fusefs_lib.c:718: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:745: warning: statement with no effect
fusefs_lib.c:767: warning: statement with no effect
fusefs_lib.c:770: warning: statement with no effect
fusefs_lib.c:773: warning: statement with no effect
fusefs_lib.c:796: warning: statement with no effect
fusefs_lib.c: In function ‘rf_release’:
fusefs_lib.c:819: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:819: warning: statement with no effect
fusefs_lib.c:821: warning: statement with no effect
fusefs_lib.c:828: warning: statement with no effect
fusefs_lib.c:829: warning: statement with no effect
fusefs_lib.c:837: warning: statement with no effect
fusefs_lib.c:840: warning: statement with no effect
fusefs_lib.c:843: warning: statement with no effect
fusefs_lib.c:846: warning: statement with no effect
fusefs_lib.c:849: warning: statement with no effect
fusefs_lib.c:854: warning: statement with no effect
fusefs_lib.c:856: warning: statement with no effect
fusefs_lib.c:858: warning: statement with no effect
fusefs_lib.c:861: warning: statement with no effect
fusefs_lib.c:863: warning: statement with no effect
fusefs_lib.c: In function ‘rf_touch’:
fusefs_lib.c:896: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:896: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rename’:
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: statement with no effect
fusefs_lib.c:916: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:916: warning: statement with no effect
fusefs_lib.c:918: warning: statement with no effect
fusefs_lib.c:921: warning: statement with no effect
fusefs_lib.c:924: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:924: warning: statement with no effect
fusefs_lib.c:926: warning: statement with no effect
fusefs_lib.c:929: warning: statement with no effect
fusefs_lib.c:933: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:933: warning: statement with no effect
fusefs_lib.c:935: warning: statement with no effect
fusefs_lib.c:938: warning: statement with no effect
fusefs_lib.c:941: warning: statement with no effect
fusefs_lib.c: In function ‘rf_unlink’:
fusefs_lib.c:983: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:983: warning: statement with no effect
fusefs_lib.c:985: warning: statement with no effect
fusefs_lib.c:988: warning: statement with no effect
fusefs_lib.c:1004: warning: statement with no effect
fusefs_lib.c:1007: warning: statement with no effect
fusefs_lib.c:1010: warning: statement with no effect
fusefs_lib.c:1012: warning: statement with no effect
fusefs_lib.c:1015: warning: statement with no effect
fusefs_lib.c:1018: warning: statement with no effect
fusefs_lib.c:1020: warning: statement with no effect
fusefs_lib.c:1023: warning: statement with no effect
fusefs_lib.c:1026: warning: statement with no effect
fusefs_lib.c: In function ‘rf_truncate’:
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: statement with no effect
fusefs_lib.c:1042: warning: statement with no effect
fusefs_lib.c:1044: warning: statement with no effect
fusefs_lib.c:1077: warning: initialization makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mkdir’:
fusefs_lib.c:1097: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1097: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rmdir’:
fusefs_lib.c:1122: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1122: warning: statement with no effect
fusefs_lib.c: In function ‘rf_write’:
fusefs_lib.c:1151: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1151: warning: statement with no effect
fusefs_lib.c:1155: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1155: warning: statement with no effect
fusefs_lib.c:1157: warning: statement with no effect
fusefs_lib.c:1169: warning: statement with no effect
fusefs_lib.c:1172: warning: statement with no effect
fusefs_lib.c:1176: warning: statement with no effect
fusefs_lib.c:1180: warning: statement with no effect
fusefs_lib.c:1185: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:1187: warning: statement with no effect
fusefs_lib.c:1188: warning: statement with no effect
fusefs_lib.c:1190: warning: statement with no effect
fusefs_lib.c:1193: warning: statement with no effect
fusefs_lib.c:1202: warning: comparison between signed and unsigned
fusefs_lib.c:1215: warning: comparison between signed and unsigned
fusefs_lib.c:1219: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: In function ‘rf_read’:
fusefs_lib.c:1236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1236: warning: statement with no effect
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1257: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1262: warning: comparison between signed and unsigned
fusefs_lib.c:1265: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: At top level:
fusefs_lib.c:1310: warning: initialized field overwritten
fusefs_lib.c:1310: warning: (near initialization for ‘rf_oper.utime’)
fusefs_lib.c: In function ‘rf_mount_to’:
fusefs_lib.c:1388: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1393: warning: passing argument 1 of ‘fusefs_setup’ makes pointer from integer without a cast
make: *** [fusefs_lib.o] Error 1

Gem files will remain installed in /Users/catalino/.rvm/gems/ruby-1.9.2-p0/gems/fusefs-osx-0.7.0 for inspection.
Results logged to /Users/catalino/.rvm/gems/ruby-1.9.2-p0/gems/fusefs-osx-0.7.0/ext/gem_make.out
Building native extensions. This could take a while...
ERROR: Error installing fusefs-osx:
ERROR: Failed to build gem native extension.

/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
checking for main() in -lfuse_ino64... yes
creating Makefile

make
gcc -I. -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o fusefs_fuse.o -c fusefs_fuse.c
gcc -I. -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward -I/Users/catalino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o fusefs_lib.o -c fusefs_lib.c
fusefs_lib.c:83: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:84: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:85: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:86: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:87: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:88: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:89: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:90: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:92: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:93: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:94: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:95: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:96: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:97: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:98: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c💯 warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:101: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:102: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:103: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:105: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c: In function ‘editor_fileP’:
fusefs_lib.c:175: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:179: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:179: warning: statement with no effect
fusefs_lib.c:197: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:197: warning: statement with no effect
fusefs_lib.c: In function ‘rf_mcall’:
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: statement with no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: statement with no effect
fusefs_lib.c: In function ‘rf_getattr’:
fusefs_lib.c:277: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:277: warning: statement with no effect
fusefs_lib.c:294: warning: statement with no effect
fusefs_lib.c:297: warning: statement with no effect
fusefs_lib.c:308: warning: statement with no effect
fusefs_lib.c:326: warning: statement with no effect
fusefs_lib.c:329: warning: statement with no effect
fusefs_lib.c:340: warning: statement with no effect
fusefs_lib.c:343: warning: statement with no effect
fusefs_lib.c:350: warning: statement with no effect
fusefs_lib.c:352: warning: statement with no effect
fusefs_lib.c:364: warning: statement with no effect
fusefs_lib.c:385: warning: statement with no effect
fusefs_lib.c: In function ‘rf_readdir’:
fusefs_lib.c:407: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:407: warning: statement with no effect
fusefs_lib.c:424: warning: statement with no effect
fusefs_lib.c:428: warning: statement with no effect
fusefs_lib.c:431: warning: statement with no effect
fusefs_lib.c:455: warning: passing argument 2 of ‘filler’ makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mknod’:
fusefs_lib.c:472: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:472: warning: statement with no effect
fusefs_lib.c:475: warning: statement with no effect
fusefs_lib.c:477: warning: statement with no effect
fusefs_lib.c:480: warning: statement with no effect
fusefs_lib.c:483: warning: statement with no effect
fusefs_lib.c:485: warning: statement with no effect
fusefs_lib.c:488: warning: statement with no effect
fusefs_lib.c:490: warning: statement with no effect
fusefs_lib.c:493: warning: statement with no effect
fusefs_lib.c:496: warning: statement with no effect
fusefs_lib.c:511: warning: statement with no effect
fusefs_lib.c:514: warning: statement with no effect
fusefs_lib.c:516: warning: statement with no effect
fusefs_lib.c:519: warning: statement with no effect
fusefs_lib.c:522: warning: statement with no effect
fusefs_lib.c:524: warning: statement with no effect
fusefs_lib.c:525: warning: statement with no effect
fusefs_lib.c:530: warning: statement with no effect
fusefs_lib.c:546: warning: statement with no effect
fusefs_lib.c:549: warning: statement with no effect
fusefs_lib.c: In function ‘rf_open’:
fusefs_lib.c:585: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:585: warning: statement with no effect
fusefs_lib.c:588: warning: statement with no effect
fusefs_lib.c:590: warning: statement with no effect
fusefs_lib.c:593: warning: statement with no effect
fusefs_lib.c:595: warning: statement with no effect
fusefs_lib.c:598: warning: statement with no effect
fusefs_lib.c:601: warning: statement with no effect
fusefs_lib.c:604: warning: statement with no effect
fusefs_lib.c:620: warning: statement with no effect
fusefs_lib.c:626: warning: statement with no effect
fusefs_lib.c:628: warning: statement with no effect
fusefs_lib.c:642: warning: statement with no effect
fusefs_lib.c:644: warning: statement with no effect
fusefs_lib.c:646: warning: statement with no effect
fusefs_lib.c:663: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:680: warning: statement with no effect
fusefs_lib.c:681: warning: statement with no effect
fusefs_lib.c:683: warning: statement with no effect
fusefs_lib.c:697: warning: statement with no effect
fusefs_lib.c:699: warning: statement with no effect
fusefs_lib.c:701: warning: statement with no effect
fusefs_lib.c:704: warning: statement with no effect
fusefs_lib.c:718: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:745: warning: statement with no effect
fusefs_lib.c:767: warning: statement with no effect
fusefs_lib.c:770: warning: statement with no effect
fusefs_lib.c:773: warning: statement with no effect
fusefs_lib.c:796: warning: statement with no effect
fusefs_lib.c: In function ‘rf_release’:
fusefs_lib.c:819: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:819: warning: statement with no effect
fusefs_lib.c:821: warning: statement with no effect
fusefs_lib.c:828: warning: statement with no effect
fusefs_lib.c:829: warning: statement with no effect
fusefs_lib.c:837: warning: statement with no effect
fusefs_lib.c:840: warning: statement with no effect
fusefs_lib.c:843: warning: statement with no effect
fusefs_lib.c:846: warning: statement with no effect
fusefs_lib.c:849: warning: statement with no effect
fusefs_lib.c:854: warning: statement with no effect
fusefs_lib.c:856: warning: statement with no effect
fusefs_lib.c:858: warning: statement with no effect
fusefs_lib.c:861: warning: statement with no effect
fusefs_lib.c:863: warning: statement with no effect
fusefs_lib.c: In function ‘rf_touch’:
fusefs_lib.c:896: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:896: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rename’:
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: statement with no effect
fusefs_lib.c:916: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:916: warning: statement with no effect
fusefs_lib.c:918: warning: statement with no effect
fusefs_lib.c:921: warning: statement with no effect
fusefs_lib.c:924: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:924: warning: statement with no effect
fusefs_lib.c:926: warning: statement with no effect
fusefs_lib.c:929: warning: statement with no effect
fusefs_lib.c:933: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:933: warning: statement with no effect
fusefs_lib.c:935: warning: statement with no effect
fusefs_lib.c:938: warning: statement with no effect
fusefs_lib.c:941: warning: statement with no effect
fusefs_lib.c: In function ‘rf_unlink’:
fusefs_lib.c:983: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:983: warning: statement with no effect
fusefs_lib.c:985: warning: statement with no effect
fusefs_lib.c:988: warning: statement with no effect
fusefs_lib.c:1004: warning: statement with no effect
fusefs_lib.c:1007: warning: statement with no effect
fusefs_lib.c:1010: warning: statement with no effect
fusefs_lib.c:1012: warning: statement with no effect
fusefs_lib.c:1015: warning: statement with no effect
fusefs_lib.c:1018: warning: statement with no effect
fusefs_lib.c:1020: warning: statement with no effect
fusefs_lib.c:1023: warning: statement with no effect
fusefs_lib.c:1026: warning: statement with no effect
fusefs_lib.c: In function ‘rf_truncate’:
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: statement with no effect
fusefs_lib.c:1042: warning: statement with no effect
fusefs_lib.c:1044: warning: statement with no effect
fusefs_lib.c:1077: warning: initialization makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mkdir’:
fusefs_lib.c:1097: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1097: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rmdir’:
fusefs_lib.c:1122: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1122: warning: statement with no effect
fusefs_lib.c: In function ‘rf_write’:
fusefs_lib.c:1151: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1151: warning: statement with no effect
fusefs_lib.c:1155: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1155: warning: statement with no effect
fusefs_lib.c:1157: warning: statement with no effect
fusefs_lib.c:1169: warning: statement with no effect
fusefs_lib.c:1172: warning: statement with no effect
fusefs_lib.c:1176: warning: statement with no effect
fusefs_lib.c:1180: warning: statement with no effect
fusefs_lib.c:1185: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:1187: warning: statement with no effect
fusefs_lib.c:1188: warning: statement with no effect
fusefs_lib.c:1190: warning: statement with no effect
fusefs_lib.c:1193: warning: statement with no effect
fusefs_lib.c:1202: warning: comparison between signed and unsigned
fusefs_lib.c:1215: warning: comparison between signed and unsigned
fusefs_lib.c:1219: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: In function ‘rf_read’:
fusefs_lib.c:1236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1236: warning: statement with no effect
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1257: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1262: warning: comparison between signed and unsigned
fusefs_lib.c:1265: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: At top level:
fusefs_lib.c:1310: warning: initialized field overwritten
fusefs_lib.c:1310: warning: (near initialization for ‘rf_oper.utime’)
fusefs_lib.c: In function ‘rf_mount_to’:
fusefs_lib.c:1388: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1393: warning: passing argument 1 of ‘fusefs_setup’ makes pointer from integer without a cast
make: *** [fusefs_lib.o] Error 1

Gem files will remain installed in /Users/catalino/.rvm/gems/ruby-1.9.2-p136/gems/fusefs-osx-0.7.0 for inspection.
Results logged to /Users/catalino/.rvm/gems/ruby-1.9.2-p136/gems/fusefs-osx-0.7.0/ext/gem_make.out
Building native extensions. This could take a while...
ERROR: Error installing fusefs-osx:
ERROR: Failed to build gem native extension.

/Users/catalino/.rvm/rubies/ruby-head/bin/ruby extconf.rb
checking for main() in -lfuse_ino64... yes
creating Makefile

make
compiling fusefs_fuse.c
compiling fusefs_lib.c
fusefs_lib.c:83: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:84: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:85: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:86: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:87: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:88: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:89: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:90: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:92: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:93: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:94: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:95: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:96: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:97: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:98: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c💯 warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:101: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:102: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:103: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c:105: warning: initialization discards qualifiers from pointer target type
fusefs_lib.c: In function ‘editor_fileP’:
fusefs_lib.c:175: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:179: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:179: warning: statement with no effect
fusefs_lib.c:197: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:197: warning: statement with no effect
fusefs_lib.c: In function ‘rf_mcall’:
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:236: warning: statement with no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:238: warning: statement with no effect
fusefs_lib.c: In function ‘rf_getattr’:
fusefs_lib.c:277: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:277: warning: statement with no effect
fusefs_lib.c:294: warning: statement with no effect
fusefs_lib.c:297: warning: statement with no effect
fusefs_lib.c:308: warning: statement with no effect
fusefs_lib.c:326: warning: statement with no effect
fusefs_lib.c:329: warning: statement with no effect
fusefs_lib.c:340: warning: statement with no effect
fusefs_lib.c:343: warning: statement with no effect
fusefs_lib.c:350: warning: statement with no effect
fusefs_lib.c:352: warning: statement with no effect
fusefs_lib.c:364: warning: statement with no effect
fusefs_lib.c:385: warning: statement with no effect
fusefs_lib.c: In function ‘rf_readdir’:
fusefs_lib.c:407: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:407: warning: statement with no effect
fusefs_lib.c:424: warning: statement with no effect
fusefs_lib.c:428: warning: statement with no effect
fusefs_lib.c:431: warning: statement with no effect
fusefs_lib.c:455: warning: passing argument 2 of ‘filler’ makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mknod’:
fusefs_lib.c:472: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:472: warning: statement with no effect
fusefs_lib.c:475: warning: statement with no effect
fusefs_lib.c:477: warning: statement with no effect
fusefs_lib.c:480: warning: statement with no effect
fusefs_lib.c:483: warning: statement with no effect
fusefs_lib.c:485: warning: statement with no effect
fusefs_lib.c:488: warning: statement with no effect
fusefs_lib.c:490: warning: statement with no effect
fusefs_lib.c:493: warning: statement with no effect
fusefs_lib.c:496: warning: statement with no effect
fusefs_lib.c:497: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c:511: warning: statement with no effect
fusefs_lib.c:514: warning: statement with no effect
fusefs_lib.c:516: warning: statement with no effect
fusefs_lib.c:519: warning: statement with no effect
fusefs_lib.c:522: warning: statement with no effect
fusefs_lib.c:524: warning: statement with no effect
fusefs_lib.c:525: warning: statement with no effect
fusefs_lib.c:530: warning: statement with no effect
fusefs_lib.c:531: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c:546: warning: statement with no effect
fusefs_lib.c:549: warning: statement with no effect
fusefs_lib.c: In function ‘rf_open’:
fusefs_lib.c:585: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:585: warning: statement with no effect
fusefs_lib.c:588: warning: statement with no effect
fusefs_lib.c:590: warning: statement with no effect
fusefs_lib.c:593: warning: statement with no effect
fusefs_lib.c:595: warning: statement with no effect
fusefs_lib.c:598: warning: statement with no effect
fusefs_lib.c:601: warning: statement with no effect
fusefs_lib.c:604: warning: statement with no effect
fusefs_lib.c:620: warning: statement with no effect
fusefs_lib.c:626: warning: statement with no effect
fusefs_lib.c:628: warning: statement with no effect
fusefs_lib.c:642: warning: statement with no effect
fusefs_lib.c:644: warning: statement with no effect
fusefs_lib.c:646: warning: statement with no effect
fusefs_lib.c:663: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:680: warning: statement with no effect
fusefs_lib.c:681: warning: statement with no effect
fusefs_lib.c:683: warning: statement with no effect
fusefs_lib.c:697: warning: statement with no effect
fusefs_lib.c:699: warning: statement with no effect
fusefs_lib.c:701: warning: statement with no effect
fusefs_lib.c:704: warning: statement with no effect
fusefs_lib.c:718: warning: assignment makes pointer from integer without a cast
fusefs_lib.c:745: warning: statement with no effect
fusefs_lib.c:767: warning: statement with no effect
fusefs_lib.c:770: warning: statement with no effect
fusefs_lib.c:773: warning: statement with no effect
fusefs_lib.c:796: warning: statement with no effect
fusefs_lib.c: In function ‘rf_release’:
fusefs_lib.c:819: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:819: warning: statement with no effect
fusefs_lib.c:821: warning: statement with no effect
fusefs_lib.c:828: warning: statement with no effect
fusefs_lib.c:829: warning: statement with no effect
fusefs_lib.c:837: warning: statement with no effect
fusefs_lib.c:840: warning: statement with no effect
fusefs_lib.c:843: warning: statement with no effect
fusefs_lib.c:846: warning: statement with no effect
fusefs_lib.c:849: warning: statement with no effect
fusefs_lib.c:854: warning: statement with no effect
fusefs_lib.c:856: warning: statement with no effect
fusefs_lib.c:858: warning: statement with no effect
fusefs_lib.c:861: warning: statement with no effect
fusefs_lib.c:863: warning: statement with no effect
fusefs_lib.c: In function ‘rf_touch’:
fusefs_lib.c:896: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:896: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rename’:
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:915: warning: statement with no effect
fusefs_lib.c:916: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:916: warning: statement with no effect
fusefs_lib.c:918: warning: statement with no effect
fusefs_lib.c:921: warning: statement with no effect
fusefs_lib.c:924: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:924: warning: statement with no effect
fusefs_lib.c:926: warning: statement with no effect
fusefs_lib.c:929: warning: statement with no effect
fusefs_lib.c:933: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:933: warning: statement with no effect
fusefs_lib.c:935: warning: statement with no effect
fusefs_lib.c:938: warning: statement with no effect
fusefs_lib.c:941: warning: statement with no effect
fusefs_lib.c:951: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c: In function ‘rf_unlink’:
fusefs_lib.c:983: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:983: warning: statement with no effect
fusefs_lib.c:985: warning: statement with no effect
fusefs_lib.c:988: warning: statement with no effect
fusefs_lib.c:1004: warning: statement with no effect
fusefs_lib.c:1007: warning: statement with no effect
fusefs_lib.c:1010: warning: statement with no effect
fusefs_lib.c:1012: warning: statement with no effect
fusefs_lib.c:1015: warning: statement with no effect
fusefs_lib.c:1018: warning: statement with no effect
fusefs_lib.c:1020: warning: statement with no effect
fusefs_lib.c:1023: warning: statement with no effect
fusefs_lib.c:1026: warning: statement with no effect
fusefs_lib.c: In function ‘rf_truncate’:
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1040: warning: statement with no effect
fusefs_lib.c:1042: warning: statement with no effect
fusefs_lib.c:1044: warning: statement with no effect
fusefs_lib.c:1045: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c:1077: warning: initialization makes pointer from integer without a cast
fusefs_lib.c: In function ‘rf_mkdir’:
fusefs_lib.c:1097: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1097: warning: statement with no effect
fusefs_lib.c: In function ‘rf_rmdir’:
fusefs_lib.c:1122: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1122: warning: statement with no effect
fusefs_lib.c: In function ‘rf_write’:
fusefs_lib.c:1151: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1151: warning: statement with no effect
fusefs_lib.c:1153: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c:1155: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1155: warning: statement with no effect
fusefs_lib.c:1157: warning: statement with no effect
fusefs_lib.c:1169: warning: statement with no effect
fusefs_lib.c:1172: warning: statement with no effect
fusefs_lib.c:1176: warning: statement with no effect
fusefs_lib.c:1180: warning: statement with no effect
fusefs_lib.c:1185: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c:1187: warning: statement with no effect
fusefs_lib.c:1188: warning: statement with no effect
fusefs_lib.c:1190: warning: statement with no effect
fusefs_lib.c:1193: warning: statement with no effect
fusefs_lib.c:1202: warning: comparison between signed and unsigned
fusefs_lib.c:1215: warning: comparison between signed and unsigned
fusefs_lib.c:1219: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: In function ‘rf_read’:
fusefs_lib.c:1236: warning: left-hand operand of comma expression has no effect
fusefs_lib.c:1236: warning: statement with no effect
fusefs_lib.c:1251: warning: ISO C90 forbids mixed declarations and code
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘ptr’
fusefs_lib.c:1256: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1257: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1262: warning: comparison between signed and unsigned
fusefs_lib.c:1265: warning: implicit conversion shortens 64-bit value into a 32-bit value
fusefs_lib.c: At top level:
fusefs_lib.c:1310: warning: initialized field overwritten
fusefs_lib.c:1310: warning: (near initialization for ‘rf_oper.utime’)
fusefs_lib.c: In function ‘rf_mount_to’:
fusefs_lib.c:1388: error: ‘struct RString’ has no member named ‘len’
fusefs_lib.c:1393: warning: passing argument 1 of ‘fusefs_setup’ makes pointer from integer without a cast
make: *** [fusefs_lib.o] Error 1

Gem files will remain installed in /Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0 for inspection.
Results logged to /Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0/ext/gem_make.out
harry-potter:examples catalino$

I'm around all night to work on this so let me know if you have any idea how I can get this working so I can finish up the final phase of the project.
-Catalino

I should also add I am using ruby 1.8.7 (rvm use ruby-1.8.7) but don't have anything like fink or macports or anything like that installed. Could that be the issue?

Are you sure you have the latest version of MacFuse installed?

== MacFUSE 2.0.3.2 ==

On Sun, Jun 26, 2011 at 4:44 PM, ljsc
reply@reply.github.com
wrote:

Are you sure you have the latest version of MacFuse installed?

Reply to this email directly or view it on GitHub:
#5 (comment)

Doing gem install fusefs-osx works fine and everything compiles, but it appears my rvm installation doesn't see it., so when I load with ruby current-timeline.rb tweets/ & it gives me a "'require' - no such file to load: fusefs" error. Then I do the following:

harry-potter:examples catalino$ gem install fusefs-osx
Building native extensions. This could take a while...
Successfully installed fusefs-osx-0.7.0
1 gem installed
Installing ri documentation for fusefs-osx-0.7.0...
Installing RDoc documentation for fusefs-osx-0.7.0...

Wait. Have you tried it again? It just said installed when you did this part, i.e.: it wasn't installed before.

Yeah i have done the following steps multiple times. I will bang on it some more when i get back from dinner.


Catalino Cuadrado, CTS
AV Engineer, AVDE
Academic Technologies
The George Washington University
814 20th St NW, Washington DC 20052
202.994.3827
catalino@gwu.edu

On Jun 26, 2011, at 7:21 PM, ljscreply@reply.github.com wrote:

Doing gem install fusefs-osx works fine and everything compiles, but it appears my rvm installation doesn't see it., so when I load with ruby current-timeline.rb tweets/ & it gives me a "'require' - no such file to load: fusefs" error. Then I do the following:

harry-potter:examples catalino$ gem install fusefs-osx
Building native extensions. This could take a while...
Successfully installed fusefs-osx-0.7.0
1 gem installed
Installing ri documentation for fusefs-osx-0.7.0...
Installing RDoc documentation for fusefs-osx-0.7.0...

Wait. Have you tried it again? It just said installed when you did this part, i.e.: it wasn't installed before.

Reply to this email directly or view it on GitHub:
#5 (comment)

On Sun, Jun 26, 2011 at 7:50 PM, ccuadrado
reply@reply.github.com
wrote:

Yeah i have done the following steps multiple times. I will bang on it some more when i get back from dinner.

Hrm. Okay, yeah sorry, that's all I could think of from this end. Let
me know how it goes.

Lou

Gonna install fink and macports when i get home.


Catalino Cuadrado, CTS
AV Engineer, AVDE
Academic Technologies
The George Washington University
814 20th St NW, Washington DC 20052
202.994.3827
catalino@gwu.edu

On Jun 26, 2011, at 7:57 PM, ljscreply@reply.github.com wrote:

On Sun, Jun 26, 2011 at 7:50 PM, ccuadrado
reply@reply.github.com
wrote:

Yeah i have done the following steps multiple times. I will bang on it some more when i get back from dinner.

Hrm. Okay, yeah sorry, that's all I could think of from this end. Let
me know how it goes.

Lou

Reply to this email directly or view it on GitHub:
#5 (comment)

On Sun, Jun 26, 2011 at 8:03 PM, ccuadrado
reply@reply.github.com
wrote:

Gonna install fink and macports when i get home.

For what? I've only heard painful stories about both.

I thought you already had macfuse installed? You have rvm too, so what
do you need from ports?

If you want to go down that path, homebrew is a much better option IMHO.

Lou

I thought maybe I'm missing a library that the system could use at
compiletime since it's borking while installing dependencies.

However, even though I use `rvm use 1.8.7' when I run the install it
gives me an error :
Gem files will remain installed in
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0 for
inspection.
Results logged to
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0/ext/gem_make.out
Results logged to
/Users/catalino/.rvm/gems/ruby-1.9.2-p136/gems/fusefs-osx-0.7.0/ext/gem_make.out

it appears when I attempt to install and compile the gem it uses ruby
1.9.2, which obviously borks.

-Catalino

On Sun, Jun 26, 2011 at 9:47 PM, ljsc
reply@reply.github.com
wrote:

On Sun, Jun 26, 2011 at 8:03 PM, ccuadrado
reply@reply.github.com
wrote:

Gonna install fink and macports when i get home.

For what? I've only heard painful stories about both.

I thought you already had macfuse installed? You have rvm too, so what
do you need from ports?

If you want to go down that path, homebrew is a much better option IMHO.

Lou

Reply to this email directly or view it on GitHub:
#5 (comment)

Running gcc -v gives me
harry-potter:examples catalino$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

On Sun, Jun 26, 2011 at 10:24 PM, Catalino Cuadrado ccuadrado@gmail.com wrote:

I thought maybe I'm missing a library that the system could use at
compiletime since it's borking while installing dependencies.

However, even though I use `rvm use 1.8.7' when I run the install it
gives me an error :
Gem files will remain installed in
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0 for
inspection.
Results logged to
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0/ext/gem_make.out
Results logged to
/Users/catalino/.rvm/gems/ruby-1.9.2-p136/gems/fusefs-osx-0.7.0/ext/gem_make.out

it appears when I attempt to install and compile the gem it uses ruby
1.9.2, which obviously borks.

-Catalino

On Sun, Jun 26, 2011 at 9:47 PM, ljsc
reply@reply.github.com
wrote:

On Sun, Jun 26, 2011 at 8:03 PM, ccuadrado
reply@reply.github.com
wrote:

Gonna install fink and macports when i get home.

For what? I've only heard painful stories about both.

I thought you already had macfuse installed? You have rvm too, so what
do you need from ports?

If you want to go down that path, homebrew is a much better option IMHO.

Lou

Reply to this email directly or view it on GitHub:
#5 (comment)

rvm gem list gives me the list below. Is it normal to have 4 gem
lists? Could that be causing the problem?
harry-potter:examples catalino$ rvm gem list

*** LOCAL GEMS ***

fusefs (0.7.0)
fusefs-osx (0.7.0)
json (1.5.3)
rake (0.9.2)

*** LOCAL GEMS ***

fusefs (0.7.0)
json (1.5.3)
mysql (2.8.1)
rake (0.8.7)
rubygems-update (1.4.2)

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.3, 3.0.1)
actionpack (3.0.3, 3.0.1)
activemodel (3.0.3, 3.0.1)
activerecord (3.0.3, 3.0.1)
activeresource (3.0.3, 3.0.1)
activesupport (3.0.3, 3.0.1)
arel (2.0.6, 1.0.1)
bcrypt-ruby (2.1.4)
builder (2.1.2)
bundler (1.0.7)
devise (1.1.5)
devise_ldap_authenticatable (0.4.4)
erubis (2.6.6)
formtastic (1.2.0)
fusefs (0.7.0)
i18n (0.5.0, 0.4.1)
json (1.5.3)
mail (2.2.14, 2.2.7)
mime-types (1.16)
mysql (2.8.1)
net-ldap (0.1.1)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.7, 0.5.6)
rails (3.0.3, 3.0.1)
railties (3.0.3, 3.0.1)
rake (0.8.7)
rubygems-update (1.4.2)
sqlite3-ruby (1.3.1)
thor (0.14.6, 0.14.3)
treetop (1.4.9, 1.4.8)
tzinfo (0.3.23)
warden (1.0.3)

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0.rc2)
actionpack (3.0.0.rc2)
activemodel (3.0.0.rc2)
activerecord (3.0.0.rc2)
activeresource (3.0.0.rc2)
activesupport (3.0.0.rc2)
arel (1.0.0.rc1)
builder (2.1.2)
bundler (1.0.0.rc.6)
erubis (2.6.6)
fusefs (0.7.0)
i18n (0.4.2)
json (1.5.3)
mail (2.2.12)
mime-types (1.16)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.6)
rails (3.0.0.rc2)
railties (3.0.0.rc2)
rake (0.8.7)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.23)
harry-potter:examples catalino$

On Sun, Jun 26, 2011 at 10:28 PM, Catalino Cuadrado ccuadrado@gmail.com wrote:

Running gcc -v gives me
harry-potter:examples catalino$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

On Sun, Jun 26, 2011 at 10:24 PM, Catalino Cuadrado ccuadrado@gmail.com wrote:

I thought maybe I'm missing a library that the system could use at
compiletime since it's borking while installing dependencies.

However, even though I use `rvm use 1.8.7' when I run the install it
gives me an error :
Gem files will remain installed in
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0 for
inspection.
Results logged to
/Users/catalino/.rvm/gems/ruby-head/gems/fusefs-osx-0.7.0/ext/gem_make.out
Results logged to
/Users/catalino/.rvm/gems/ruby-1.9.2-p136/gems/fusefs-osx-0.7.0/ext/gem_make.out

it appears when I attempt to install and compile the gem it uses ruby
1.9.2, which obviously borks.

-Catalino

On Sun, Jun 26, 2011 at 9:47 PM, ljsc
reply@reply.github.com
wrote:

On Sun, Jun 26, 2011 at 8:03 PM, ccuadrado
reply@reply.github.com
wrote:

Gonna install fink and macports when i get home.

For what? I've only heard painful stories about both.

I thought you already had macfuse installed? You have rvm too, so what
do you need from ports?

If you want to go down that path, homebrew is a much better option IMHO.

Lou

Reply to this email directly or view it on GitHub:
#5 (comment)

soooo after uninstaling rvm, deleting all my gems, deleting everything else and reinstalling, I find the solution:

I have to put
require 'rubygems' at the beginning of every file.
FML. :(

Lol, that will do it. Rubygems is built into 1.9, and I have an bash alias

alias ruby = ruby -rubygems

=)

On Sun, Jun 26, 2011 at 11:36 PM, ccuadrado
reply@reply.github.com
wrote:

soooo after uninstaling rvm, deleting all my gems, deleting everything else and reinstalling, I find the solution:

I have to put
require 'rubygems' at the beginning of every file.
FML. :(

Reply to this email directly or view it on GitHub:
#5 (comment)

Lou