Building for Ubuntu 8.10 64-bit

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.
Post Reply
User avatar
Cean
Prole
Posts: 4
Joined: Sun Feb 28, 2010 7:37 pm
Location: Los Angeles
Contact:

Building for Ubuntu 8.10 64-bit

Post by Cean »

Howdy howdy,

The deb package on the homepage apparently doesn't work too well with 8.10, so I'm stuck with having to compile. I don't plan on upgrading to 9.10 because the last time I tried, bad things happened. But I won't go into that now.

"$ ./configure" works fine until it checks for lua:

Code: Select all

checking for library containing lua_pcall... no
configure: error: Can't LÖVE without Lua
"$ lua -v" returns:

Code: Select all

Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
How do I make 1 + 1 = 2?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Building for Ubuntu 8.10 64-bit

Post by bartbes »

Install the dev packages.

EDIT: In the repo there is a script to download all required packages for you. Here
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Building for Ubuntu 8.10 64-bit

Post by Robin »

My guess would be that you need some kind of dev package for Lua.

(Ninja'd)
Help us help you: attach a .love.
User avatar
Cean
Prole
Posts: 4
Joined: Sun Feb 28, 2010 7:37 pm
Location: Los Angeles
Contact:

Re: Building for Ubuntu 8.10 64-bit

Post by Cean »

Thank you. That was a very quick response.

Now bear with me. I'm right-brained.

./configure seems to work fine now. However, "$ make" returns:

Code: Select all

make  all-recursive
make[1]: Entering directory `/home/cean/love-0.6.1'
Making all in src
make[2]: Entering directory `/home/cean/love-0.6.1/src'
make[3]: Entering directory `/home/cean/love-0.6.1/src'
depbase=`echo modules/sound/lullaby/Mpg123Decoder.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -DHAVE_CONFIG_H   -I. -I./modules -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64   -g -O2 -MT modules/sound/lullaby/Mpg123Decoder.o -MD -MP -MF $depbase.Tpo -c -o modules/sound/lullaby/Mpg123Decoder.o modules/sound/lullaby/Mpg123Decoder.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
modules/sound/lullaby/Mpg123Decoder.cpp: In member function ‘int love::sound::lullaby::Mpg123Decoder::feed(int)’:
modules/sound/lullaby/Mpg123Decoder.cpp:206: error: ‘mpg123_feed’ was not declared in this scope
make[3]: *** [modules/sound/lullaby/Mpg123Decoder.o] Error 1
make[3]: Leaving directory `/home/cean/love-0.6.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cean/love-0.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cean/love-0.6.1'
make: *** [all] Error 2
I'm just going to be completely honest and admit that I have no idea what any of that means.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Building for Ubuntu 8.10 64-bit

Post by bartbes »

It means rude implemented a feature that I avoided in the original because it wasn't in the version that the ubuntu repo had. (9.10 has the new package)
User avatar
Cean
Prole
Posts: 4
Joined: Sun Feb 28, 2010 7:37 pm
Location: Los Angeles
Contact:

Re: Building for Ubuntu 8.10 64-bit

Post by Cean »

Ah, I see. Well I suppose love will have to wait until I can manage to get 9.10 working. Thanks again for your help.
giniu
Party member
Posts: 221
Joined: Mon Nov 30, 2009 4:44 pm

Re: Building for Ubuntu 8.10 64-bit

Post by giniu »

That's why I never liked ubuntu or other "versioned" operating systems, especially those that split binaries from headers - rolling release approach is lots better, nothing - like OS version - never stops you from upgrading :) Anyway - maybe you build your own package from source instead of changing whole OS version?
Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests