Bzflag failed when building on Linux Fuduntu 2013.2

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
Carioca
Private First Class
Private First Class
Posts: 5
Joined: Tue Aug 01, 2006 2:08 pm

Bzflag failed when building on Linux Fuduntu 2013.2

Post by Carioca »

Hi folks,

When I build Bzflag using the new svn repor URL: https://svn.code.sf.net/p/bzflag/code/trunk/bzflag, after compilation I get the following message that was not generated the bzflag cliente binary and other issues.
Following the result and thanks for any assistance.

configure: Configured to build curl/libcurl:

curl version: 7.20.1
Host setup: x86_64-unknown-linux-gnu
Install prefix: /usr/local
Compiler: gcc
SSL support: no (--with-ssl / --with-gnutls / --with-nss)
SSH support: no (--with-libssh2)
zlib support: enabled
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
c-ares support: no (--enable-ares)
ipv6 support: enabled
IDN support: enabled
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: /etc/pki/tls/certs/ca-bundle.crt
ca cert path: no
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: enabled
Protocols: DICT FILE FTP HTTP IMAP POP3 RTSP SMTP TELNET TFTP

Done.

BZFlag-2.4.3.20130414 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 = -g -O2
CONF_CFLAGS = -Wall -W -Wundef -Wshadow -fexpensive-optimizations
CXXFLAGS = -g -O2
CONF_CXXFLAGS = -std=c++0x -Wall -W -Wundef -Wshadow -pedantic -fexpensive-optimizations
CPPFLAGS =
CONF_CPPFLAGS =
LDFLAGS =
LIBS = -lm -lpthread

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

BZFlag client .....: no bzflag client binary! (need OpenGL)
BZFlag server .....: yes (with plugins)
BZAdmin client ....: yes

---
./configure complete, type 'make' to begin building
Last edited by Carioca on Tue Apr 16, 2013 1:26 am, edited 1 time in total.
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by allejo »

That's the output you get when './configure' is run. I don't see any errors. Did you do the './autogen.sh; ./configure; make' as stated in the README.Linux file? And it looks like you don't have OpenGL installed, hence the no bz client being configured to be built if that's your concern.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by blast »

Additionally, one common reason for the "need OpenGL" message is when there is no C++ compiler installed. Ensure you actualy have g++ installed. If that doesn't help, then you'll probably need to provide your config.log file here.
"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
Carioca
Private First Class
Private First Class
Posts: 5
Joined: Tue Aug 01, 2006 2:08 pm

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by Carioca »

Hi allejo and blast,

Yes, I did all the procedures described in the README.Linux allejo and i guess that I have the OpenGL installed, plus C++ compiler too.
blast, following the config.log's result, after the four steps: "./autogen.sh", "./configure", "make" and "make install".
the file is attached and I hope that this can help you guys! Because i liked this Linux Distro Fuduntu, but if I can not help you guys, about my trouble (I'm sure the problem is between the keyboard and the chair), I will install another distro where bzflag works well.
Thank you for the quick response and valuable assistance.
Attachments
config.log
(141.64 KiB) Downloaded 174 times
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by blast »

From the config.log, I noticed this for an OpenGL test I think is supposed to work on Linux.

Code: Select all

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
Do you have an nVidia card by chance? If so, did you install the drivers using their "Hardware Drivers" control panel, or did you install them manually?
"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
Carioca
Private First Class
Private First Class
Posts: 5
Joined: Tue Aug 01, 2006 2:08 pm

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by Carioca »

blast, I have an AMD Radeon HD 7900 series card and I installed the newer ATI Catalyst drivers manually.
I put my hardware's information for help you if necessary.
Attachments
My hardware's information.txt
(2.98 KiB) Downloaded 165 times
User avatar
Bullet Catcher
Captain
Captain
Posts: 564
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by Bullet Catcher »

/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/lib64/libGL.so is what you need to link with on your 64-bit computer. I don't know the best way to make that happen.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by blast »

My guess is that manually installing the Catalyst drivers screwed something up with your system. I tried with a fresh install of Fuduntu 2013.2 here, and configure properly detected the OpenGL library (though I did not yet try with the binary drivers installed). Installing the binary drivers from AMD.com or nvidia.com is generally discouraged by Linux distributions. The 13.1 Catalyst drivers are already provided in the Fuduntu repositories, and it is likely that only those are supported, not the ones from AMD.com. You should talk with the Fuduntu support to see if they can work through the problem with you.
"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
Carioca
Private First Class
Private First Class
Posts: 5
Joined: Tue Aug 01, 2006 2:08 pm

Re: Bzflag failed when building on Linux Fuduntu release 201

Post by Carioca »

Hi, blast and Bullet Catcher!

You are correct blast, I made a clean installation of this Linux distro Fuduntu and I used the drivers provided by them. It's all working perfect! Finally I got it compile a client of Bzflag.
Thanks a lot for your assistance blast, allejo and Bullet Catcher.

Best regards,

Carioca
Post Reply