Ubuntu 11.10 64 bit bzflag 2.4.0

Questions or HOWTOs about the above? Post 'em here...
User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Sat Oct 15, 2011 6:47 pm

I already compiled bzflag version 2.4.0 on ubuntu 11.04
Now there's the new version of Ubuntu 11.10 and so i installed it and it works just fine. Now, I just want to compile bzflag on my new OS but...
I read the readme.linux file and installed all the packages needed for debian & ubuntu. Than I also updated the system with a "sudo apt-get update & apt-get upgrade". After that, using the terminal i cd to the directory bzflag-2.4.0 (the extracted one and not the tar.bz2 I downloaded. I added different images on data folder (orbit's textures) and edited the scoreboard.cxx source (as blast suggest me) to remove the observer white line under the leader... Don't know If you understood correctly) than done that:

./configure
make
sudo make install

and the procedure don't seems to work:
at the end of the make command and the sudo make install command it says:

Code: Select all

Making all in common
make[2]: ingresso nella directory "/home/giorgio/bzflag-2.4.0/src/common"
source='AccessList.cxx' object='AccessList.lo' libtool=yes \
	DEPDIR=.deps depmode=none /bin/bash ../../misc/depcomp \
	/bin/bash ../../libtool --silent --tag=CXX  --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include  -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\"  -I../../src/other/zlib -I../../src/other/curl/include    -c -o AccessList.lo AccessList.cxx
../../libtool: line 1153: g++: command not found
make[2]: *** [AccessList.lo] Errore 1
make[2]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/src/common"
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/src"
make: *** [all-recursive] Errore 1
after all, if i try to run the command "bzflag" it doesn't work. (the system says me that that program isn't installed and he suggest me to install the 2.0.16 version that's on the repositories)
my question is: could all that be caused by the fact i edited the data folder and the scoreboard.cxx file before the compiling?
Image

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Cobra_Fast » Sat Oct 15, 2011 7:10 pm

Code: Select all

../../libtool: line 1153: g++: command not found
Install the "g++" package.

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Sat Oct 15, 2011 9:07 pm

Code: Select all

giorgio@giorgio-F3JC:~$ g++
Il programma "g++" può essere trovato nei seguenti pacchetti:
 * g++
 * pentium-builder
Provare: sudo apt-get install <PACCHETTO SELEZIONATO>
The program g++ can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <PACKAGE SELECTED>

in less worlds... Which one i have to install? The g++ i suppose, right?
thank you so much :D
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Sat Oct 15, 2011 10:47 pm

He said install the g++ package, so, what does that mean? :P
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Sun Oct 16, 2011 7:53 am

Right! :P Thank you all mates... I love bzflag also for that great community ;)
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Sun Oct 16, 2011 1:58 pm

F1 and F4 and wheel down for shot don't work... It seems to me i installed all the packages needed... I re-read the posts under http://my.bzflag.org/bb/viewtopic.php?f=62&t=17477 and it seems to me I have to install SDL packages. Is that right?
Thank you so much :D
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Sun Oct 16, 2011 7:17 pm

SDL packages... Do I need the package build-essential? :idea-alt:
sudo apt-get install build-essential :D
However that doesn't solve my problems :/
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Sun Oct 16, 2011 8:19 pm

Please read the Linux readme file.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Mon Oct 17, 2011 1:02 pm

Both hardware and software rendering is supported. Hardware
rendering is highly recommended, as software rendering is very
slow. Hardware rendering is provided by the OpenGL drivers for
your video card. ATI and NVIDIA are the primary chipsets for video
cards in use today. Many Linux distributions to not ship with
video drivers that properly support hardware acceleration on
modern cards. Both ATI and NVIDIA provide Linux drivers for many
architectures on there websites. In general they provide greater
performance then the default drivers in many distributions.
I have understand that proprietary video cards driver are better than the default drivers in many OSs... Right? Well, I'm using NVIDIA now so, could not be better than that
Different Linux distributions use different naming conventions for the
packages that provide the dependencies needed to compile and run
BZFlag. Known requirements include:

Debian & Ubuntu:

libgl1-mesa-dev
libglu1-mesa-dev
libsdl1.2-dev
libcurl3-dev
libsdl-sound1.2-dev (may have to add this yourself as well)

In order to build bzrobot with python support, you will need:
python-dev
swig
I have installed all these packages...
What I have forgot?
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Tue Oct 18, 2011 2:42 am

Run the configure script again and rebuild. The configure script detects what libraries are available and adjusts the makefiles accordingly.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Tue Oct 18, 2011 1:00 pm

Uff... I have run the script configure again and than rebuild all but... The problems persists.
I have made 3 different files with output of "./configure" than of "make" and "sudo make install". I can attach them if needed
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Tue Oct 18, 2011 1:33 pm

Check the version string of the game client to see if it mentions SDL.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Tue Oct 18, 2011 2:29 pm

Code: Select all

BZFlag client 2.4.0.20111016-STABLE-linux-gnu (protocol 0221) http://BZFlag.org/
Copyright (c) 1993-2011 Tim Riker
No SDL here... So?
Image

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Cobra_Fast » Tue Oct 18, 2011 3:21 pm

Do you see anything "SDL" in it? I don't.

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Tue Oct 18, 2011 3:38 pm

Do you see anything "SDL" in it?
No. And so I said "No SDL here"... I meant: "in that I can't see anything about SDL".
So, the solution is...?
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Tue Oct 18, 2011 4:02 pm

Could the installation of this package ( libsdl1.2debian-all ) solve all?
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Tue Oct 18, 2011 9:37 pm

Can you paste the output of the following command inside a

Code: Select all

 block here?

dpkg -l 'libsdl*'

(That's a lowercase L where it has -l, in case you're wondering)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Wed Oct 19, 2011 1:43 pm

Code: Select all

giorgio@giorgio-F3JC:~$ dpkg -l 'libsdl*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome                        Versione                    Descrizione
+++-===========================-===========================-======================================================================
un  libsdl-dev                  <nessuna>                   (nessuna descrizione disponibile)
ii  libsdl-image1.2             1.2.10-2.1                  image loading library for Simple DirectMedia Layer 1.2
un  libsdl-perl                 <nessuna>                   (nessuna descrizione disponibile)
ii  libsdl-sound1.2             1.0.3-3.1                   Decoder of several sound file formats for SDL
ii  libsdl-sound1.2-dev         1.0.3-3.1                   Development files for SDL_sound
un  libsdl0.11                  <nessuna>                   (nessuna descrizione disponibile)
un  libsdl0.11-dev              <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.0-dev               <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.1-dev               <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2                   <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2-all               <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2-arts              <nessuna>                   (nessuna descrizione disponibile)
ii  libsdl1.2-dev               1.2.14-6.1ubuntu4           Simple DirectMedia Layer development files
un  libsdl1.2-esd               <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2-oss               <nessuna>                   (nessuna descrizione disponibile)
ii  libsdl1.2debian             1.2.14-6.1ubuntu4           Simple DirectMedia Layer
un  libsdl1.2debian-all         <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2debian-alsa        <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2debian-arts        <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2debian-esd         <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2debian-nas         <nessuna>                   (nessuna descrizione disponibile)
un  libsdl1.2debian-oss         <nessuna>                   (nessuna descrizione disponibile)
ii  libsdl1.2debian-pulseaudio  1.2.14-6.1ubuntu4           Simple DirectMedia Layer (with X11 and PulseAudio options)
giorgio@giorgio-F3JC:~$ 
Image

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Wed Oct 19, 2011 10:57 pm

Hrm, that looks okay. It should be using SDL when it builds. I can't say I've tried recently, and definitely not on 11.10.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Thu Oct 20, 2011 12:54 pm

And... What if I post that problem in the official ubuntu Italy forums? I have an account... They allow also posts about particular programs and they can understand better 11.10 mistakes. :)
Ah no... I think it's gonna be too much difficult. I should explain them all my problems in bz and probably this will be very long and confused.
Image

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Thu Oct 20, 2011 4:08 pm

Fox in the Fog wrote:F1 and F4 and wheel down for shot don't work...
Also... I can't chat with players. I see the messages of other players and also mine messages I have sent, but other player can't
Image

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by FangUp » Thu Oct 20, 2011 7:13 pm

Ah, so you are kinda half-connected?
The chat system may be disturbed if administrators used a "/set" command on the map.
If in your case that did not happen, there must be some sort of connection problem...also if the old version is connection and chat is ok, try to check your router...well you can not lose anything if you try (: (i do not know what you should look in certain but i think you will find out)
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
Fox in the Fog
Private First Class
Private First Class
Posts: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by Fox in the Fog » Thu Oct 20, 2011 7:38 pm

Yeah in the previous version the chat worked... but also the wheel down and the iconify key! :D So... I think is all caused just by the problems i'm having with compiling 2.4... Not connection problem
Image

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by FangUp » Thu Oct 20, 2011 8:33 pm

just so lol....or its the new update not so well responding to Ubuntu?:D
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
blast
General
General
Posts: 4687
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu 11.10 64 bit bzflag 2.4.0

Post by blast » Fri Oct 21, 2011 1:56 am

It builds fine here from SVN.

sudo apt-get install aptitude
sudo aptitude install g++ libtool automake autoconf libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev libcurl3-dev libc-ares-dev libsdl-sound1.2-dev libglew1.5-dev subversion
svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/trunk/bzflag/ bzflag-trunk
cd bzflag-trunk
./autogen.sh -v
./configure

Final output from configure:

Code: Select all

BZFlag-2.4.1.20111021 configured with the following:

             Prefix: /usr/local
           Binaries: /usr/local/bin
            Plugins: /usr/local/lib/bzflag
       Manual pages: /usr/local/share/man

CC       = gcc
CXX      = g++
CFLAGS   =  -Wall -W -Wundef -Wshadow -g -O2
CXXFLAGS =  -Wall -W -Wundef -Wshadow -ansi -pedantic -fno-exceptions -g -O2
CPPFLAGS =
LDFLAGS  =
LIBS     = -lm  -lpthread

Build ares ........: no (using system)
Build curl ........: no (using system)
Build glew ........: no (using system)
Build regex .......: no (using system)
Build zlib ........: no (using system)

BZFlag client .....: yes (with SDL)
BZFlag server .....: yes (with plugins)
BZAdmin client ....: yes

---
./configure complete, type 'make' to begin building
make -j3
sudo make install
bzflag

Note that for 'make' I'm assuming a dual-core system. If you're on a single-core system, just do 'make' without the -j3. If you're on a quad-core, do -j5. For all others, well, do the math. ;)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest