vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.14k stars 136 forks source link

autoreconf doesn't work with the source from form-master.zip #119

Closed vsht closed 7 years ago

vsht commented 8 years ago

I noticed that if someone downloads FORM source via the Download zip button, i.e. as

https://github.com/vermaseren/form/archive/master.zip

then autoreconf -i fails:

vs@elektron~/Downloads/form-master autoreconf -i
fatal: Not a git repository (or any of the parent directories): .git
========================================================================
Failed to determine the version of the source code.

The reason may be
  - this is neither a source distribution (containing the configure
    script) nor a cloned Git repository,
  - this is a shallow clone and no version tags are reachable,
  - some required utilities (e.g., git) are missing.

Source distributions and some binaries can be found in:

  http://www.nikhef.nl/~form/maindir/binaries/binaries.html
  https://github.com/vermaseren/form/releases

The latest source code can be obtained as

  git clone https://github.com/vermaseren/form.git
========================================================================
configure.ac:52: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:52: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Is this expected? What would be the workaround to compile FORM from source without cloning its git repository.

Cheers, Vladyslav

tueda commented 8 years ago

Yes, this was exactly why this message was prepared (ad3f1a225a and d059a5be7e). Unfortunately, the current automatic build system does not support to compile FORM from source without cloning the Git repository.