Admittedly this is the first time building software from source on Linux but the dependency train is getting a bit long (Ubuntu 17.10). It's cost me almost the whole day so I wonder if some instructions could be included in the readme or if there's a better way to install all the tools and dependencies.
In case it helps other noobs I'm writing the steps I had to do here. I had to install a whole bunch of stuff to even get ./configure to run and even then it's still failing. So for me the following had to be done:
- Install autoconf:
sudo apt-get install autoconf
- Run
autoreconf -fvi (dunno why)
- Install fltk:
sudo apt-get install libfltk1.3-dev
- Download, build and install "liburlmatch"...
** Download the source and extract
** cd into the extracted folder
** Run make then make install
- Install:
sudo apt-get install libjpeg-dev
- Download build and install "physfs":
** Download source and extract
** Install cmake: sudo apt install cmake
** cd into the extracted folder
** Run cmake .
** Run make
** Run sudo make install
That's as far as I get. The latest error seems to be in ./configure on line 5612:
PKG_CHECK_MODULES(DEPS, libxslt libxml-2.0 sqlite3
It seems DEPS is not defined.
checking for PHYSFS_init in -lphysfs... yes
./configure: line 5612: syntax error near unexpected token DEPS,' ./configure: line 5612: PKG_CHECK_MODULES(DEPS, libxslt libxml-2.0 sqlite3 '
Notes:
It seems physfs is no longer "around" (https://icculus.org/physfs/ is dead).
Admittedly this is the first time building software from source on Linux but the dependency train is getting a bit long (Ubuntu 17.10). It's cost me almost the whole day so I wonder if some instructions could be included in the readme or if there's a better way to install all the tools and dependencies.
In case it helps other noobs I'm writing the steps I had to do here. I had to install a whole bunch of stuff to even get ./configure to run and even then it's still failing. So for me the following had to be done:
sudo apt-get install autoconfautoreconf -fvi(dunno why)sudo apt-get install libfltk1.3-dev** Download the source and extract
** cd into the extracted folder
** Run
makethenmake installsudo apt-get install libjpeg-dev** Download source and extract
** Install cmake:
sudo apt install cmake** cd into the extracted folder
** Run
cmake .** Run
make** Run
sudo make installThat's as far as I get. The latest error seems to be in
./configureon line 5612:It seems
DEPSis not defined.Notes:
It seems physfs is no longer "around" (https://icculus.org/physfs/ is dead).