Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building CSA fails due to missing README #7

Closed
heplesser opened this issue Oct 15, 2017 · 1 comment
Closed

Building CSA fails due to missing README #7

heplesser opened this issue Oct 15, 2017 · 1 comment

Comments

@heplesser
Copy link

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
Copy link
Contributor

Fixed in commit 972dc5b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants