scottdraves / electricsheep

infinite evolving crowdsourced artwork
http://electricsheep.org
553 stars 70 forks source link

Compiling on Fedora, Lua not found (even though it's installed and is version 5.3) #63

Open tclokie opened 6 years ago

tclokie commented 6 years ago

When I run ./configure on my computer (which runs Fedora), I run into the following error:

checking for AVCODEC... yes
checking for avcodec_decode_video2 in -lavcodec... yes
checking for AVFORMAT... yes
checking for av_open_input_file in -lavformat... no
checking for SWSCALE... yes
checking for AVUTIL... yes
checking for LUA... no
checking for LUA... no
configure: error: Package requirements (lua >= 5.1) were not met:

No package 'lua' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA_CFLAGS
and LUA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

However, when I run lua -v I get the message: Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio.

So it doesn't seem to be able to find/recognize my version of Lua (and also av_open_input_file in -lavformat?). Any idea why?

almereyda commented 6 years ago

Please check #46 for how people circumvent this.