moiri / streamix

Root repository for the Streamix project
0 stars 1 forks source link

Autoconf errors with igraph #1

Closed moiri closed 5 years ago

moiri commented 5 years ago

On Ubuntu 18.04 LTS, when running autoconf the following error ocured:

sh: 1: cannot open VERSION: No such file

The following patch allowed to run autoconf:

diff --git a/configure.ac b/configure.ac
index acf76cde..9fe50e9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(igraph, esyscmd([tr -d '\n' < VERSION]), csardi.gabor@gmail.com)
+AC_INIT(igraph, 0.9.1), csardi.gabor@gmail.com)
 AC_CONFIG_SRCDIR(src/games.c)
 AM_INIT_AUTOMAKE([subdir-objects])
 AC_CONFIG_HEADERS([config.h])

However, in the end I just installed the prepared pakage

sudo apt install libigraph0-dev