INCF / csa

The Python implementation of the Connection-Set Algebra
GNU General Public License v3.0
13 stars 17 forks source link

Building CSA fails due to missing `README` #7

Closed heplesser closed 6 years ago

heplesser commented 6 years ago

Attempting to build CSA on Linux fails because README is not present:

$ ./autogen.sh 
aclocal-1.13 -I /usr/share/aclocal
libtoolize --copy --automake
autoheader
autoconf
automake-1.13 --copy --add-missing
configure.ac:76: installing './config.guess'
configure.ac:76: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am:4: warning: shell PYTHONPATH=$(srcdir: non-POSIX variable name
Makefile.am:4: (probably a GNU make extension)
Makefile.am: error: required file './README' not found
libpycsa/Makefile.am: installing './depcomp'

One either needs a symlink from README to the existing README.md, or tell automake that the readme file is called README.md. The problem also occurs with automake 1.14.

Under macOS, libtoolize is available as glibtoolize. The autogen.sh script should therefore contain

# libtoolize is glibtoolize on macOS
if [ `uname -s` = Darwin ] ; then
  LIBTOOLIZE=glibtoolize
else  
  LIBTOOLIZE=libtoolize
fi

and then

echo $LIBTOOLIZE --copy --automake &&
$LIBTOOLIZE --copy --automake &&
mdjurfeldt commented 6 years ago

Fixed in commit 972dc5b.