Problems downloading the Cuberite precompiled S/W
#4
Have/Had the same issues. Though on an RPi-B1. The archive is broken, it contains \0 values in or after the file list.

You can get the source from github and build it yourself. Which is probably not a bad idea for the Raspberry anyway.

On Raspbian, you may run into the same issue as me, since the gcc dependency is not properly checked. Cuberite has CLI flags that seem to require a gcc version > 4.6, so you need to install a newer version (4.8 ideally)

Here's a condensed version of what I did to get my cuberite server:

Code:
# Need to be root, otherwise prepend everything with sudo
sudo -i

# Get dependencies
aptitude install screen cmake g++-4.8 gcc-4.8 git

# if you already have a gcc/g++/cc installed, alter for your versions, you
# should get the meaning
# Skip this if you only have gcc 4.8+
update-alternatives --list gcc
update-alternatives --list g++
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 480
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 460
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.8 480
# check proper versions are used
gcc --version
g++ --version
cc --version
# should report 4.8

# Create a new user for minecraft (please REALLY do this)
useradd -m minecraft
passwd minecraft
Connect as minecraft to your Pi:
Code:
# Login as minecraft
# Compiling will take some time on the Pi, best do it in screen
screen

# Do everything in a subdirectory
mkdir cuberite && cd cuberite
# Get install script
wget https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh
# (DO NOT get easy_install, this only tries to download the broken zip)
./compile.sh
# Wait for it, grab lunch, drink some beers, etc. Though the Pi2 is probably a lot faster

# Now go into the actual server directory
cd MCServer/MCSserver
# Set a password for the webadmin interface
nano webadmin.ini
# Now you can run the server
./MCServer
Reply
Thanks given by:


Messages In This Thread
RE: Problems downloading the Cuberite precompiled S/W - by e14 - 07-24-2015, 05:53 AM



Users browsing this thread: 1 Guest(s)