You are not logged in.

#1 2012-12-14 18:12:53

codingTornado
Member
Registered: 2011-11-25
Posts: 5

Problems installing aquaria

I'm trying to install the aquaria package from AUR and I'm getting some error messages I don't know how to work around.
I first had problems with makepkg not having a proper handler for file URLs, but I already fixed that by fixing the PKGBUILD so it won't need that, but now, while building aquaria I get the following log:

Scanning dependencies of target aquaria
[ 10%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AnimationEditor.cpp.o
[ 11%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AquariaComboBox.cpp.o
[ 12%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AquariaMenuItem.cpp.o
[ 12%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AquariaProgressBar.cpp.o
[ 13%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AquariaSaveSlot.cpp.o
[ 14%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/AutoMap.cpp.o
[ 14%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Avatar.cpp.o
[ 15%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Beam.cpp.o
[ 16%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/BitBlotLogo.cpp.o
[ 17%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/CollideEntity.cpp.o
[ 17%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Continuity.cpp.o
[ 18%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Credits.cpp.o
[ 19%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/CurrentRender.cpp.o
[ 19%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Demo.cpp.o
[ 20%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/DSQ.cpp.o
[ 21%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Element.cpp.o
[ 21%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Emote.cpp.o
[ 22%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Entity.cpp.o
[ 23%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/FlockEntity.cpp.o
[ 24%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Game.cpp.o
[ 24%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/GameplayVariables.cpp.o
[ 25%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/GasCloud.cpp.o
[ 26%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/GridRender.cpp.o
[ 26%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Hair.cpp.o
[ 27%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Ingredient.cpp.o
[ 28%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Intro.cpp.o
[ 29%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Logo.cpp.o
[ 29%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Main.cpp.o
[ 30%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ManaBall.cpp.o
[ 31%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/MiniMapRender.cpp.o
[ 31%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Mod.cpp.o
[ 32%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ModSelector.cpp.o
[ 33%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ModDownloader.cpp.o
[ 33%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Network.cpp.o
[ 34%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ParticleEditor.cpp.o
[ 35%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Path.cpp.o
[ 36%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/PathFinding.cpp.o
[ 36%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/PathRender.cpp.o
[ 37%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/RecipeMenuEntry.cpp.o
[ 38%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/SceneEditor.cpp.o
[ 38%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/SchoolFish.cpp.o
[ 39%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ScriptedEntity.cpp.o
[ 40%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/ScriptInterface.cpp.o
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp: In function ‘void compile_time_assertions()’:
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:366:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:366:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:366:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:366:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:367:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:367:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:367:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:367:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:368:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:368:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:368:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:368:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:369:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:369:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:369:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:369:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:370:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:370:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:370:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:370:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:371:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:371:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:371:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:371:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:372:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:372:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:372:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:372:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:373:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:373:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:373:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:373:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:374:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:374:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:374:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:374:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:375:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:375:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:375:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:375:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:376:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:376:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:376:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:376:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:377:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:377:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:377:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:377:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:378:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:378:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:378:2: warning: invalid access to non-static data member ‘ScriptObject::_objtype’  of NULL object [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:378:2: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp: In member function ‘lua_State* ScriptInterface::createLuaVM()’:
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:8783:30: error: ‘lua_open’ was not declared in this scope
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:8826:32: error: ‘LUA_GLOBALSINDEX’ was not declared in this scope
/tmp/yaourt-tmp-arktanis/aur-aquaria/src/fgenesis-Aquaria_clean-6f05249/Aquaria/ScriptInterface.cpp:8832:27: error: ‘LUA_GLOBALSINDEX’ was not declared in this scope
make[2]: *** [CMakeFiles/aquaria.dir/Aquaria/ScriptInterface.cpp.o] Error 1
make[1]: *** [CMakeFiles/aquaria.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I'm not really sure what is going on, since before getting this new computer I had no problems installing this game. Maybe there is some dependencies missing?

Thank you for your help

Offline

#2 2012-12-14 18:22:20

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: Problems installing aquaria

What version of lua does this game depend on? There are two in the repos now, the new 5.2 as 'lua' package, and the 5.1 as 'lua51'. Try installing the old one and see if it changes anything.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2012-12-14 18:39:06

codingTornado
Member
Registered: 2011-11-25
Posts: 5

Re: Problems installing aquaria

I have both versions installed and it gives me that same error.
According to AUR it depends on lua and not lua51

Offline

#4 2012-12-14 19:32:27

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,975

Re: Problems installing aquaria

The AUR package hasn't been updated since the switch; when it was made, "lua" meant 5.1. According to the readme, it requires 5.1.
Simply installing lua51 doesn't mean the build will use it. The 5.1 pkgconfig file and binaries have been renamed to not conflict with 5.2.

In short, you should post your error in the comments for the package so the maintainer can see it and fix it.

Offline

#5 2012-12-14 20:51:03

codingTornado
Member
Registered: 2011-11-25
Posts: 5

Re: Problems installing aquaria

Ok, thank you very much. I will do as you say

Offline

Board footer

Powered by FluxBB