Installing Trunk Release on Debian

For all the help you need with Armagetron!
Post Reply
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Installing Trunk Release on Debian

Post by Light »

After installing the server with no problems, I'm trying to build the Experimental client and can't seem to get past running 'make'.

I ran bootstrap.sh
I don't think my configure would hurt it ..

Code: Select all

./configure --prefix='/home/tom/armagetronad/client' --disable-sysinstall --disable-useradd --disable-etc
Then tried to run make

Without trying to spam too much .. Here's the ending of it. It goes through a minute or two of the process before it exits with the error.

Code: Select all

protobuf/libprotobuf.a(libprotobuf_a-gGame.pb.o):gGame.pb.cc:(.text+0x2ee7): more undefined references to `google::protobuf::GoogleOnceInitImpl(long*, google::protobuf::Closure*)' follow
collect2: ld returned 1 exit status
make[3]: *** [armagetronad_main] Error 1
make[3]: Leaving directory `/home/tom/armagetronad-experimental-0.4_alpha_z2060/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tom/armagetronad-experimental-0.4_alpha_z2060/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/armagetronad-experimental-0.4_alpha_z2060'
make: *** [all] Error 2
The whole thing is here:
http://lightron.no-ip.org/shell.txt

Distributor ID: Debian
Description: Debian GNU/Linux 6.0.6 (squeeze)
Release: 6.0.6
Codename: squeeze
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Installing Trunk Release on Debian

Post by Z-Man »

Looks like your protobuf installation is borked; the header files (which claim the various functions exist, or the compiler would already complain) do not match the library file (where those functions don't exist). Have you installed protobuf from source at some earlier time by chance? That would result in the manually installed headers to be found (in /usr/local/include, most likely), but the system installed library from /usr/lib is later found by the linker.

If that is the case, removing the old headers and installing libprotobuf-dev (I think) via apt would fix things.
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Installing Trunk Release on Debian

Post by Light »

After removing them manually, it was easy to go on. The only thing is that I upgraded to wheezy last night, so they have libprotobuf7 in their packages which didn't seem to work with arma. I went to the Google http://code.google.com/p/protobuf/ and grabbed protobuf-2.5.0rc1.tar.gz smooth install from there.

Thanks much. (:
Post Reply