When I run the script, the output for an unrecogised distribution comes up:
We have detected the following system:
[ LinuxMint ] [ 14 ] [ nadia ] [ x86_64 ]
On supported systems, we will now install build dependencies.
Unsupported LinuxMintrelease.
Please report a bug at http://bugs.megaglest.org providing the following information:
--- snip ---
SVN version: 4045
LSB support: 1
Distribution: LinuxMint
Release: 14
Codename: nadia
--- snip ---
For now, please try this (which works with other LinuxMint releases) and report back how it works for you:
apt-get install build-essential subversion automake autoconf autogen cmake; apt-get install libsdl1.2-dev libxerces-c2-dev libalut-dev libgl1-mesa-dev libglu1-mesa-dev libvorbis-dev libwxbase2.8-dev libwxgtk2.8-dev libx11-dev liblua5.1-0-dev libjpeg-dev libpng12-dev libcurl4-gnutls-dev libxml2-dev libircclient-dev libglew-dev libftgl-dev libvlc-dev libfribidi-dev
Thanks!
When I install the packages manually they all seem to install except I get an error message at the end:
sudo apt-get install build-essential subversion automake autoconf autogen cmake; apt-get install libsdl1.2-dev libxerces-c2-dev libalut-dev libgl1-mesa-dev libglu1-mesa-dev libvorbis-dev libwxbase2.8-dev libwxgtk2.8-dev libx11-dev liblua5.1-0-dev libjpeg-dev libpng12-dev libcurl4-gnutls-dev libxml2-dev libircclient-dev libglew-dev libftgl-dev libvlc-dev libfribidi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
subversion-tools db5.1-util
The following NEW packages will be installed
autoconf autogen automake build-essential cmake subversion
0 upgraded, 6 newly installed, 0 to remove and 36 not upgraded.
Need to get 5,243 kB/7,165 kB of archives.
After this operation, 18.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main autoconf all 2.69-1ubuntu1 [568 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ quantal/main build-essential amd64 11.5ubuntu3 [5,814 B]
Get:3 http://archive.ubuntu.com/ubuntu/ quantal/main cmake amd64 2.8.9-0ubuntu1 [4,669 kB]
Fetched 5,243 kB in 23s (219 kB/s)
Selecting previously unselected package autoconf.
(Reading database ... 188353 files and directories currently installed.)
Unpacking autoconf (from .../autoconf_2.69-1ubuntu1_all.deb) ...
Selecting previously unselected package autogen.
Unpacking autogen (from .../autogen_1%3a5.12-0.1ubuntu2_amd64.deb) ...
Replaced by files in installed package libopts25-dev ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.6-1ubuntu1_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5ubuntu3_amd64.deb) ...
Selecting previously unselected package cmake.
Unpacking cmake (from .../cmake_2.8.9-0ubuntu1_amd64.deb) ...
Selecting previously unselected package subversion.
Unpacking subversion (from .../subversion_1.7.5-1ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for doc-base ...
Processing 2 added doc-base files...
Registering documents with scrollkeeper...
Setting up autoconf (2.69-1ubuntu1) ...
Setting up autogen (1:5.12-0.1ubuntu2) ...
Setting up automake (1:1.11.6-1ubuntu1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode
Setting up build-essential (11.5ubuntu3) ...
Setting up cmake (2.8.9-0ubuntu1) ...
Setting up subversion (1.7.5-1ubuntu2) ...
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
but after doing the manual install when I try to run the build-mg script I get this output:
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type for this compile will be:
-- MegaGlest Version is [3.7.2]
-- Detected GNUC Compiler...
-- *NOTE: Checking for max SSE LEVEL [1]
-- Max SSE desired: [1]
-- Performing Test HAS_SSE3_EXTENSIONS
-- Performing Test HAS_SSE3_EXTENSIONS - Success
-- Performing Test HAS_SSE2_EXTENSIONS
-- Performing Test HAS_SSE2_EXTENSIONS - Success
-- Performing Test HAS_SSE_EXTENSIONS
-- Performing Test HAS_SSE_EXTENSIONS - Success
-- Found SSE extensions, using flags: -msse -mfpmath=sse
-- *NOTE: using SSE for STREFLOP.
-- Performing Test HAS_GCC_BACKTRACE
-- Performing Test HAS_GCC_BACKTRACE - Success
-- Found GCC backtrace lib, will support backtraces
-- Found Subversion: /usr/bin/svn (found version "1.7.5")
-- Found SVN and using SVN version stamping...
-- *NOTE: NOT USING a Custom Data Install Path...
-- **Found game source code.
-- Will try to build MegaGlest shared library
CMake Error at mk/cmake/Modules/FindPackageHandleStandardArgs.cmake:94 (MESSAGE):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
mk/cmake/Modules/FindPackageHandleStandardArgs.cmake:255 (_FPHSA_FAILURE_MESSAGE)
mk/cmake/Modules/FindCURL.cmake:20 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
source/shared_lib/CMakeLists.txt:51 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
ERROR: CMAKE failed.
Thanks