#exult@irc.freenode.net logs for 8 Oct 2008 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:13:15] --- Marzo_away is now known as Marzo
[01:02:55] --- Marzo is now known as Marzo_away
[01:37:07] --> shazza has joined #exult
[02:48:29] --> ShadwChsr has joined #exult
[02:53:49] <-- Baastuul has left IRC (Read error: 110 (Connection timed out))
[02:55:43] --- Marzo_away is now known as Marzo
[04:06:11] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[04:41:39] --> Baastuul has joined #exult
[05:06:14] <ShadwChsr> Anyone here? :D
[05:10:06] <-- Baastuul has left IRC (Read error: 113 (No route to host))
[05:38:26] <-- ShadwChsr has left IRC ()
[06:12:06] <-- shazza has left IRC (Connection timed out)
[06:17:22] --> shazza has joined #exult
[07:47:49] <Sevalecan> nope, no one is here!
[07:47:49] <Sevalecan> ;O
[07:48:16] <Sevalecan> you know for this being one of those projects I wouldnt expect much attention to, this channel sure has grown since I got here
[07:48:24] <Sevalecan> as in its forgotten, not bad
[07:48:25] <Sevalecan> :P
[12:35:44] --> Baastuul has joined #exult
[12:55:14] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:12:27] --> Marzo has joined #exult
[13:30:44] --> hackmett has joined #exult
[13:34:54] <hackmett> can you help me with building the cvs? i get an error in utils.h where there seems to be a problem with std namespace
[13:35:44] <RadoS> How should we know?
[13:36:03] <wjp> which os, which compiler, and which error? :-)
[13:36:41] <hackmett> i am on archlinux with gcc 4.x -- i look the version up
[13:36:47] <RadoS> http://www.catb.org/~esr/faqs/smart-questions.html
[13:37:11] <wjp> RadoS: that's not quite on topic for IRC channels
[13:37:25] <RadoS> wjp, why not?
[13:37:36] <hackmett> gcc is 4.3.2
[13:38:59] <wjp> are you using our current svn?
[13:39:51] <hackmett> error message is tils.h:258: Fehler: »strchr« "wurde in diesem Gültigkeitsbereich nicht definiert" --which i think it translates --> "not defined in namespace"
[13:40:10] <hackmett> 1.4.05 cvs
[13:40:48] <RadoS> hackmett, 'Gltigkeitsbereich' is more like range or scope.
[13:41:03] <RadoS> hackmett, set LANG=C before you compile, so we can see EN message.
[13:41:09] <hackmett> thank you
[13:41:16] <hackmett> one moment then
[13:42:18] <hackmett> like ./configure LANG=C ?
[13:42:49] <RadoS> export LANG=C
[13:43:01] <RadoS> Then configure;make
[13:43:10] <exg> better to set LC_ALL
[13:43:32] <wjp> can you try adding an '#include <cstring>' at the top of utils.h?
[13:44:02] <hackmett> i try... i hope
[13:44:46] <wjp> I should really try gcc 4.3 myself at some point. It looks like a lot of the inclusions between standard headers were changed
[13:45:27] <hackmett> first have to find utils.h
[13:45:33] <wjp> it's in files/
[13:46:03] <hackmett> unfortunately not, because i use yaourt
[13:46:28] <wjp> who?
[13:47:26] <Marzo> Seems to be some sort of package manager
[13:47:52] <RadoS> hackmett, tried changing language?
[13:48:03] * RadoS is curious for the translation.
[13:48:22] <Marzo> But it shouldn't affect the location of utils.h relative to the Exult source directory
[13:48:51] <wjp> RadoS: I'm fairly sure that that translates to: error: 'blah' was not declared in this scope
[13:49:13] <hackmett> at the moment i use export LANG=C
[13:49:50] <hackmett> the next error is produced : Flex.h:58: error: 'memcpy' is not a member of 'std'
[13:50:09] <hackmett> but it compiled longer
[13:50:25] <wjp> try adding the same line to Flex.h
[13:50:27] <Marzo> So the #include <cstring> helped in utils.h?
[13:50:39] <hackmett> i think it helped
[13:51:00] <hackmett> i will add to flex.h and see if i can do the same to similar errors
[13:51:28] <wjp> anything starting with 'str' or 'mem' should be caused by that (I think)
[13:51:33] <Marzo> I *think* it will (IIRC, memcpy is there too)
[13:51:39] <wjp> Marzo: yes
[13:52:06] <Marzo> Just confirmed, yes
[13:52:11] <RadoS> Isn't there a global file included where this #include could be placed?
[13:52:16] <Marzo> Oh, you'd confirmed it already
[13:52:51] <Marzo> Hm. Flex.h already has it in my copy
[13:53:05] <Marzo> And so does utils.h
[13:53:17] <hackmett> can i set a global #include ? -- next error on table.cc by the way changing table.h
[13:54:29] <hackmett> btw, what this? underquoted definition of AC_CHECK_ALPHA_LINUX_CXX
[13:55:45] <hackmett> so my sources are outdated?
[13:55:50] <Marzo> I anticipate maybe two more errors (Flat.h and IFF.h)
[13:56:15] <hackmett> next error is on `exit`
[13:56:25] <hackmett> error: 'exit' is not a member of 'std'
[13:56:30] <Marzo> There is a way to check if the sources are outdated: check for the presence of a U7fileman.h file on files/
[13:57:06] <hackmett> U7fileman.h is not present
[13:57:19] <Marzo> Then yes, your source is outdated
[13:57:37] <Marzo> (latest SVN fixes a good deal of those problems)
[13:57:52] <hackmett> okay, thank you for your time
[13:57:56] <Marzo> You can get a more recent version here: http://www.math.leidenuniv.nl/~wpalenst/cvs/exult-svn.tar.gz
[14:03:31] <hackmett> do you play it sometime? i do, but i ask myself why, because i could write a walkthrough from scratch without having to have to sit at it ;)
[14:14:24] <hackmett> hmm ahem, xdrag.o: /home/hackmett/exult/xdrag.cc:51: undefined reference to `XQueryTree'
[14:15:03] <Marzo> Yeah, that has yet to be fixed properly
[14:15:41] <Marzo> There is a fix which works for some machines, but is not portable
[14:16:24] <Marzo> IIRC, it involves calling AC_PATH_XTRA in configure
[14:16:44] <hackmett> uh huh (?!?)
[14:20:12] <Marzo> There, try this: in cpnfigure.ac, add "AC_PATH_XTRA" around line 65 or so, re-run ./configure and make
[14:20:21] <hackmett> ok
[14:20:29] <-- shazza has left IRC ()
[14:22:03] <hackmett> you mean at the end of the if statement just before the else =
[14:23:13] <Marzo> Add it in a new line immediatelly after line 67 (just looked at a clean configure.ac)
[14:23:39] <hackmett> after AC_MSG_RESULT(X11 (GNU/Linux))
[14:23:45] <Marzo> Yes
[14:23:53] <Marzo> (or before, it doesn't much matter)
[14:24:34] <hackmett> compiling is always so difficult..
[14:24:34] <hackmett> error: conditional "AMDEP" was never defined.
[14:24:34] <hackmett> Usually this means the macro was only invoked conditionally
[14:25:34] <Marzo> Yeah, that is why that fix isn't used
[14:27:40] <hackmett> i cant say i would really understand all that :(
[14:27:41] <Marzo> Another possibility: undo the above and run this before configure: export LIBS="-L/usr/X11R6/lib -lX11 -lXext"
[14:28:11] <Marzo> (change the /usr/X11R6/lib to the actual location in your computer)
[14:28:36] <hackmett> okay, so it has to do with wrong pathes to components of Xorg?
[14:29:10] <Marzo> No, I think it has to do with configure not adding those libs and includes to the env vars
[14:29:59] <hackmett> uh huh... i see ... to some degree
[14:31:47] <hackmett> after running autogen.sh and ./configure again it is compiling all the time now... i will try what you said, if it fails
[14:33:26] <hackmett> it failed: libtool: link: require no space between `-L' and `-lX11' ..... i will remove the AC_PATH_XTRA and export LIBS="-L/usr/X11R6/lib -lX11 -lXext" and report back
[14:35:25] <hackmett> under usr there is no X11R6. is that the problem?
[14:35:45] <Marzo> Your distribution may place it elsewhere
[14:36:39] <Marzo> In a console, try running whereis xterm
[14:37:00] <Marzo> (or whereis Xorg)
[14:37:28] <hackmett> xorg: /usr/lib/xorg /usr/include/xorg
[14:38:01] <hackmett> export LIBS="-L/usr/lib/xorg -lX11 -lXext - i assume
[14:38:15] <Marzo> The first letter should be capitalized
[14:38:27] <Marzo> (Xorg, not xorg)
[14:38:42] <hackmett> Xorg: /usr/bin/Xorg /usr/share/man/man1/Xorg.1.gz
[14:39:05] <Marzo> Hm
[14:39:16] <hackmett> X11: /etc/X11 /usr/lib/X11 /usr/include/X11 /usr/share/X11 - maybe
[14:39:20] <Marzo> Seems that your xorg libs are at /usr/lib
[14:40:18] <Marzo> Try putting export LIBS="-L/usr/lib and -L/usr/lib/X11 -lX11 -lXext"
[14:41:26] <hackmett> let me see if it helps...
[14:44:14] <Marzo> brb
[14:49:57] <hackmett> it helped
[14:50:00] <hackmett> wo hoo
[14:57:57] <hackmett> argh and crashes on use
[14:58:56] <hackmett> i will boot windows and install it there... :(
[14:59:15] <hackmett> *feels like a stupid kid*
[14:59:52] <-- hackmett has left IRC (Remote closed the connection)
[16:03:30] --- Marzo is now known as Marzo_away
[16:19:05] --- Sevalecan is now known as Sevalebed
[16:19:45] --- Marzo_away is now known as Marzo
[17:34:50] --- Marzo is now known as Marzo_away
[18:26:42] --- Marzo_away is now known as Marzo
[19:50:53] --- Marzo is now known as Marzo_away
[21:05:07] <-- Baastuul has left IRC (Read error: 110 (Connection timed out))
[21:38:12] --- Lord_Nightmare is now known as LordNAway
[22:34:59] --> Baastuul has joined #exult
[23:03:22] --- Marzo_away is now known as Marzo
[23:11:14] --> Kirben has joined #exult
[23:11:14] --- ChanServ gives channel operator status to Kirben
[23:36:40] --> smev81 has joined #exult
[23:53:32] <-- Baastuul has left IRC (Read error: 110 (Connection timed out))