Page 3 of 3

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 5:08 am
by cepris
Acehart wrote: Ok I've done everything else to install 2.4 using Macskeeball's method and everything seems set, but how do you launch the application - do you just type "launch"?
nope, you type "bzflag" :)

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 6:32 am
by cidentan50
wildrune11 wrote:Wait.. actually.. it seems to have completely uninstalled itself :| I got onto it when I installed it, but now it's gone, I can't get back to it even on the superuser account. I searched my computer for it but it only returns the old version.
In Terminal, enter this command: whereis bzflag

What output do you get?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 6:54 am
by cepris
Macskeeball wrote: In Terminal, enter this command: whereis bzflag

What output do you get?
I got this:
bzflag: /usr/games/bzflag /usr/local/lib/bzflag /usr/share/bzflag /usr/share/man/man6/bzflag.6.gz
thanks for helping :D

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 7:11 am
by SkillDude
Greetings, I was trying to compile through source and have received these errors. I also obtained the code through trunk and still received it. Would appreciate any assistance to solve. Operating System is Ubuntu, this was what was outputted through the make command after compiling numerous other files. Seems to be stuck on this specific one:
/bin/bash ../../libtool --silent --tag=CXX --silent --mode=compile g++ -DHAVE_C ONFIG_H -I. -I../../include -g -O2 -g -O2 -MT libNet_la-AresHandler.lo -MD - MP -MF .deps/libNet_la-AresHandler.Tpo -c -o libNet_la-AresHandler.lo `test -f ' AresHandler.cxx' || echo './'`AresHandler.cxx
AresHandler.cxx: In member function âvoid AresHandler::queryHostname(sockaddr*)â :
AresHandler.cxx:90: error: invalid conversion from âvoid (*)(void*, int, hostent *)â to âvoid (*)(void*, int, int, hostent*)â
AresHandler.cxx:90: error: initializing argument 5 of âvoid ares_gethostbyaddr (ares_channeldata*, const void*, int, int, void (*)(void*, int, int, hostent*), void*)â
AresHandler.cxx: In member function âvoid AresHandler::queryHost(char*)â:
AresHandler.cxx:120: error: invalid conversion from âvoid (*)(void*, int, hosten t*)â to âvoid (*)(void*, int, int, hostent*)â
AresHandler.cxx:120: error: initializing argument 4 of âvoid ares_gethostbynam e(ares_channeldata*, const char*, int, void (*)(void*, int, int, hostent*), void *)â
make[2]: *** [libNet_la-AresHandler.lo] Error 1
make[2]: Leaving directory `/home/sigonasr2/bzflag-2.4.1/bzflag/src/net'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sigonasr2/bzflag-2.4.1/bzflag/src'
make: *** [all-recursive] Error 1

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 7:19 am
by macsforme
Try this.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 9:31 am
by cepris
I've tried that, it still doesn't install for me for some reason, not at all?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 10:07 am
by blast
Acehart wrote:"You may encounter a name conflict with other installed versions of BZFlag. Also, you probably won't have a GUI launcher for the new version. That is, a BZFlag shortcut in your Applications menu, your dock, or whatever it is you use to launch programs in the graphical interface. You may have to either create one or launch BZFlag from Terminal."

Ok I've done everything else to install 2.4 using Macskeeball's method and everything seems set, but how do you launch the application - do you just type "launch"?

Forgive me if this sounds like a stupid question, but I have to ask, since I pretty much suck at using Terminal :(
If you're on OSX, you do not want to install the game with 'make install' as that will screw stuff up. If you did so on a Mac, go back to your source directory for BZFlag and do a 'sudo make uninstall'.

We have a 2.4.0 package for OSX, so just use that. There's no need to build it yourself on a Mac.
wildrune11 wrote:Cool, got it installed, but one problem. I installed it on superuser account and all the people that live with me have their own user accounts. It doesn't seem to have installed for everyone except the superuser account, how can I install it for all?
How did you build/install the game? We don't read minds, and without more information we can't help you.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 10:39 am
by cidentan50
I didn't only post OS X instructions. I also posted Linux instructions, and I'm pretty sure that both Acehart and wildrune11 were using those. Acehart quoted part of my Linux instructions, and wildrune11 has posted responses to it as well. Perhaps you missed my second post?

Wildrune11: Did you modify my instructions in any way, such as by adding "--prefix=$HOME/bzflag-2.4.0/" to the ./configure command (as seen in one of blast's posts)?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 12:27 pm
by blast
Macskeeball wrote:I didn't only post OS X instructions. I also posted Linux instructions, and I'm pretty sure that both Acehart and wildrune11 were using those. Acehart quoted part of my Linux instructions, and wildrune11 has posted responses to it as well. Perhaps you missed my second post?

Wildrune11: Did you modify my instructions in any way, such as by adding "--prefix=$HOME/bzflag-2.4.0/" to the ./configure command (as seen in one of blast's posts)?
Ah, I guess you posted OSX instructions too. I didn't see those when I looked back, so I thought that Acehart used the Linux method instead of the "OSX way".

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 12:52 pm
by red-der
Some non-reproducable problems under Windows:
(Asus Eee 1015 (Atom N550, 1,5GHz, 2GB RAM, OZC Vertex SSD), WIn7-32bit)

Sometimes - without notice - the client just crashes, but its not reproducable. It just freezes or the client closes. Most of the time, I can play without any problems.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 1:08 pm
by cidentan50
blast wrote:
Macskeeball wrote:I didn't only post OS X instructions. I also posted Linux instructions, and I'm pretty sure that both Acehart and wildrune11 were using those. Acehart quoted part of my Linux instructions, and wildrune11 has posted responses to it as well. Perhaps you missed my second post?

Wildrune11: Did you modify my instructions in any way, such as by adding "--prefix=$HOME/bzflag-2.4.0/" to the ./configure command (as seen in one of blast's posts)?
Ah, I guess you posted OSX instructions too. I didn't see those when I looked back, so I thought that Acehart used the Linux method instead of the "OSX way".
My OS X instructions were my first post (originally there were no official 2.4 binaries for Mac), back on page 1. Based on what Acehart replied to, I'm assuming he's a Linux user.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 5:35 pm
by Propane Tank
I'm compiling 2.4 for Linux (on my server) and I come accross this error. Is this a serious error and if so, how do I fix it?

Image

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 6:30 pm
by blast
g++: command not found

Well, I'd start by, you know.. installing your C++ compiler, g++ ;)

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 6:53 pm
by cidentan50
Propane Tank, what distro is your server running? That will help us tell you how to install g++ and all that goes along with it.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 7:14 pm
by Propane Tank
Well I got that (bzflag) done (compiled) and working...so whats the command line argument for turning off tk? The upgrade page doesn't say and I don't see any new ones in the command line page.

EDIT
Macskeeball: this post was suppose to be before yours but as it turns out I clicked preview instead of submit...I am running Ubuntu 10.10

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 7:26 pm
by blast
-noTeamKills, iirc. It should be in the bzfs man page, and under bzfs -help.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Fri Jul 08, 2011 11:32 pm
by cepris
blast wrote:How did you build/install the game? We don't read minds, and without more information we can't help you.
I followed the instructions that Macskeeball wrote earlier. When I got the issue, I tried modifying it with what was in Constitution's link, but that didn't help me either.
Macskeeball wrote:Did you modify my instructions in any way, such as by adding "--prefix=$HOME/bzflag-2.4.0/" to the ./configure command (as seen in one of blast's posts)?
Nope, I followed your instructions exactly. I tried the ones that Constitution linked me too, but that didn't help. Will it install into the folder that it is in? e.g., if I have it in the Downloads folder will it install BZFlag into the Downloads folder?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sat Jul 09, 2011 12:00 am
by Propane Tank
Yeah. It will if I remember right in the folder it's in the src folder.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 8:41 am
by cepris
Propane Tank wrote:Yeah. It will if I remember right in the folder it's in the src folder.
What what? I'm confused :D
Are you saying it will install itself into the folder that I've put it in? E.g, if I save it in Downloads, it will install itself in Downloads?
If so, where do I need to place it to install in onto the computer? Which folder should it normally go in?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 8:41 am
by cepris
Propane Tank wrote:Yeah. It will if I remember right in the folder it's in the src folder.
What what? I'm confused :D
Are you saying it will install itself into the folder that I've put it in? E.g, if I save it in Downloads, it will install itself in Downloads?
If so, where do I need to place it to install in onto the computer? Which folder should it normally go in?

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 8:43 am
by cidentan50
src folder = source folder, meaning the BZFlag source code folder.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 9:09 am
by SkillDude
bzfs ends up in /bzflag-2.4.0/src/bzfs/bzfs
bzflag ends up in /bzflag-2.4.0/src/bzflag/bzflag
bzadmin ends up in /bzflag-2.4.0/src/bzadmin/bzadmin

Assuming that you are building those applications.

Doing a 'make install' after configuration will link the applications to your system, so e.g. you can then type bzflag instead of the whole application directory/filename.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 12:54 pm
by Propane Tank
If you want to install it into the system folder you need to run it as root. So 'sudo make install'.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Sun Jul 10, 2011 3:19 pm
by blast
If people need to report bugs or need help with compiling 2.4, please start a new topic in the correct forum.

Re: BZFlag 2.4.0 "Wake the Dead" released

Posted: Tue Aug 23, 2011 6:13 pm
by Bullet Catcher
BZFlag may now be updated to 2.4 on Fedora Linux with this command:
su -c 'yum update bzflag'