Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42197 closed defect (fixed)

boswars 2.6.1 fails to compile with lua 5.2

Reported by: mschaaf@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), SickTeddyBear
Port: boswars

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This is the error:

:info:build engine/ai/ai.cpp: In function 'void AiExecuteScript()':
:info:build engine/ai/ai.cpp:160: error: 'LUA_GLOBALSINDEX' was not declared in this scope

There is a patch from fedora http://web.archiveorange.com/archive/v/NUQmuzfEW27NeGJ82aVD

bugreport in boswars http://savannah.nongnu.org/bugs/?40645

Change History (6)

comment:1 Changed 10 years ago by mschaaf@…

I got it to compile by activating the previous 5.1 version with:

sudo port activate lua@5.1.4_4
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: boswars added

comment:3 Changed 10 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:4 Changed 10 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned
Version: 2.2.1

FYI, I'm just finishing an update of this port to version 2.7 which should solve this problem. Taking a note from Fedora 20, the updated version will depend on lua51 since doing otherwise would require tolua++ to be fixed to work with lua 5.2.

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Summary: boswars 2.6.1 fails to compile with lua 2.2boswars 2.6.1 fails to compile with lua 5.2

comment:6 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

boswars updated to version 2.7 in r121069, depends on lua51, installs fixed images rebuilt for libpng16

Last edited 10 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.