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

please add autogen'd files to releases #3

Closed
beren12 opened this issue May 22, 2020 · 1 comment
Closed

please add autogen'd files to releases #3

beren12 opened this issue May 22, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@beren12
Copy link

beren12 commented May 22, 2020

The tools bail out if you don't use the git check-out version:

./autogen.sh 
Password:
aclocal: warning: couldn't open directory 'm4': No such file or directory
fatal: not a git repository (or any of the parent directories): .git
configure.ac:8: error: AC_INIT should be called with package and version arguments
/sw/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:8: the top level
autom4te: /sw/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
libgeneral/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
libgeneral/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
libgeneral/Makefile.am:6:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
libgeneral/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac', make sure
libgeneral/Makefile.am:6:   its definition is in aclocal's search path.
/sw/share/automake-1.15/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
/sw/share/automake-1.15/am/depend2.am:   The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
/sw/share/automake-1.15/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
/sw/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.15/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/sw/share/automake-1.15/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/sw/share/automake-1.15/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/sw/share/automake-1.15/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
aclocal: warning: couldn't open directory 'm4': No such file or directory
fatal: not a git repository (or any of the parent directories): .git
configure.ac:8: error: AC_INIT should be called with package and version arguments
/sw/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:8: the top level
autom4te-2.69: /sw/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

these are the generated files:

Makefile.am  autogen.sh  autom4te.cache  config.guess  config.h.in  config.log  config.sub  configure  configure.ac  depcomp  include  libgeneral  libgeneral.pc.in  libgeneral.xcodeproj

vs the git dir:

Makefile     Makefile.in  autogen.sh      compile       config.h     config.log     config.sub  configure.ac  include     libgeneral     libgeneral.pc.in      libtool    m4       stamp-h1
Makefile.am  aclocal.m4   autom4te.cache  config.guess  config.h.in  config.status  configure   depcomp       install-sh  libgeneral.pc  libgeneral.xcodeproj  ltmain.sh  missing
@tihmstar tihmstar added the wontfix This will not be worked on label Nov 27, 2020
@tihmstar
Copy link
Owner

Building without .git is not supported, since the versioning relies on git i.e. the version number is literally the number of git commits and the latest commit hash. Without git this information is not available and thus the version number can't be set correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants