*** tpb has joined #freeorion | 00:00 | |
*** ChanServ sets mode: +o GeofftheMedio | 02:48 | |
*** hagish has joined #freeorion | 05:43 | |
*** malumalu has joined #freeorion | 05:55 | |
*** lizard_r has joined #freeorion | 06:03 | |
*** mithro has joined #freeorion | 07:15 | |
*** hagish has quit IRC | 07:33 | |
*** kroddnoMobil has joined #freeorion | 07:51 | |
*** mithro has quit IRC | 09:22 | |
kroddnoMobil | GeofftheMedio: after having read your forum posting 5 times and testing I know understand this --force-external-server command line parameter :-) | 11:19 |
---|---|---|
*** kroddnoMobil is now known as Gladiator | 11:57 | |
*** Gladiator is now known as kroddn|Gladiator | 11:57 | |
kroddn|Gladiator | freeoriond does not run on debian sarge with kernel 2.6.18 - boost seems to be incompatible with this kernel | 12:30 |
*** GeoffTheMedio2 has joined #freeorion | 12:35 | |
*** GeofftheMedio has quit IRC | 12:47 | |
*** lizard_r has left #freeorion | 13:26 | |
*** lizard_r has joined #freeorion | 13:53 | |
lizard_r | kroddn, I thought I could ping you via IRC since you are the "Compile"(forum) moderator. I have a problem and made a new post. | 13:57 |
kroddn|Gladiator | i'll have a look | 14:22 |
kroddn|Gladiator | lizard_r: ping | 14:23 |
lizard_r | hi | 14:23 |
*** UltraDM1 has joined #freeorion | 14:24 | |
UltraDM1 | Hi, anybody here? | 14:25 |
kroddn|Gladiator | I already reported that problem | 14:25 |
kroddn|Gladiator | wait, i'll have a look at my checkout | 14:25 |
lizard_r | Is there a way to solve that? | 14:25 |
kroddn|Gladiator | yes | 14:26 |
kroddn|Gladiator | its only a problem with the GG examples | 14:26 |
kroddn|Gladiator | the lib is okay, but the examples are not | 14:26 |
lizard_r | kroddn|Gladiator, can I disable the examples somehow | 14:28 |
kroddn|Gladiator | i don't exactly know | 14:28 |
lizard_r | I'll try scons GG | 14:29 |
kroddn|Gladiator | no | 14:29 |
UltraDM1 | One Q: As a former Stars! player I stumbled across Freeorion. Does FO support turn transmission via a file (transport e. g. via email)? | 14:29 |
kroddn|Gladiator | the problem is that the examples are linked with -lboost_signals and so on | 14:29 |
kroddn|Gladiator | but the libs are named boost_signals-mt e.g. | 14:29 |
kroddn|Gladiator | UltraDM1: no, it does not | 14:30 |
kroddn|Gladiator | lizard_r: where are your boost libs installed? | 14:30 |
kroddn|Gladiator | Do you use distribution packages? | 14:30 |
lizard_r | Yes | 14:31 |
kroddn|Gladiator | have a look at /usr/lib/libboost* | 14:32 |
UltraDM1 | What a pity, Would like to play with friends without setting up a public server. ... or is there a free public FO server to use somewhere? | 14:32 |
lizard_r | no, I'll seach for the folder | 14:32 |
kroddn|Gladiator | UltraDM1: not yet, but its a hot disscussion in the last few days: http://www.freeorion.org/forum/viewtopic.php?f=9&t=2449 | 14:34 |
tpb | <http://ln-s.net/2l:T> (at www.freeorion.org) | 14:34 |
kroddn|Gladiator | means: i want to work at a dedicated server mode | 14:34 |
kroddn|Gladiator | lizard_r: execute "vdir /usr/lib/libboost*" | 14:34 |
UltraDM1 | Thanks, Gladiator! | 14:34 |
kroddn|Gladiator | there should be a couple of boost libs | 14:34 |
lizard_r | yes | 14:35 |
*** kroddn|Gladiator is now known as kroddnoMobil | 14:35 | |
lizard_r | there is a lot of output | 14:35 |
*** ChanServ sets mode: +o kroddnoMobil | 14:35 | |
kroddnoMobil | lizard_r: please post one of the shortest ones libboost_filesystem | 14:36 |
lizard_r | -rw-r--r-- 1 root root 192100 15. Dez 13:08 /usr/lib/libboost_filesystem.a | 14:36 |
kroddnoMobil | hm | 14:37 |
kroddnoMobil | and one with so suffix? | 14:37 |
lizard_r | lrwxrwxrwx 1 root root 27 20. Dez 22:28 /usr/lib/libboost_filesystem-mt.so -> libboost_filesystem-mt.so.2 | 14:37 |
kroddnoMobil | /usr/lib/libboost_filesystem.so ? | 14:37 |
lizard_r | does that count | 14:37 |
kroddnoMobil | ah, okay | 14:37 |
kroddnoMobil | yes | 14:37 |
lizard_r | lrwxrwxrwx 1 root root 24 20. Dez 22:28 /usr/lib/libboost_filesystem.so -> libboost_filesystem.so.2 | 14:37 |
kroddnoMobil | hm | 14:37 |
kroddnoMobil | thats strange | 14:37 |
kroddnoMobil | the examples compile but do not link... very strange ^^ | 14:38 |
kroddnoMobil | did you try to install another boost? | 14:39 |
kroddnoMobil | maybe your system has two versions installed | 14:39 |
lizard_r | I think I have only one | 14:39 |
lizard_r | I never installed another one | 14:39 |
kroddnoMobil | does /usr/include/boost/filesystem/operations.hpp exist? | 14:40 |
lizard_r | yes, it does | 14:40 |
kroddnoMobil | is it the same date as the libs= | 14:41 |
kroddnoMobil | ? | 14:41 |
kroddnoMobil | 20. Dez 22:28 | 14:41 |
lizard_r | no, it is 15.dez 12:08 | 14:41 |
kroddnoMobil | vdir /usr/lib/libboost_filesystem.so.2 pls | 14:42 |
lizard_r | lrwxrwxrwx 1 root root 29 20. Dez 22:26 /usr/lib/libboost_filesystem.so.2 -> libboost_filesystem.so.1.34.1 | 14:42 |
kroddnoMobil | its an old version | 14:42 |
kroddnoMobil | you need 1.37 | 14:43 |
lizard_r | that is bad, since the reposity does not have them | 14:43 |
lizard_r | should I try the static binary intead | 14:43 |
kroddnoMobil | yes of course :-) | 14:43 |
kroddnoMobil | if you just want to play its the best solution | 14:44 |
kroddnoMobil | but lets see if we can fix that problem | 14:44 |
lizard_r | I thought I could save Downloadtime by only checking out each release ;-) | 14:44 |
kroddnoMobil | i have one idea | 14:45 |
kroddnoMobil | g++ -o minimal -pthread tutorial/minimal.o -L. -L/usr/lib -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU -lz -lfreetype -ljpeg -lpng -ltiff -lSDL -lpthread -lGiGi -lGiGiSDL -lboost_serialization -lboost_signals -lboost_system -lboost_filesystem -lboost_thread | 14:45 |
kroddnoMobil | please try that, maybe it links then | 14:45 |
lizard_r | no appearance of the word error | 14:46 |
kroddnoMobil | okay, than the problem is clear | 14:46 |
kroddnoMobil | äh | 14:47 |
kroddnoMobil | die reihenfolge is falsch ^^ | 14:47 |
kroddnoMobil | Drei deutsche, und wir reden englisch ^^ | 14:47 |
lizard_r | ist doch egal | 14:47 |
kroddnoMobil | kannste noch was probieren bitte | 14:47 |
lizard_r | woher weißt du das? | 14:47 |
kroddnoMobil | g++ -o minimal -pthread tutorial/minimal.o -L. -L/usr/lib -lGL -lGLU -lz -lfreetype -ljpeg -lpng -ltiff -lSDL -lpthread -lGiGi -lGiGiSDL -lboost_serialization -lboost_signals -lboost_system -lboost_filesystem -lboost_thread | 14:48 |
kroddnoMobil | woher weiß ich was? | 14:48 |
lizard_r | das ich deutsch bin | 14:48 |
kroddnoMobil | deine IP-adresse is irfgendwas mit de am ende | 14:48 |
lizard_r | ./libGiGi.so: undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group> const&, boost::any const&)' | 14:49 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::not_found_error()' | 14:49 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)' | 14:49 |
lizard_r | collect2: ld returned 1 exit status | 14:49 |
kroddnoMobil | ah, der gute Rolf is wesnoth fan? | 14:49 |
lizard_r | ja | 14:49 |
lizard_r | jetzt noch auf Gna!, meinen Nachnamen rausfinden... | 14:50 |
kroddnoMobil | naja | 14:50 |
kroddnoMobil | steht alles in deinem whois drin :-) | 14:50 |
kroddnoMobil | /whois lizard_r | 14:50 |
kroddnoMobil | http://www.freeorion.org/forum/viewtopic.php?f=24&t=2450&p=35043#p35043 <--- kannste dort noch kurz posten, dass der befehl klappt? | 14:50 |
tpb | <http://ln-s.net/2lA0> (at www.freeorion.org) | 14:51 |
kroddnoMobil | ich hab keinen zugriff auf GG, das muss jemand anders fixen | 14:51 |
lizard_r | warte | 14:51 |
lizard_r | ist das übehaupt fehlerfrei: | 14:51 |
lizard_r | ./libGiGi.so: undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group> const&, boost::any const&)' | 14:51 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::not_found_error()' | 14:51 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)' | 14:51 |
lizard_r | collect2: ld returned 1 exit status | 14:51 |
kroddnoMobil | ne, das nich | 14:52 |
kroddnoMobil | aber der befehl vorher | 14:52 |
kroddnoMobil | g++ -o minimal -pthread tutorial/minimal.o -L. -L/usr/lib -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU -lz -lfreetype -ljpeg -lpng -ltiff -lSDL -lpthread -lGiGi -lGiGiSDL -lboost_serialization -lboost_signals -lboost_system -lboost_filesystem -lboost_thread | 14:52 |
lizard_r | rolf@linux-ejmp:~/Download/FreeOrion-trunk/freeorion/FreeOrion/GG> g++ -o minimal -pthread tutorial/minimal.o -L. -L/usr/lib -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU -lz -lfreetype -ljpeg -lpng -ltiff -lSDL -lpthread -lGiGi -lGiGiSDL -lboost_serialization -lboost_signals -lboost_system -lboost_filesystem -lboost_thread | 14:52 |
lizard_r | ./libGiGi.so: undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group> const&, boost::any const&)' | 14:52 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::not_found_error()' | 14:52 |
lizard_r | ./libGiGi.so: undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)' | 14:52 |
lizard_r | collect2: ld returned 1 exit status | 14:53 |
kroddnoMobil | doch nich :-( | 14:53 |
kroddnoMobil | hast du GG nur mit "scons" kompiliert oder mit parameter? | 14:53 |
lizard_r | nur scons | 14:54 |
kroddnoMobil | bzw. "scons configure" mit parametern ausgeführt? | 14:54 |
kroddnoMobil | versuch mal: | 14:54 |
kroddnoMobil | scons boost_lib_suffix=-mt | 14:55 |
lizard_r | wieder der gleiche Fehler | 14:55 |
lizard_r | Download fertig | 14:56 |
kroddnoMobil | nuja, als vorraussetzung wird boost 1.37 genannt | 14:58 |
kroddnoMobil | ich weiß, dass es nicht einfach is, unter Linux zu kompilieren ;-) | 14:58 |
kroddnoMobil | ich richte grad ein Debian Lenny chroot auf meinem Root-Server ein, um dort nightly-builds für FreeOrion in Betrieb zu nehmen | 15:00 |
kroddnoMobil | lizard_r: welches Linux benutzt Du denn? | 15:15 |
lizard_r | openSuse | 15:15 |
*** hagish has joined #freeorion | 15:18 | |
kroddnoMobil | läuft die Statische Version? | 15:22 |
lizard_r | Ja, die läuft | 15:23 |
kroddnoMobil | gut :-) | 15:23 |
lizard_r | ~15 fps | 15:23 |
lizard_r | lol, tbp complayed about ~15 | 15:24 |
kroddnoMobil | GeoffTheMedio2: are you there? Is it right that every option passed to the command line will be saved into config file and used again the next time you start the game? | 15:24 |
kroddnoMobil | lizard_r: 15fps ? what system do you have? | 15:26 |
kroddnoMobil | is your cpu at 100% or not? | 15:26 |
lizard_r | 2,800.00 MHz, but only on 50% | 15:27 |
lizard_r | (probably because it is dual core) | 15:27 |
kroddnoMobil | 2 cores | 15:27 |
kroddnoMobil | thats normal | 15:27 |
kroddnoMobil | thats very strange, my system has 2000 MHz and is not at 100% | 15:28 |
kroddnoMobil | Graphics card? | 15:28 |
lizard_r | Nvidea, some chip graphic | 15:28 |
lizard_r | GeForce 7300 SE/7200 GS | 15:28 |
kroddnoMobil | drivers from nvidia or from SuSE? | 15:29 |
lizard_r | 1920x1200 monitor might slow the thing a bit down .. | 15:29 |
lizard_r | drivers from nvidea | 15:29 |
kroddnoMobil | i use windowed mode at 1400x900 | 15:30 |
kroddnoMobil | cpu is at 25% then | 15:31 |
*** UltraDM1 has left #freeorion | 15:35 | |
lizard_r | Why do researchs cost only 1? | 15:35 |
*** lizard_r has quit IRC | 15:43 | |
*** malumalu has quit IRC | 16:08 | |
*** Galrok has joined #freeorion | 16:42 | |
kroddnoMobil | hi | 16:48 |
GeoffTheMedio2 | hi? | 17:12 |
kroddnoMobil | hi GeoffTheMedio2 | 17:12 |
kroddnoMobil | wanna test the changes i made? | 17:12 |
GeoffTheMedio2 | what changes? | 17:16 |
kroddnoMobil | do a svn update and compile | 17:17 |
kroddnoMobil | currently i am explaining what i have done | 17:17 |
kroddnoMobil | http://www.freeorion.org/forum/viewtopic.php?f=9&t=2449&p=35044#p35044 | 17:25 |
tpb | <http://ln-s.net/2lDV> (at www.freeorion.org) | 17:25 |
kroddnoMobil | Explained there | 17:25 |
GeoffTheMedio2 | why did you call it "external-server-address" and not just "server address" and always get the default value in the multiplayer connect dialog from the option? | 17:34 |
kroddnoMobil | because thats only for a player to host a game | 17:35 |
kroddnoMobil | it only works in conjunction with force-external-server | 17:35 |
kroddnoMobil | are you read for a test? | 17:35 |
GeoffTheMedio2 | why? it would work fine to set the default server address for any player, wouldn't it? | 17:35 |
GeoffTheMedio2 | it would just have the effect of storing the last used server address and use that as the default next time you run the game | 17:36 |
GeoffTheMedio2 | much like galaxy setup picks | 17:36 |
kroddnoMobil | you do not understand the problem | 17:37 |
GeoffTheMedio2 | apparently not | 17:37 |
kroddnoMobil | okay, it would be a good idea to have a parameter for the server name | 17:38 |
GeoffTheMedio2 | why can't "external-server-address" be renamed "server-address" and do that job? | 17:38 |
kroddnoMobil | Now, don't you want to test if it works? | 17:38 |
GeoffTheMedio2 | I want to understand your changes first | 17:39 |
kroddnoMobil | the change is, if you CREATE a new multiplayer game and support --force-external-server, than you need to now where to connect to | 17:39 |
kroddnoMobil | (if you don't want to connect to localhost, which is the default) | 17:40 |
kroddnoMobil | you may be right that having a --server-address parameter would be sufficient, but I wanted to make clear that this parameter is intended to be used with --force-external-server | 17:40 |
GeoffTheMedio2 | ok... what --force-external-server does is prevent the client from creating a server process. in single player, if you have a freeoriond running on localhost and want that to run your single player game, you use --force-extenral-server when running freeorion and it'll connect to your existing server instead of creating a new freeoriond process when starting the game | 17:43 |
kroddnoMobil | yes | 17:44 |
GeoffTheMedio2 | previously it worked the same for multiplayer. if you had a freeoriond running on localhost, you could specify --force-external-server and then host a game and it'd do so on the existing server instead of creating a new freeoriond process | 17:44 |
kroddnoMobil | but it would also be able to connect to a freeoriond running on another machine | 17:44 |
schmichael | "--server <host>[:<port>]" isn't sufficient for that use case? | 17:44 |
kroddnoMobil | if you support "external-server-address" | 17:44 |
kroddnoMobil | GeoffTheMedio2: exactly | 17:45 |
GeoffTheMedio2 | so the problem you fixed was that you could only create games on freeoriond at localhost? This could be either a pre-existing freeoriond process (if you used freeorion --force-external-server ) or a new one (if you didn't) | 17:46 |
GeoffTheMedio2 | but you couldn't create a new game on any other host? | 17:46 |
kroddnoMobil | yes | 17:47 |
kroddnoMobil | now i can start a freeoriond at my server and let other users use it | 17:47 |
GeoffTheMedio2 | what if you specified an ip in the multiplayer setup window? it wouldn't connect to that server? | 17:47 |
kroddnoMobil | What do you mean? | 17:47 |
kroddnoMobil | If the multiplayerserver has no "host" player, then it does not accept any new client | 17:47 |
kroddnoMobil | you first have to start a "new" Multiplayer game there | 17:48 |
kroddnoMobil | If would be nice to be able to edit the hostname in the "create multiplayer game" window, but currently you are not able | 17:48 |
kroddnoMobil | And a checkbox "don't create server instance" | 17:49 |
GeoffTheMedio2 | right... so if we just made that editable, wouldn't it try to connect to a freeoriond on whatever host address you specified? | 17:49 |
kroddnoMobil | no | 17:49 |
* schmichael understands now :) | 17:50 | |
kroddnoMobil | it skips the code for creating a server daemon completely | 17:50 |
kroddnoMobil | and only connects to that existing daemon on remote machine | 17:50 |
GeoffTheMedio2 | what do you mean by "creating a server daemon"? creating a new freeoriond process? | 17:50 |
kroddnoMobil | The code is well designed, the steps are completely independent | 17:50 |
kroddnoMobil | creating server daemon = running freeoriond | 17:50 |
kroddnoMobil | that step does NOT connect to this server | 17:51 |
GeoffTheMedio2 | right... and it shouldn't try to create a freeoriond anywhere but localhost | 17:51 |
kroddnoMobil | yes | 17:51 |
GeoffTheMedio2 | but if there is already a freeoriond running on whatever host address you specify, it won't try to connect to it? | 17:51 |
kroddnoMobil | ? | 17:51 |
GeoffTheMedio2 | run freeoriond on your server | 17:52 |
kroddnoMobil | now i cannot follow | 17:52 |
GeoffTheMedio2 | start freeorion, go to multiplayer | 17:52 |
GeoffTheMedio2 | (have already changed code so you can specify an address in the gui when hosting a game) | 17:52 |
GeoffTheMedio2 | enter server address and create game | 17:52 |
GeoffTheMedio2 | what should happen: freeorion connects to freeoriond on server, creates/hosts new game | 17:53 |
kroddnoMobil | if the code checks for hostname != localhost than that should be sufficient | 17:53 |
kroddnoMobil | yes | 17:53 |
GeoffTheMedio2 | yes. we only need "--force-external-server" for single player games, or multiplayer games with freeoriond running on localhost before you run freeorion | 17:54 |
kroddnoMobil | you even don't need that for mp | 17:54 |
kroddnoMobil | If you "host" a multiplayer game and support an address != localhost, than it should be clear that no freeoriond can be startet | 17:55 |
GeoffTheMedio2 | yes, but if you are hosting your multiplayer game with freeoriond running on localhost, then it needs to support creating a new freeoriond when you hit ok, or using an already-running one | 17:55 |
GeoffTheMedio2 | same way it works for single-player with or without an already running freeoriond (on localhost) | 17:56 |
kroddnoMobil | then you can use this parameter | 17:56 |
kroddnoMobil | but thats for developers I think, which user will want to use that parameter? | 17:56 |
GeoffTheMedio2 | which parameter are you talking about? | 17:56 |
kroddnoMobil | --force-external-server | 17:56 |
GeoffTheMedio2 | probably users wouldn't expect to need to use it, and by default we assume that they don't already have a freeoriond running on localhost | 17:57 |
GeoffTheMedio2 | it's only if you want to run freeoriond before freeorion and are playing on localhost, that you need --force-external-server | 17:58 |
GeoffTheMedio2 | if connecting to a server anywhere other than localhost, --force-external-server should do nothing and freeorion shouldn't attempt to make a freeoriond (at somewhere other than localhost) no matter if --force-external-server is specified | 17:58 |
kroddnoMobil | yes | 17:59 |
GeoffTheMedio2 | that is, if hosting a game somewhere other than localhost, freeorion should always assume there is already a freeoriond there and not attempt to make one (since it can't anyway) specifying --force-external-server when the host is not at localhost is redundant (it does nothing). | 18:00 |
GeoffTheMedio2 | or rather, it should | 18:00 |
kroddnoMobil | Next I want to see what happens if a freeoriond is running, one game has played and each player has quit | 18:00 |
kroddnoMobil | right, it should recognize that it is impossible to create a freeoriond on remote machines :-) | 18:00 |
GeoffTheMedio2 | and so, your --external-server-address can be renamed to just --server-address and it should be used to populate the server address in the multiplayer connect window, and it should be possible to edit the server address in that window even when hosting a game | 18:00 |
kroddnoMobil | yes! | 18:01 |
kroddnoMobil | Now you seem to understand ^^ | 18:01 |
GeoffTheMedio2 | I understood before... I'm making the same argument as I was before. but before you said I didn't understand... (I'm not sure why) | 18:01 |
kroddnoMobil | "Aneinader vorbei geredet" | 18:03 |
GeoffTheMedio2 | a change though: perhaps it should be --multiplayer-server-address and only store the address entered for multiplayer games. Single player should always create and use hosts on localhost. We could later add a function to play a single player game on a remote server, but that's not needed now. and the parameter --server-address looks like it might apply for single player games, but it shouldn't | 18:03 |
kroddnoMobil | i think --server-address is okay | 18:04 |
kroddnoMobil | if you want to play single player on a server, than that should be possible | 18:04 |
kroddnoMobil | for whatever reason | 18:05 |
kroddnoMobil | But I still don't know if it would be possible to start a dedicated game without having one player be the host/manager (how do we call that???) | 18:07 |
schmichael | is it possible to start freeoriond manually? | 18:07 |
kroddnoMobil | damn | 18:08 |
kroddnoMobil | I now got freeoriond compiled on my rootserver | 18:08 |
kroddnoMobil | but I still crashes on startup | 18:08 |
GeoffTheMedio2 | schmichael: yes. type freeoriond | 18:12 |
GeoffTheMedio2 | but run freeorion with --force-external-server or else it won't use the already-running freeoriond | 18:12 |
schmichael | ah | 18:12 |
GeoffTheMedio2 | kroddn: even if we do allow single player games on a remote server, the SP and MP server addresses should be tracked separately | 18:13 |
GeoffTheMedio2 | we should also store the player's name for both cases in the options db | 18:13 |
GeoffTheMedio2 | for what reason did it crash? same as before? (kernel too old, or somesuch?) | 18:14 |
kroddnoMobil | seems to be the kernel | 18:14 |
kroddnoMobil | has something to do with EVENTFD - but i could not figure out how to compile boost without that | 18:15 |
kroddnoMobil | theres a macro BOOST_ASIO_DISABLE_EVENTFD, but i don't know where to specifiy it | 18:15 |
GeoffTheMedio2 | I don't know much about boost asio or networking, so you're on your own for that... | 18:16 |
kroddnoMobil | <kroddnoMobil> Hi there. How can I configure boost with BOOST_ASIO_DISABLE_EVENTFD set? | 18:18 |
kroddnoMobil | * jhunold hat die Verbindung getrennt (Remote closed the connection) | 18:18 |
kroddnoMobil | <phrosty> #define BOOST_ASIO_DISABLE_EVENTFD | 18:18 |
kroddnoMobil | <loonycyborg> Or pass -DBOOST_ASIO_DISABLE_EVENTFD :P | 18:18 |
kroddnoMobil | I hate those answers | 18:18 |
GeoffTheMedio2 | not specific enough...? | 18:21 |
kroddnoMobil | np :-) | 18:24 |
kroddnoMobil | no | 18:24 |
kroddnoMobil | its not possible to configure that on "./configure" time, i have to edit sourcefiles to set it - and thats a thing i dont like, as in some weeks or after updating to a new version I don't know that any more | 18:25 |
kroddnoMobil | I have build-scripts for all the libs I use to easyly upgrade them | 18:26 |
GeoffTheMedio2 | doesn't passing -DBOOST_ASIO_DISABLE_EVENTFD work without editing source files? | 18:26 |
kroddnoMobil | thats the answer I needed :-) | 18:27 |
GeoffTheMedio2 | and you needed me to repeat it...? (why didn't you like it when loonycyborg wrote it?) | 18:28 |
kroddnoMobil | I did not understand that it is sufficient to support it when including the boost headers in FO | 18:29 |
GeoffTheMedio2 | ah, ok. understand. I think. | 18:30 |
kroddnoMobil | do you know where it would be the right place to configure it? | 18:32 |
kroddnoMobil | CPPDEFINES, okay I found it | 18:33 |
GeoffTheMedio2 | have a look at the freeorion sconstruct and see how and ... yeah. that | 18:33 |
GeoffTheMedio2 | was going to say look where FREEORION_WIN32 is defined and so something similar, but that's appended to CPPDEFINES | 18:33 |
kroddnoMobil | yes | 18:34 |
kroddnoMobil | I think doing export CPPDEFINES=BOOST_ASIO_DISABLE_EVENTFD is sufficient | 18:34 |
GeoffTheMedio2 | you can add it to CPPDEFINES in the SConstruct | 18:40 |
GeoffTheMedio2 | eg. in freeorion's sconstruct: | 18:40 |
GeoffTheMedio2 | if env['release']: | 18:40 |
GeoffTheMedio2 | env.AppendUnique(CPPDEFINES = [ | 18:40 |
GeoffTheMedio2 | 'FREEORION_RELEASE' | 18:40 |
GeoffTheMedio2 | ]) | 18:40 |
kroddnoMobil | I don't want to add that permanently | 18:41 |
GeoffTheMedio2 | maybe there's a way to pass it as a command-line parameter to scons? | 18:41 |
kroddnoMobil | instead of doing that I added support for CPPDEFINES in SConstruct and then I can run "scons configure CPPDEFINES=BOOST_ASIO_DISABLE_EVENTFD" | 18:41 |
*** TL|Mega has joined #freeorion | 18:42 | |
kroddnoMobil | so the code/buildprocess keeps untouched | 18:42 |
GeoffTheMedio2 | make sure that ADDS to the CPPDEFINES, rather than overriding any that the SConstruct sets itself | 18:43 |
GeoffTheMedio2 | else you'll be compiling without FREEORION_LINUX defined | 18:43 |
kroddnoMobil | made sure | 18:44 |
kroddnoMobil | SConstruct just appends variables to it | 18:44 |
GeoffTheMedio2 | presumably the command-line would just set the first entry, and that'd work fine since internally the SConstruct appends to CPPDEFINES | 18:44 |
GeoffTheMedio2 | ... es | 18:44 |
GeoffTheMedio2 | yes | 18:44 |
schmichael | you could make CPPDEFINES a set() so that there aren't any duplicates | 18:44 |
kroddnoMobil | schmichael: SConstruct only adds "unique" options | 18:44 |
schmichael | ah, neat :) | 18:45 |
kroddnoMobil | so, i'll go to bed now | 18:53 |
kroddnoMobil | Does somebody want to play? I can start a freeoriond :-) | 18:54 |
GeoffTheMedio2 | night... will you be able to modify the server address parameters as dicussed, and make it editable in the multiplayer connect dialog when hosting? | 18:54 |
kroddnoMobil | maybe :-) | 18:54 |
GeoffTheMedio2 | mkay | 18:54 |
kroddnoMobil | I'll dig into the code | 18:54 |
*** TL|Mega has quit IRC | 18:55 | |
*** kroddnoMobil has quit IRC | 19:00 | |
*** hagish has quit IRC | 19:31 | |
*** ChanServ sets mode: +o GeoffTheMedio2 | 20:41 | |
*** Galrok has quit IRC | 21:24 | |
*** Galrok has joined #freeorion | 21:27 | |
*** Galrok_ has joined #freeorion | 21:40 | |
*** Galrok has quit IRC | 21:47 | |
*** Galrok has joined #freeorion | 21:56 | |
*** Galrok_ has quit IRC | 21:59 | |
*** mithro has joined #freeorion | 22:30 | |
*** STalKer-X has joined #freeorion | 23:39 | |
*** STalKer-Y has quit IRC | 23:47 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!