josefnpat / vapor

Vapor - LÖVE Distribution Client
zlib License
77 stars 24 forks source link

I am trying to run from the source and it fails (lib lf.lua) #181

Open mdtrooper opened 10 years ago

mdtrooper commented 10 years ago

Hi.

I have made a clone of repository and I am trying to run but it fails and show:

miguel@miguel-HP-Pavilion-dm4-Notebook-PC /tmp/vapor $ ./run.sh 
bf42d51
Updating '._temp.love' ...
  adding: assets/ (stored 0%)
  adding: assets/vapor_icon.png (stored 0%)
  adding: assets/overlay.png (deflated 0%)
  adding: assets/nogame.png (deflated 0%)
  adding: assets/logo.png (deflated 1%)
  adding: assets/fonts/ (stored 0%)
  adding: assets/fonts/Oswald-Light.ttf (deflated 44%)
  adding: assets/fonts/OFL.txt (deflated 56%)
  adding: assets/fonts/Oswald-Regular.ttf (deflated 47%)
  adding: assets/fonts/Oswald-Bold.ttf (deflated 46%)
  adding: assets/icons/ (stored 0%)
  adding: assets/icons/network-idle.png (stored 0%)
  adding: assets/icons/dialog-cancel.png (stored 0%)
  adding: assets/icons/emblem-web.png (stored 0%)
  adding: assets/icons/README (deflated 43%)
  adding: assets/icons/accessories-archiver.png (stored 0%)
  adding: assets/icons/network-receive.png (stored 0%)
  adding: assets/icons/go-next.png (stored 0%)
  adding: assets/icons/network-transmit.png (stored 0%)
  adding: assets/icons/DONATE (deflated 57%)
  adding: assets/icons/AUTHORS (deflated 35%)
  adding: assets/icons/hash-4.png (stored 0%)
  adding: assets/icons/applications-internet.png (stored 0%)
  adding: assets/icons/help-about-off.png (stored 0%)
  adding: assets/icons/hash-2.png (stored 0%)
  adding: assets/icons/network-transmit-receive.png (stored 0%)
  adding: assets/icons/system-software-update.png (stored 0%)
  adding: assets/icons/dialog-cancel-off.png (stored 0%)
  adding: assets/icons/hash-3.png (stored 0%)
  adding: assets/icons/COPYING (deflated 62%)
  adding: assets/icons/system-software-update-off.png (stored 0%)
  adding: assets/icons/help-about.png (stored 0%)
  adding: assets/icons/preferences-system.png (stored 0%)
  adding: assets/icons/hash-1.png (stored 0%)
  adding: conf.lua (deflated 26%)
  adding: core/ (stored 0%)
  adding: core/remote.lua (deflated 55%)
  adding: core/fonts.lua (deflated 40%)
  adding: core/ui.lua (deflated 77%)
  adding: core/async.lua (deflated 71%)
  adding: core/lang/ (stored 0%)
  adding: core/lang/meow.lua (deflated 55%)
  adding: core/lang/nl.lua (deflated 58%)
  adding: core/lang/pt_br.lua (deflated 57%)
  adding: core/lang/pl.lua (deflated 55%)
  adding: core/lang/fr.lua (deflated 59%)
  adding: core/lang/es.lua (deflated 59%)
  adding: core/lang/da.lua (deflated 57%)
  adding: core/lang/pt_pt.lua (deflated 58%)
  adding: core/lang/en.lua (deflated 61%)
  adding: core/lang/sv.lua (deflated 58%)
  adding: core/lang/de.lua (deflated 56%)
  adding: core/lang/ru.lua (deflated 58%)
  adding: core/lang/it.lua (deflated 59%)
  adding: core/vapor.lua (deflated 69%)
  adding: core/colors.lua (deflated 54%)
  adding: core/icons.lua (deflated 78%)
  adding: core/settings.lua (deflated 58%)
  adding: core/hash_thread.lua (deflated 49%)
  adding: games.json (deflated 73%)
  adding: git.lua (stored 0%)
  adding: lib/ (stored 0%)
  adding: lib/bslf/ (stored 0%)
  adding: lib/bslf/bit.lua (deflated 86%)
  adding: lib/bslf/utils.lua (deflated 67%)
  adding: lib/hash.lua (deflated 79%)
  adding: lib/gamestate.lua (deflated 54%)
  adding: lib/json/ (stored 0%)
  adding: lib/json/json.lua (deflated 72%)
  adding: lib/json/LICENSE (stored 0%)
  adding: main.lua (deflated 51%)
  adding: state_load.lua (deflated 62%)
  adding: state_vapor.lua (deflated 63%)
Error: state_load.lua:11: module 'lib/lf' not found:
    no file "lib/lf.lua" in LOVE game directories.

    no extension "lib/lf" in LOVE paths.

    no field package.preload['lib/lf']
    no file './lib/lf.lua'
    no file '/usr/local/share/lua/5.1/lib/lf.lua'
    no file '/usr/local/share/lua/5.1/lib/lf/init.lua'
    no file '/usr/local/lib/lua/5.1/lib/lf.lua'
    no file '/usr/local/lib/lua/5.1/lib/lf/init.lua'
    no file '/usr/share/lua/5.1/lib/lf.lua'
    no file '/usr/share/lua/5.1/lib/lf/init.lua'
    no file './lib/lf.so'
    no file '/usr/local/lib/lua/5.1/lib/lf.so'
    no file '/usr/lib/i386-linux-gnu/lua/5.1/lib/lf.so'
    no file '/usr/lib/lua/5.1/lib/lf.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'require'
    state_load.lua:11: in function 'start'
    state_load.lua:73: in function <state_load.lua:71>
    (tail call): ?
    (tail call): ?
    [string "boot.lua"]:407: in function <[string "boot.lua"]:373>
    [C]: in function 'xpcall'
josefnpat commented 10 years ago

Sorry, this is a bit buried: https://github.com/josefnpat/vapor/wiki/Building-Vapor

This relates to #93

If you have problems beyond this, feel free to reopen this ticket.

akien-mga commented 10 years ago

@josefnpat, Could you consider adding those build instructions in the git tree? Probably the README.md would be a good place, or you could have a BUILD file with those instructions.

I also ran into this issue, and hopefully I found this closed issue which solved mine :)

josefnpat commented 10 years ago

@akien-mageia Good point, I will re-open the ticket for that reasoning. [[selfie-placeholder-1]]