Wednesday, 2011-12-14

*** tpb has joined #freeorion00:00
*** VargaD has quit IRC00:02
*** manteman has quit IRC00:33
*** manteman has joined #freeorion00:48
*** __alex has joined #freeorion01:56
mantemanok now it compiles until 100% but i get a ld error with GLU02:07
GeofftheMediohttp://www.freeorion.org/forum/viewtopic.php?p=48362#p4836202:08
tpb<http://ln-s.net/9Rc-> (at www.freeorion.org)02:08
mantemanexact02:08
*** le_ has joined #freeorion03:14
le_hello03:14
GeofftheMediohi...03:18
le_sorry03:31
le_internet went down03:31
GeofftheMediommhmm03:31
le_I'm tried to compile FreeOrion under ArchLinux03:32
le_this is what i got03:32
le_[ 53%] Building CXX object CMakeFiles/parse_static.dir/parse/ShipPartsParser.cpp.o03:32
le_In file included from /usr/include/boost/spirit/home/phoenix/core.hpp:13:0,03:32
le_from /usr/include/boost/spirit/include/phoenix_core.hpp:14,03:32
le_from /usr/include/boost/spirit/home/support/terminal.hpp:16,03:32
le_from /usr/include/boost/spirit/home/support/common_terminals.hpp:15,03:32
le_from /usr/include/boost/spirit/home/lex/lexer/terminals.hpp:13,03:32
le_from /usr/include/boost/spirit/home/lex/lexer.hpp:13,03:33
le_from /usr/include/boost/spirit/home/lex.hpp:13,03:33
le_from /usr/include/boost/spirit/home/lex/lexer_lexertl.hpp:15,03:33
le_from /usr/include/boost/spirit/include/lex_lexertl.hpp:16,03:33
le_from /usr/include/GG/LexerFwd.h:34,03:33
le_from /tmp/yaourt-tmp-le/aur-freeorion-svn/src/freeorion-build/parse/Lexer.h:7,03:33
le_from /tmp/yaourt-tmp-le/aur-freeorion-svn/src/freeorion-build/parse/Double.h:5,03:33
le_from /tmp/yaourt-tmp-le/aur-freeorion-svn/src/freeorion-build/parse/ShipPartsParser.cpp:3:03:33
le_/usr/include/boost/spirit/home/phoenix/core/actor.hpp:15:3: error: #error BOOST_RESULT_OF_NUM_ARGS  PHOENIX_ACTOR_LIMIT03:33
le_make[2]: *** [CMakeFiles/parse_static.dir/parse/ShipPartsParser.cpp.o] Error 103:33
le_make[1]: *** [CMakeFiles/parse_static.dir/all] Error 203:33
le_make: *** [all] Error 203:33
le_== ERROR: A failure occurred in build().03:33
le_Aborting...03:33
GeofftheMedionever seen that before03:34
le_someone said its because of boost03:35
GeofftheMedioit's a error in the boost code, yes03:35
le_ freeorion does not currently compile with boost 1.48.0. he said03:36
GeofftheMediocould be; I haven't tried it03:36
le_ok03:36
le_just to let you know :)03:36
le_next time should i go to sourceforge to post this kind of issue?03:37
GeofftheMedioor the forums03:37
le_ok03:37
le_i find kind of annoying having to register for posting a bug or issue03:37
GeofftheMedioI think you can post on sourceforge withou tregistering03:38
le_later i maybe join the community :)03:38
GeofftheMedioon forums, it's necessary due to spam posting03:38
le_No plans to rep on GitHub?03:38
GeofftheMediono03:38
le_ok, can you tell me why?03:39
GeofftheMediono reason to change; subversion works fine03:39
GeofftheMediosomeone mirrors I though, I think03:39
GeofftheMediohttps://github.com/freeorion/freeorion03:39
tpbTitle: freeorion/freeorion - GitHub (at github.com)03:39
le_i see03:40
le_well i suggested because of the issue tracker and wiki provided by GitHub03:40
GeofftheMediowe already have a wiki and issue tracker03:41
le_now i know that03:41
le_ok, ill wait some time03:41
le_then i'll post this problem on the issue tracker03:42
mantemanomg it seems to work ;) thank you GeofftheMedio03:42
GeofftheMediowhat did you change?03:42
mantemanwas a bit tricky to get the -lgl and -lglu in the cache file because of my pacman build system, (it removed all changes in svn) but i paused it after cmake and insertet the libs before the make, so the package was build03:43
GeofftheMedioIf you could post to that thread about what you needed to do, it might be helpful for someone else03:44
mantemanit's most archlinux specific i will post it in there so the maintainer can adapt the cmake lists,03:45
GeofftheMedioI've seen several people posting about archlinux builds in the last few days, so it would still be useful03:45
mantemanone thing is still strange, ... earlier i downgraded boost from 1.48 to 1.47 that did the trick, but now after the successfull build there was still a reference to libboost_thread.so.1.48.0 => not found03:47
mantemanwhich i copied from the newer bin package directly in the lib dir, not very nice but seems to work03:47
GeofftheMedioif you built one of the dependencies against 1.48, it might still be linked in03:48
mantemanline #35 don't know where this came from http://pastebin.com/WeYi6Sye03:48
tpbTitle: ldd freeorion - Pastebin.com (at pastebin.com)03:48
mantemanyeah03:49
mantemanbut i am too tiered to figure that out03:49
mantemani think its one of the arch packages, not one of my own's03:49
mantemanso i will do a short comment in the arch aur package03:50
le_hey, another awesome linux game you can suggest?03:58
GeofftheMedioopenttd, wesnoth, minecraft (I think?)...04:01
le_have wesnoth04:02
le_need to check openttd :D04:02
le_hope to see amazing games made with Doom3 source code04:09
le_now that's GPL04:09
GeofftheMediommhmm04:09
*** STalKer-Y has joined #freeorion04:14
*** STalKer-X has quit IRC04:14
mantemanso i am off, thanks for the assistance04:19
*** manteman has quit IRC04:22
*** le_ has quit IRC04:27
*** tpb has joined #freeorion06:19
*** VargaD has joined #freeorion09:07
*** __alex has quit IRC09:33
*** StrangerDanger has joined #freeorion12:06
*** manteman has joined #freeorion12:24
*** manteman has quit IRC12:36
*** manteman has joined #freeorion12:41
*** arguser has joined #freeorion16:04
arguserHello16:04
arguserIm getting this error:16:04
arguser[100%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/util/VarText.cpp.o16:04
arguserLinking CXX executable ../../freeorion16:05
arguser/usr/bin/ld: CMakeFiles/freeorion.dir/__/__/UI/SidePanel.cpp.o: undefined reference to symbol 'gluQuadricOrientation'16:05
arguser/usr/bin/ld: note: 'gluQuadricOrientation' is defined in DSO /usr/lib/libGLU.so.1 so try adding it to the linker command line16:05
arguser/usr/lib/libGLU.so.1: could not read symbols: Invalid operation16:05
argusercollect2: ld returned 1 exit status16:05
argusermake[2]: *** [freeorion] Error 116:05
argusermake[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 216:05
argusermake: *** [all] Error 216:05
arguserany ideas about a possible workaround?16:07
argusertrying with svn version on AUR16:24
mantemanhehe16:47
mantemanyeah16:47
mantemanwatch the first comment https://aur.archlinux.org/packages.php?ID=2087016:49
tpbTitle: AUR (en) - freeorion-svn (at aur.archlinux.org)16:50
*** theTroy has quit IRC16:50
manteman@ arguser16:51
argusermanteman: reading16:52
argusermanteman: any chance to make it without the sleep?16:53
argusermanteman: its already at 70%16:53
argusermanteman: :P16:53
mantemansure16:54
mantemanwith some bash script? i don't know where to apply such cmake parameter before in cmakelists,16:55
arguserso far i downgraded boost and boost-libs16:58
arguserrebuild gigi (no svn version)16:58
mantemanthe rest is just the a linking issue16:58
arguserim on that now16:59
mantemanso16:59
arguserdo you know how should i fix that issue?17:00
mantemanfor me it  worked, inveted "sleep method between cmake and make" last late night. so i know it's ugly but worked.17:00
arguserpaste again17:00
arguser/usr/bin/ld: CMakeFiles/freeorion.dir/__/__/UI/SidePanel.cpp.o: undefined reference to symbol 'gluQuadricOrientation'17:00
arguser/usr/bin/ld: note: 'gluQuadricOrientation' is defined in DSO /usr/lib/libGLU.so.1 so try adding it to the linker command line17:00
arguser/usr/lib/libGLU.so.1: could not read symbols: Invalid operation17:00
argusercollect2: ld returned 1 exit status17:00
argusermake[2]: *** [freeorion] Error 117:00
argusermake[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 217:00
argusermake: *** [all] Error 217:01
mantemanthis is the CMakesCache.txt from the build process17:01
manteman//Flags used by the compiler during all build types.17:01
mantemanCMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 '17:01
mantemanline 152, there i added the -lGL and lGLU parameter17:01
arguserdid that17:01
mantemanfreeorion-svn]$ vim src/freeorion-build/CMakeCache.txt17:02
mantemanlike this, after edit $ fg17:02
mantemanand make should run17:02
mantemanthe CMakeCache is ovewritten eache time you start makepkg in case of this script the whole directory is deleted17:02
mantemanthats why i did it right between cmake and make17:03
arguseri see17:04
arguserabout the $ fg part17:04
arguserdon't know how to apply that17:04
mantemanits just unix jobs17:04
mantemantype jobs17:04
mantemanu see that makepkg is paused17:05
manteman fg17:05
mantemangets it back in foreground17:05
arguserok17:07
argusergoin to try again17:07
mantemansould look like this17:07
manteman-- Build files have been written to: /home/aur/freeorion-svn/src/freeorion-build17:07
manteman^Z17:07
manteman[1]+  Angehalten              makepkg -f17:07
manteman[michi@FensterZumHof freeorion-svn]$ vim src/freeorion-build/CMakeCache.txt17:07
manteman[michi@FensterZumHof freeorion-svn]$ fg17:07
mantemanmakepkg -f17:07
arguserim checking how to append with bash17:11
argusermaybe useful in pkgbuild17:12
mantemanyes17:12
mantemandid it work?17:13
arguserhahaha17:13
arguserdidn try it yet17:13
arguserim not a zen hacker yet17:13
*** theTroy has joined #freeorion17:18
arguserwhat about17:36
argusersed -i "s/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 '/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '/g" $fielehere17:37
arguser< sed -i "s/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 '/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '/g" $fielehere17:37
argusersorry about the flood17:37
arguserso this17:38
argusersed -i "s/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 '/CMAKE_CXX_FLAGS:STRING='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '/g" $filehere17:38
argusershould be a better way17:38
arguserbut i don't know much of that17:38
arguserthat would replace the line and add -lGL -GLU17:38
argusermanteman: you there?17:42
mantemanyeah17:42
argusermanteman: how do i fix the linking issue?17:42
mantemanit compiled successfull`17:44
manteman?17:44
arguserits building17:45
arguserwill tell when its don17:46
arguserdone17:46
mantemani'm curious if you are getting the libboost-thread.so.1.148 is missing error,17:47
arguserdid you passed that one?17:54
mantemanit's my comment17:54
arguseri cp boost-lib like you said17:54
manteman;)17:54
mantemanand it worked17:55
arguserin a moment i should see if sed command worked17:56
mantemani should get some more  practice with sed and awk in the future ;)17:57
mantemanyour sed worked for me18:00
arguserawesome18:02
arguserwhat i really wanted to do at first was to put -lGL -lGLU between d_FORTIFY_SOURCE and '18:03
arguseron that specific line18:03
arguserbut din't know how18:03
arguserso i choosed to replace the entire line18:03
arguser:P18:03
mantemanlet's hope that whoever builds it have the same CMAKE_CXX_FLAGS  ;)18:05
arguserexactly!18:05
arguserwhat did you use on $file <-18:10
arguserwhen addesd seed18:10
arguserooh18:10
argusernothing, error just popup18:10
manteman?18:11
manteman-D_FORTIFY_SOURCE=2 -lGL -lGLU '/g" CMakeCache.txt18:12
arguserim doing it with yaourt18:12
arguseri used $srcdir/CMakeCache.txt18:13
arguserbut it should have used18:13
arguser$srcdir/$pkgname-build/CMakeCache.txt18:13
mantemani think so18:14
arguserall over again ._.18:14
mantemanbut18:14
mantemanu are all ready in that directory18:14
mantemanmy BUILD file looks like this18:15
mantemanhttp://pastebin.com/8tmZQBti18:15
tpbTitle: [Bash] # Maintainer: guini # Contributor: Forrest Loomis (at pastebin.com)18:15
argusersed: can't read /tmp/yaourt-tmp-le/aur-freeorion/src/CMakeCache.txt: No such file or direc18:15
mantemanah18:15
mantemanok18:16
mantemanin line 49 : cd "$srcdir/$_svnmod-build"  ...18:16
mantemanwich aur build are u using?18:17
arguserboth gave me same erros18:17
arguserso any of those18:18
argusernow its building18:18
arguserno svn i think18:18
arguseri hate it take so long18:24
mantemanwhat kind of cpu?18:24
arguseri518:25
mantemanmake -j 4 should save time18:25
arguserthis should be ignored right ? /tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In constructor ‘PopulationPanel::PopulationPanel(GG::X, int)’:18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:266:11: warning: variable ‘top’ set but not used [-Wunused-but-set-variable]18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘virtual void PopulationPanel::Render()’:18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:390:12: warning: variable ‘cl_ul’ set but not used [-Wunused-but-set-variable]18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:391:12: warning: variable ‘cl_lr’ set but not used [-Wunused-but-set-variable]18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘void PopulationPanel::Update()’:18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:437:51: warning: variable ‘owner’ set but not used [-Wunused-but-set-variable]18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘virtual void ResourcePanel::Render()’:18:37
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:715:12: warning: variable ‘cl_ul’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:716:12: warning: variable ‘cl_lr’ set but not used [-Wunused-but-set-variable]18:38
mantemanyeah just warnings ;)18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘virtual void MilitaryPanel::Render()’:18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1072:12: warning: variable ‘cl_ul’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1073:12: warning: variable ‘cl_lr’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘virtual void BuildingsPanel::Render()’:18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1623:12: warning: variable ‘cl_ul’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1624:12: warning: variable ‘cl_lr’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘void BuildingsPanel::Update()’:18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1733:16: warning: unused variable ‘partial_turn’ [-Wunused-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp: In member function ‘virtual void BuildingIndicator::Render()’:18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1895:12: warning: variable ‘cl_ul’ set but not used [-Wunused-but-set-variable]18:38
arguser/tmp/yaourt-tmp-le/aur-freeorion/src/freeorion-build/UI/InfoPanels.cpp:1896:12: warning: variable ‘cl_lr’ set but not used [-Wunused-but-set-variable]18:38
mantemanright18:40
arguserAWESOME!18:43
arguserso steps are:18:44
arguser1 downgrade boost boost-libs18:44
arguser2 add sed between make and cmake18:44
arguser3 cp boots-libs 1.8 to usr/lib18:44
arguserless dirt to the issue18:45
mantemannice18:46
*** arguser has quit IRC18:59
*** le has joined #freeorion18:59
*** le is now known as arguser18:59
argusermanteman: going out to take some fresh air19:00
argusercya!19:00
mantemanbye19:00
*** arguser has quit IRC19:01
*** arguser has joined #freeorion19:03
arguserback19:03
arguserawesome news19:03
arguser                                                                                                                                                                              ArchLinux19:03
arguserFollowing into my basedir19:03
arguserCWD: /usr/share/freeorion19:03
arguserpython2.5 found. Using it.19:04
arguser/usr/bin/freeorion.elf: error while loading shared libraries: libboost_thread.so.1.48.0: cannot open shared object file: No such file or directory19:04
arguserany solution for that?19:04
mantemanja19:04
manteman$ cp  /var/cache/pacman/pkg/boost-libs-1.48.0-2-x86_64.pkg.tar.xz /tmp/19:07
manteman$ cd /tmp/19:07
manteman$ tar xvf boost-libs-1.48.0-2-x86_64.pkg.tar.xz19:07
manteman$ sudo cp usr/lib/libboost_thread.so.1.48.0 /usr/lib/19:07
arguservamos vamos19:07
mantemanah btw it's a good idea to add IgnorePkg   = boost boost-libs19:09
manteman to the pacman.conf for the near future19:09
arguserblist20:23
arguserD=20:23
argusersorry20:23
*** le has joined #freeorion20:24
*** arguser has left #freeorion20:24
*** le is now known as Guest8063020:25
Guest80630hi20:25
*** Guest80630 has left #freeorion20:26
*** arguser has joined #freeorion20:27
arguserhi20:27
argusermanteman: is it posible that boost-libs.1.48.0 doesn't need to be copied to /usr/lib ?20:27
mantemani copied only the libbost_thread.so.1.48.020:28
mantemanbut this could be some uniuqe system depency  for me20:29
*** theTroy has quit IRC22:12
CIA-14FreeOrion: geoffthemedio * r4518 /trunk/FreeOrion/UI/InfoPanels.cpp: Removed some unused variables.23:04
*** __alex has joined #freeorion23:36
*** arguser has quit IRC23:39
*** arguser has joined #freeorion23:39
*** VargaD has quit IRC23:44
*** arguser_ has joined #freeorion23:44
*** arguser has quit IRC23:46
*** StrangerDanger has quit IRC23:46
*** fdfdfd has joined #freeorion23:54

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!