Page 1 of 1

Built 2.4.2 but segfaults when I shoot

Posted: Wed Aug 08, 2012 11:02 pm
by lagbooger1
Hi All,

I don't know what to do or even where to start. I am running 64 Mepis 11. I manually d/l and built c-ares-1.9.1 and curl-7.27.0. Then built BZ 2.4.2 without issue. I did use checkinstall to install it. Now I can connect to servers and move inside a game, but the moment I click the mouse it segfaults. I changed the fire to something else and it segfaults. I just started using Mepis. In the past on Debian or AptoSid this worked flawlessly. Does anyone have any suggestions?

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 2:52 am
by blast
Doesn't Mepis have development packages for c-ares, curl, etc? Did you build with SDL support?

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 7:49 pm
by lagbooger1
Yes it has libraries, but I installed curl and ares and they were not recognized in the configure script. And I added just about everything SDL under the sun to get it to show up in the configure.

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 8:07 pm
by blast
Did you read the README.Linux file we include with the source? Since Mepis is based on Debian, you should have tried installing the Debian packages we list. However, you now potentially have a "messy" environment since you manually installed some libraries.

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 8:50 pm
by lagbooger1
Tis is what it reported before I did make. I can remove curl and ares, but when i install the existing packages, it will mean that Bzflag will use its own libraries?

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: no (--with-libidn)
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.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.2.20120809 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 = -Wall -W -Wundef -Wshadow -ansi -pedantic -fexpensive-optimizations
CPPFLAGS =
CONF_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
BZFlag server .....: yes (with plugins)
BZAdmin client ....: yes

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 9:10 pm
by JeffM
You are not building with SDL, it should say.

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

Re: Built 2.4.2 but segfaults when I shoot

Posted: Thu Aug 09, 2012 10:41 pm
by lagbooger1
You are a genius, or at least very experienced :) Thanks so much for noticing that. I should have posted that to begin with. Everything is working smooth now!