From toumaltheorca at gmail.com Wed Aug 25 07:24:31 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Wed, 25 Aug 2010 14:24:31 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Heya, I'm moving the discussion from netrek-forever to the dev mailinglist since it's definitely more fitting here. ---------- Forwarded message ---------- From: Toumal Date: Tue, Aug 24, 2010 at 5:14 PM Subject: [netrek-forever] Can't get pre-t robots working on my server To: netrek-forever Heya, I'm sorry if the answer to my question is obvious, but I've read all the docs and tried for hours and I'm officially out of ideas here. I'm trying to get either pre-t robots, or newbie mode running on my server. I use the default config file with pre-t entertainment mode enabled, and I can see netrek-daemon spawning the pret process, as well as several pretbot processes. All these processes name the bot "Banisher" or something to that effect. The verbose logmode reveals that this player name does not exist - creating it with an empty password gets rid of the error but doesn't make things work The result is that when I connect to my server, I see bots 1 through 7 in grey color in the lest, with no name, no ship type, no kills, no login and no host machine. The only other entry I see is no. "v", name "Kathy" and that one shows "Robot" as login. However, it is also in grey and not playing on the map. Now I thought ok, I'll just enable newbie mode. So I set NEWBIE=1 in the sysdef, and commented out the main player port in etc/ports as well as uncommenting the three lines for newbie mode. The result is that I cannot connect to my own server because there are "not enough player slots in the queue" or something. I'm really in need of help here. Obviously the robots get started up but don't work properly, and I have no clue why x.x On Wed, Aug 25, 2010 at 01:28:32PM +0200, Toumal Rakesh wrote: > > There were a couple problems, I had to change a makefile to have ranlib > point to "ranlib" instead of "@RANLIB@", and I had to do chmod +x mktrekon > in /tools What OS platform and release was this on? autotools should properly handle ranlib detection on everything under the sun these days, and configure should properly set the Makefiles. Did you run sh ./autogen.sh before configure? What version of autoconf and automake were you running? According to change history, Jerub added the @RANLIB@ checks back in May '06; and I've not personally seen 'em fail since. James - didn't mktrekon get deprecated? On a CentOS box I just pulled a new darcs tree, ran autogen.sh, ./configure'd, make -j5 && make install and had no problems with the build. > It compiled okay, but... still the same problem(s): Bots don't join teams > and newbie mode gives a queue full error x.x I can confirm that there does appear to be a problem with newbie in that I can't get a normal player slot in, either. var/log doesn't show anything useful even with ERROR_LEVEL=9. Pulled an updated tree from James' development repo and nada, still borked. I didn't do anything other than barebones configuration to sysdef and ports to enable newbie mode; it is possible I overlooked a config step. ports/sysdef available for review at http://stuff.gerdesas.com/ports and http://stuff.gerdesas.com/sysdef. If I find myself with spare time and an inclination to look at the code I will do so later today. John -- This is all happening because my father didn't buy me a train set as a kid. -- Warren Buffett, joking about his decision to buy a railroad, the Burlington Northern Santa Fe Corporation, New York Times, 4 November 2009 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100825/7e68b36e/attachment.htm From netrek at gmail.com Wed Aug 25 09:33:57 2010 From: netrek at gmail.com (Zachary Uram) Date: Wed, 25 Aug 2010 10:33:57 -0400 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Hi Toumal - Are you in India? Zach <>< http://www.fidei.org ><> On Wed, Aug 25, 2010 at 8:24 AM, Toumal Rakesh wrote: > Heya, I'm moving the discussion from netrek-forever to the dev mailinglist > since it's definitely more fitting here. From toumaltheorca at gmail.com Wed Aug 25 09:46:05 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Wed, 25 Aug 2010 16:46:05 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Nope, that name is just an alias. I'm european. On Wed, Aug 25, 2010 at 4:33 PM, Zachary Uram wrote: > Hi Toumal - Are you in India? > > Zach > > <>< http://www.fidei.org ><> > > > > On Wed, Aug 25, 2010 at 8:24 AM, Toumal Rakesh > wrote: > > Heya, I'm moving the discussion from netrek-forever to the dev > mailinglist > > since it's definitely more fitting here. > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100825/160c7106/attachment.htm From netrek at gmail.com Wed Aug 25 10:18:40 2010 From: netrek at gmail.com (Zachary Uram) Date: Wed, 25 Aug 2010 11:18:40 -0400 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Cool. Zach <>< http://www.fidei.org ><> On Wed, Aug 25, 2010 at 10:46 AM, Toumal Rakesh wrote: > Nope, that name is just an alias. I'm european. From toumaltheorca at gmail.com Wed Aug 25 10:23:45 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Wed, 25 Aug 2010 17:23:45 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Why, do the robots only work on indian servers? :P On Wed, Aug 25, 2010 at 5:18 PM, Zachary Uram wrote: > Cool. > > Zach > > <>< http://www.fidei.org ><> > > > > On Wed, Aug 25, 2010 at 10:46 AM, Toumal Rakesh > wrote: > > Nope, that name is just an alias. I'm european. > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100825/e6d8746f/attachment.htm From netrek at gmail.com Wed Aug 25 10:31:07 2010 From: netrek at gmail.com (Zachary Uram) Date: Wed, 25 Aug 2010 11:31:07 -0400 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: LOL no :D Zach <>< http://www.fidei.org ><> On Wed, Aug 25, 2010 at 11:23 AM, Toumal Rakesh wrote: > Why, do the robots only work on indian servers? :P From toumaltheorca at gmail.com Fri Aug 27 07:05:37 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Fri, 27 Aug 2010 14:05:37 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: Okay I did some debugging, turns out queue 9 does not have the "QU_OPEN" flag set, and that even though there is a queues[QU_NEWBIE_PLR].q_flags = QU_OPEN|QU_RESTRICT; in queue.c line 158 o.O I'm kinda lost in the queue initialization code, but I'm pretty sure that whatever is supposed to open up and initialize the newbie player queue is not doing its job properly atm. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100827/4bba1d04/attachment.htm From quozl at us.netrek.org Sun Aug 29 19:54:16 2010 From: quozl at us.netrek.org (James Cameron) Date: Mon, 30 Aug 2010 10:54:16 +1000 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> Message-ID: <20100830005416.GF8615@us.netrek.org> On Fri, Aug 27, 2010 at 02:05:37PM +0200, Toumal Rakesh wrote: > Okay I did some debugging, turns out queue 9 does not have the > "QU_OPEN" flag set, and that even though there is a > > queues[QU_NEWBIE_PLR].q_flags = QU_OPEN|QU_RESTRICT; > > in queue.c line 158 o.O > > > I'm kinda lost in the queue initialization code, but I'm pretty sure that > whatever is supposed to open up and initialize the newbie player queue is not > doing its job properly atm. rgrep QU_NEWBIE_PLR . ... ./robots/newbie.c: queues[QU_NEWBIE_PLR].q_flags |= (QU_REPORT | QU_OPEN); So it sounds like the newbie robot is not opening the queue. Is NEWBIE=1 in sysdef? If not, make it so. If you're enabling the newbie queue in etc/ports, NEWBIE must be 1 in etc/sysdef. -- James Cameron http://quozl.linux.org.au/ From toumaltheorca at gmail.com Sun Aug 29 23:33:34 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Mon, 30 Aug 2010 06:33:34 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100830005416.GF8615@us.netrek.org> References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> <20100830005416.GF8615@us.netrek.org> Message-ID: Newbie was set to 1. I followed the readme to the letter. > On Fri, Aug 27, 2010 at 02:05:37PM +0200, Toumal Rakesh wrote: >> Okay I did some debugging, turns out queue 9 does not have the >> "QU_OPEN" flag set, and that even though there is a >> >> queues[QU_NEWBIE_PLR].q_flags = QU_OPEN|QU_RESTRICT; >> >> in queue.c line 158 o.O >> >> >> I'm kinda lost in the queue initialization code, but I'm pretty sure that >> whatever is supposed to open up and initialize the newbie player queue is not >> doing its job properly atm. > > rgrep QU_NEWBIE_PLR . > > ... > > ./robots/newbie.c: queues[QU_NEWBIE_PLR].q_flags |= (QU_REPORT | QU_OPEN); > > So it sounds like the newbie robot is not opening the queue. Is > NEWBIE=1 in sysdef? If not, make it so. If you're enabling the newbie > queue in etc/ports, NEWBIE must be 1 in etc/sysdef. > > -- > James Cameron > http://quozl.linux.org.au/ > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100830/70b1e991/attachment.htm From quozl at us.netrek.org Mon Aug 30 18:30:08 2010 From: quozl at us.netrek.org (James Cameron) Date: Tue, 31 Aug 2010 09:30:08 +1000 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <08be18c2-c748-4ef4-8b8c-6f3acf46707d@x25g2000yqj.googlegroups.com> <20100830005416.GF8615@us.netrek.org> Message-ID: <20100830233008.GW3646@us.netrek.org> On Mon, Aug 30, 2010 at 06:33:34AM +0200, Toumal Rakesh wrote: > James wrote: > > On Fri, Aug 27, 2010 at 02:05:37PM +0200, Toumal Rakesh wrote: > > > Okay I did some debugging, turns out queue 9 does not have the > > > "QU_OPEN" flag set, and that even though there is a > > > > > > queues[QU_NEWBIE_PLR].q_flags = QU_OPEN|QU_RESTRICT; > > > > > > in queue.c line 158 o.O > > > > > > I'm kinda lost in the queue initialization code, but I'm pretty > > > sure that whatever is supposed to open up and initialize the > > > newbie player queue is not doing its job properly atm. > > > > rgrep QU_NEWBIE_PLR . > > > > ... > > > > ./robots/newbie.c: queues[QU_NEWBIE_PLR].q_flags |= (QU_REPORT | QU_OPEN); > > > > So it sounds like the newbie robot is not opening the queue. Is > > NEWBIE=1 in sysdef? If not, make it so. If you're enabling the > > newbie queue in etc/ports, NEWBIE must be 1 in etc/sysdef. > > Newbie was set to 1. I followed the readme to the letter. Therefore robots/newbie.c is not executing that line. Check to see if the process is present. That will divide the problem space ... either the program is not being run, or the program is being run but is not opening the queue. -- James Cameron http://quozl.linux.org.au/ From jrd at gerdesas.com Mon Aug 30 18:57:03 2010 From: jrd at gerdesas.com (John R. Dennison) Date: Mon, 30 Aug 2010 18:57:03 -0500 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100830233008.GW3646@us.netrek.org> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> Message-ID: <20100830235703.GU3535@frodo.gerdesas.com> On Tue, Aug 31, 2010 at 09:30:08AM +1000, James Cameron wrote: > > Therefore robots/newbie.c is not executing that line. Check to see if > the process is present. That will divide the problem space ... either the > program is not being run, or the program is being run but is not opening > the queue. I've a gut hunch that NEWBIESERVER in include/config.h is not defined. Simple test is to run lib/newbie and see if you get a message to that effect. If you do then edit include/config.h and properly set NEWBIESERVER and any other settings you wish, make clean && make && make install and test it. Most of the #def's in config.h *really* need to go away; there is little need in this day and age of not compiling in everything by default. John -- IRC - Where men are men, women are men and little girls are FBI. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100830/f4a3c30b/attachment.pgp From quozl at us.netrek.org Mon Aug 30 19:08:56 2010 From: quozl at us.netrek.org (James Cameron) Date: Tue, 31 Aug 2010 10:08:56 +1000 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100830235703.GU3535@frodo.gerdesas.com> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> Message-ID: <20100831000856.GA3646@us.netrek.org> On Mon, Aug 30, 2010 at 06:57:03PM -0500, John R. Dennison wrote: > I've a gut hunch that NEWBIESERVER in include/config.h is not > defined. Simple test is to run lib/newbie and see if you get > a message to that effect. If you do then edit include/config.h > and properly set NEWBIESERVER and any other settings you > wish, make clean && make && make install and test it. Ah, sounds likely. INSTALL.Newbie does not mention that. Here's how I would change it: diff -rN -u old-netrek-server/Vanilla/INSTALL.Newbie new-netrek-server/Vanilla/INSTALL.Newbie --- old-netrek-server/Vanilla/INSTALL.Newbie 2010-08-31 10:07:55.000000000 +1000 +++ new-netrek-server/Vanilla/INSTALL.Newbie 2010-08-31 10:07:55.000000000 +1000 @@ -1,7 +1,8 @@ # $Id: INSTALL.Newbie,v 1.2 2005/09/28 12:14:04 quozl Exp $ Instructions for installing the Vanilla Netrek Server as a Newbie Server -- install as described in INSTALL +- install as described in INSTALL, except + - edit include/config.h.in and define NEWBIESERVER before configure - change etc/sysdef to include NEWBIE=1 - change etc/syddef the following modes to 0 INL=0 -- James Cameron http://quozl.linux.org.au/ From jrd at gerdesas.com Mon Aug 30 19:22:43 2010 From: jrd at gerdesas.com (John R. Dennison) Date: Mon, 30 Aug 2010 19:22:43 -0500 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100831000856.GA3646@us.netrek.org> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> Message-ID: <20100831002243.GV3535@frodo.gerdesas.com> On Tue, Aug 31, 2010 at 10:08:56AM +1000, James Cameron wrote: > > Ah, sounds likely. INSTALL.Newbie does not mention that. I was going to push something to address this later; thanks for taking care of it :) I had on my plate back before various whining and crying erupted to revamp config.h and move most of the compile-time legacy stuff to run-time variants. Admins should not have to worry about setting config.h settings for many of the items in there and then rebuilding; changes to sysdef, especially for issues regarding game modes, should be all that is necessary. Do we still wish to consider moving forward on such changes? John -- If you're talking behind my back you're in a good position to kiss my ass. -- Unknown -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100830/7e2ec651/attachment.pgp From toumaltheorca at gmail.com Tue Aug 31 14:56:27 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Tue, 31 Aug 2010 21:56:27 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100831000856.GA3646@us.netrek.org> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> Message-ID: Alrighty! That made newbie mode work! Hoooowever... the bots do the same thing as in pre-t mode: They stay gray and do not join a team. Yes the bot processes run btw. On Tue, Aug 31, 2010 at 2:08 AM, James Cameron wrote: > On Mon, Aug 30, 2010 at 06:57:03PM -0500, John R. Dennison wrote: > > I've a gut hunch that NEWBIESERVER in include/config.h is not > > defined. Simple test is to run lib/newbie and see if you get > > a message to that effect. If you do then edit include/config.h > > and properly set NEWBIESERVER and any other settings you > > wish, make clean && make && make install and test it. > > Ah, sounds likely. INSTALL.Newbie does not mention that. > > Here's how I would change it: > > diff -rN -u old-netrek-server/Vanilla/INSTALL.Newbie > new-netrek-server/Vanilla/INSTALL.Newbie > --- old-netrek-server/Vanilla/INSTALL.Newbie 2010-08-31 > 10:07:55.000000000 +1000 > +++ new-netrek-server/Vanilla/INSTALL.Newbie 2010-08-31 > 10:07:55.000000000 +1000 > @@ -1,7 +1,8 @@ > # $Id: INSTALL.Newbie,v 1.2 2005/09/28 12:14:04 quozl Exp $ > Instructions for installing the Vanilla Netrek Server as a Newbie Server > > -- install as described in INSTALL > +- install as described in INSTALL, except > + - edit include/config.h.in and define NEWBIESERVER before configure > - change etc/sysdef to include NEWBIE=1 > - change etc/syddef the following modes to 0 > INL=0 > > -- > James Cameron > http://quozl.linux.org.au/ > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/50ab3883/attachment.htm From jrd at gerdesas.com Tue Aug 31 15:32:20 2010 From: jrd at gerdesas.com (John R. Dennison) Date: Tue, 31 Aug 2010 15:32:20 -0500 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> Message-ID: <20100831203220.GW3535@frodo.gerdesas.com> On Tue, Aug 31, 2010 at 09:56:27PM +0200, Toumal Rakesh wrote: > Alrighty! That made newbie mode work! > > > Hoooowever... the bots do the same thing as in pre-t mode: They stay gray > and do not join a team. Yes the bot processes run btw. Please do not top post. Please provide your include/config.h, etc/sysdef and /etc/ports files for peer review. Please obfuscate your server admin password as contained in etc/sysdef prior to posting. Thanks. John -- Thanksgiving is not an anachronism whose time is past. It is much more than a holiday to celebrate a meal shared between the Pilgrims and Native Americans. It is a time to reflect and be thankful for what we have -- not for what we cherish, desire or envy. -- Ted Nugent, America Rocks, 28 November 2002 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/f0a94e02/attachment.pgp From toumaltheorca at gmail.com Tue Aug 31 16:12:28 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Tue, 31 Aug 2010 23:12:28 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100831203220.GW3535@frodo.gerdesas.com> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> <20100831203220.GW3535@frodo.gerdesas.com> Message-ID: On Tue, Aug 31, 2010 at 10:32 PM, John R. Dennison wrote: > On Tue, Aug 31, 2010 at 09:56:27PM +0200, Toumal Rakesh wrote: > > Alrighty! That made newbie mode work! > > > > > > Hoooowever... the bots do the same thing as in pre-t mode: They stay gray > > and do not join a team. Yes the bot processes run btw. > > Please do not top post. > I guess me using gmail (which displays emails nicely regardless) has made me insensitive of this ;) > Please provide your include/config.h, etc/sysdef and /etc/ports > files for peer review. Please obfuscate your server admin > password as contained in etc/sysdef prior to posting. > Roger that, I've attached the files. Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/9400494e/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: config.h Type: application/octet-stream Size: 25747 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/9400494e/attachment-0003.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: ports Type: application/octet-stream Size: 2213 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/9400494e/attachment-0004.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: sysdef Type: application/octet-stream Size: 15160 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/9400494e/attachment-0005.obj From jrd at gerdesas.com Tue Aug 31 18:16:29 2010 From: jrd at gerdesas.com (John R. Dennison) Date: Tue, 31 Aug 2010 18:16:29 -0500 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> <20100831203220.GW3535@frodo.gerdesas.com> Message-ID: <20100831231629.GY3535@frodo.gerdesas.com> On Tue, Aug 31, 2010 at 11:12:28PM +0200, Toumal Rakesh wrote: > > I guess me using gmail (which displays emails nicely regardless) has made me > insensitive of this ;) Thanks :) > Roger that, I've attached the files. Thanks for the help. LONG is 8 bytes? That's a 64-bit platform, isn't it? Black magic is required to get bots working on 64-bit platforms due to nonsense. In robotsd/ add "-m32" to the the CC line in the Makefile; I think that might be all that is required. Feel free to fix it properly :) The bots are not using the global include files; they use their own copies instead which are not 64-bit clean. At least this is what my failing memory seems to recall. John -- "Thinking implies disagreement; and disagreement implies non-comformity; and non-comformity implies heresy; and heresy implies disloyality -- so obviously thinking must be stopped" [Call to Greatness, 1954] -- Adlai Stephenson -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/7fa06ff9/attachment.pgp From toumaltheorca at gmail.com Tue Aug 31 19:33:32 2010 From: toumaltheorca at gmail.com (Toumal Rakesh) Date: Wed, 1 Sep 2010 02:33:32 +0200 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: <20100831231629.GY3535@frodo.gerdesas.com> References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> <20100831203220.GW3535@frodo.gerdesas.com> <20100831231629.GY3535@frodo.gerdesas.com> Message-ID: On Wed, Sep 1, 2010 at 1:16 AM, John R. Dennison wrote: > On Tue, Aug 31, 2010 at 11:12:28PM +0200, Toumal Rakesh wrote: > > > > I guess me using gmail (which displays emails nicely regardless) has made > me > > insensitive of this ;) > > Thanks :) > > > Roger that, I've attached the files. Thanks for the help. > > LONG is 8 bytes? That's a 64-bit platform, isn't it? > > Black magic is required to get bots working on 64-bit platforms > due to nonsense. In robotsd/ add "-m32" to the the CC line in > the Makefile; I think that might be all that is required. > > Feel free to fix it properly :) The bots are not using the > global include files; they use their own copies instead which > are not 64-bit clean. At least this is what my failing memory > seems to recall. > Yep it's 64 bits... I'm afraid -m32 gets me into 32-bit-library hell since I can't seem to get a 32-bit version of libgdbm that he likes. I took a look at those header files - um, it's safe to say they're very, very different. I'm not a C-guru (not anymore, doing java for a living these days) - is there anything particular that I could look out for to make things work with 64bit? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100901/56879c9a/attachment.htm From jrd at gerdesas.com Tue Aug 31 20:11:28 2010 From: jrd at gerdesas.com (John R. Dennison) Date: Tue, 31 Aug 2010 20:11:28 -0500 Subject: [netrek-dev] Can't get pre-t robots working on my server In-Reply-To: References: <20100830005416.GF8615@us.netrek.org> <20100830233008.GW3646@us.netrek.org> <20100830235703.GU3535@frodo.gerdesas.com> <20100831000856.GA3646@us.netrek.org> <20100831203220.GW3535@frodo.gerdesas.com> <20100831231629.GY3535@frodo.gerdesas.com> Message-ID: <20100901011128.GZ3535@frodo.gerdesas.com> On Wed, Sep 01, 2010 at 02:33:32AM +0200, Toumal Rakesh wrote: > > Yep it's 64 bits... > > I'm afraid -m32 gets me into 32-bit-library hell since I can't seem to get a > 32-bit version of libgdbm that he likes. What's the platform? > I took a look at those header files - um, it's safe to say they're very, > very different. I'm not a C-guru (not anymore, doing java for a living these > days) - is there anything particular that I could look out for to make > things work with 64bit? I don't recall if Karthik and I ever isolated it. In theory it shouldn't be *too* difficult to make the bots use the global headers versus their private copies but it's been a while since I looked into it. I have a dim memory of someone working on it; I'll go through my mail archive when I have the time and see if I can locate it. John -- Last night I visited a top secret Russian facility 15 miles northwest of Moscow and 5 miles underground. I projected my mind there. I tried to make your head explode with my mind, but it didn't work. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20100831/7c8aef1f/attachment.pgp