can't compile hedgewars 0.9.13 on ubuntu 9.04

6 replies [Last post]
volodyuka
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 4

hi, I can't compile hedgewars 0.9.13 on ubuntu 9.04

[ 1%] Generating qrc_hedgewars.cxx
[ 2%] Generating moc_game.cxx
[ 3%] Generating moc_hats.cxx
[ 4%] Generating moc_hwform.cxx
[ 4%] Generating moc_teamselect.cxx
[ 5%] Generating moc_teamselhelper.cxx
[ 6%] Generating moc_frameTeam.cxx
[ 7%] Generating moc_vertScrollArea.cxx
[ 8%] Generating moc_gameuiconfig.cxx
[ 9%] Generating moc_gamecfgwidget.cxx
[ 9%] Generating moc_pages.cxx
[ 10%] Generating moc_SquareLabel.cxx
[ 11%] Generating moc_hedgehogerWidget.cxx
[ 12%] Generating moc_hwmap.cxx
[ 13%] Generating moc_mapContainer.cxx
[ 14%] Generating moc_tcpBase.cxx
[ 14%] Generating moc_about.cxx
[ 15%] Generating moc_proto.cxx
[ 16%] Generating moc_fpsedit.cxx
[ 17%] Generating moc_netserver.cxx
[ 18%] Generating moc_newnetclient.cxx
[ 19%] Generating moc_netudpserver.cxx
[ 19%] Generating moc_netudpwidget.cxx
[ 20%] Generating moc_netregister.cxx
[ 21%] Generating moc_netserverslist.cxx
[ 22%] Generating moc_chatwidget.cxx
[ 23%] Generating moc_SDLs.cxx
[ 24%] Generating moc_playrecordpage.cxx
[ 24%] Generating moc_selectWeapon.cxx
[ 25%] Generating moc_itemNum.cxx
[ 26%] Generating moc_input_ip.cxx
[ 27%] Generating moc_igbox.cxx
[ 28%] Generating moc_weaponItem.cxx
[ 29%] Generating moc_statsPage.cxx
[ 29%] Generating moc_misc.cxx
[ 30%] Generating moc_ammoSchemeModel.cxx
[ 31%] Generating moc_togglebutton.cxx
[ 32%] Generating moc_bgwidget.cxx
Scanning dependencies of target hedgewars
[ 32%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/game.cpp.o
[ 33%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/main.cpp.o
[ 34%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/hwform.cpp.o
[ 35%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/team.cpp.o
[ 36%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/namegen.cpp.o
[ 37%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/teamselect.cpp.o
[ 37%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/teamselhelper.cpp.o
[ 38%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/frameTeam.cpp.o
[ 39%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/vertScrollArea.cpp.o
[ 40%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/gameuiconfig.cpp.o
[ 41%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/ui_hwform.cpp.o
[ 42%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/gamecfgwidget.cpp.o
[ 42%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/pages.cpp.o
[ 43%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/SquareLabel.cpp.o
[ 44%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/hats.cpp.o
[ 45%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/hedgehogerWidget.cpp.o
[ 46%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/hwmap.cpp.o
[ 47%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/mapContainer.cpp.o
[ 47%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/tcpBase.cpp.o
[ 48%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/about.cpp.o
[ 49%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/proto.cpp.o
[ 50%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/fpsedit.cpp.o
[ 51%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/netserver.cpp.o
[ 52%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/newnetclient.cpp.o
[ 52%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/netudpserver.cpp.o
[ 53%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/netudpwidget.cpp.o
[ 54%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/netregister.cpp.o
[ 55%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/netserverslist.cpp.o
[ 56%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/chatwidget.cpp.o
[ 57%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/binds.cpp.o
[ 57%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/SDLs.cpp.o
[ 58%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/playrecordpage.cpp.o
[ 59%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/hwconsts.cpp.o
[ 60%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/selectWeapon.cpp.o
[ 61%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/itemNum.cpp.o
[ 62%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/input_ip.cpp.o
[ 62%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/igbox.cpp.o
[ 63%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/weaponItem.cpp.o
[ 64%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/statsPage.cpp.o
[ 65%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/misc.cpp.o
[ 66%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/ammoSchemeModel.cpp.o
[ 67%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/togglebutton.cpp.o
[ 67%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/bgwidget.cpp.o
[ 68%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_game.cxx.o
[ 69%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_hats.cxx.o
[ 70%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_hwform.cxx.o
[ 71%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_teamselect.cxx.o
[ 72%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_teamselhelper.cxx.o
[ 72%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_frameTeam.cxx.o
[ 73%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_vertScrollArea.cxx.o
[ 74%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_gameuiconfig.cxx.o
[ 75%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_gamecfgwidget.cxx.o
[ 76%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_pages.cxx.o
[ 77%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_SquareLabel.cxx.o
[ 77%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_hedgehogerWidget.cxx.o
[ 78%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_hwmap.cxx.o
[ 79%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_mapContainer.cxx.o
[ 80%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_tcpBase.cxx.o
[ 81%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_about.cxx.o
[ 82%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_proto.cxx.o
[ 82%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_fpsedit.cxx.o
[ 83%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_netserver.cxx.o
[ 84%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_newnetclient.cxx.o
[ 85%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_netudpserver.cxx.o
[ 86%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_netudpwidget.cxx.o
[ 87%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_netregister.cxx.o
[ 87%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_netserverslist.cxx.o
[ 88%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_chatwidget.cxx.o
[ 89%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_SDLs.cxx.o
[ 90%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_playrecordpage.cxx.o
[ 91%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_selectWeapon.cxx.o
[ 92%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_itemNum.cxx.o
[ 92%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_input_ip.cxx.o
[ 93%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_igbox.cxx.o
[ 94%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_weaponItem.cxx.o
[ 95%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_statsPage.cxx.o
[ 96%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_misc.cxx.o
[ 97%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_ammoSchemeModel.cxx.o
[ 97%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_togglebutton.cxx.o
[ 98%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/moc_bgwidget.cxx.o
[ 99%] Building CXX object QTfrontend/CMakeFiles/hedgewars.dir/qrc_hedgewars.cxx.o
Linking CXX executable ../bin/hedgewars
[ 99%] Built target hedgewars
Scanning dependencies of target hwengine
[ 99%] Generating ../bin/hwengine
Free Pascal Compiler version 2.2.2-8 [2009/01/08] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling /home/volodyuka/hedgewars-src-0.9.13/hedgewars/hwengine.pas
Compiling SDLh.pas
Compiling uConsts.pas
Compiling uFloat.pas
Compiling uConsts.pas
Compiling uLocale.pas
Compiling uMisc.pas
Compiling uConsts.pas
Compiling uConsole.pas
Compiling uStore.pas
Compiling uTeams.pas
Compiling uKeys.pas
Compiling uTeams.pas
Compiling uGears.pas
Compiling uWorld.pas
Compiling uRandom.pas
Compiling uStore.pas
Compiling uTeams.pas
Compiling uStats.pas
Compiling uTeams.pas
Compiling uVisualGears.pas
Compiling uStore.pas
Compiling uTeams.pas
Compiling uCollisions.pas
Compiling uLand.pas
Compiling uLandTemplates.pas
Compiling uStore.pas
Compiling uTeams.pas
Compiling uSound.pas
Compiling uAI.pas
Compiling uAIMisc.pas
Compiling uAIAmmoTests.pas
Compiling uAIActions.pas
Compiling uAmmos.pas
Compiling uChat.pas
Compiling uStore.pas
Compiling uLandObjects.pas
Compiling uSHA.pas
Compiling uIO.pas
Compiling uLandTexture.pas
Compiling uLandGraphics.pas
Compiling uScript.pas
Compiling LuaPas.pas
Compiling uGame.pas
Linking ../bin/hwengine
/usr/bin/ld: cannot find -llua.a
hwengine.pas(595,1) Error: Error while linking
hwengine.pas(595,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
make[2]: *** [bin/hwengine] Ошибка 1
make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Ошибка 2
make: *** [all] Ошибка 2

sorry for my bad english

nemo
nemo's picture
User offline. Last seen 3 weeks 1 day ago. Offline
Joined: 2009-01-28
Posts: 1861

sudo apt-get install liblua5.1-dev

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

volodyuka
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 4

Unfortunately it did not solve the problem =(

K.d.E.
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2009-09-16
Posts: 4

See here, last lines fixed this:

http://www.hedgewars.org/node/2040

volodyuka
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 4

sorry, but i don't understand, this is a joke?

Smaxx
Smaxx's picture
User offline. Last seen 12 years 50 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

Open /hedgewars/config.inc within your source directory.

Find the line with "cLuaLibrary = 'lua.a'" and edit the text in quotes to be "lua" instead of "lua.a" (i.e. remove the ".a").

volodyuka
User offline. Last seen 14 years 3 weeks ago. Offline
Joined: 2010-04-04
Posts: 4

Oh, thanks a lot)

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]