Compiling on Fedora

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Locked
freegamer
Prole
Posts: 3
Joined: Sun Aug 17, 2008 11:05 pm

Compiling on Fedora

Post by freegamer »

I can't compile Love on Fedora.

Code: Select all

/usr/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status
I do have the lua 5.1 devel package installed. The header files seem to reside in /usr/include (confirmed by trying a find /usr -name lua* which only returns these).

Code: Select all

ls /usr/include/lua*
/usr/include/lualib.h
/usr/include/luaconf.h
/usr/include/lua.h
/usr/include/lua.hpp[
I modifed the Makefile to read:

Code: Select all

INCLUDE_LUA= -I/usr/include
But no dice (same error as before).
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Compiling on Fedora

Post by rude »

Hello.

I've heard that many distros use just -llua instead of -llua5.1. Have you tried changing LD_LUA to -llua?

On a related note, the autotools files have been done for some time (thanks tido). They'll be released with the next version.
freegamer
Prole
Posts: 3
Joined: Sun Aug 17, 2008 11:05 pm

Re: Compiling on Fedora

Post by freegamer »

Yay! That (-llua) worked! Cheers.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Compiling on Fedora

Post by rude »

I solved a Linux-related problem? Unpossible!
Locked

Who is online

Users browsing this forum: Google [Bot] and 145 guests