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

./configure: 2581: Syntax error: word unexpected (expecting ")") #92

Open
Marietto2008 opened this issue Jun 27, 2022 · 1 comment
Open

Comments

@Marietto2008
Copy link

On FreeBSD 13.1-RELEASE :

mario@marietto:/home/marietto/Desktop/Downloads/diod-master # ./autogen.sh

Running aclocal ...
fatal: not a git repository (or any of the parent directories): .git
configure.ac:15: error: AC_INIT should be called with package and version arguments
/usr/local/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:15: the top level
autom4te2.71: error: /usr/local/bin/gm4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
Running autoheader ...
fatal: not a git repository (or any of the parent directories): .git
autoheader2.71: error: error: AC_CONFIG_HEADERS not found in configure.ac
Running automake ...
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)
configure.ac:9: installing 'config/config.guess'
configure.ac:9: installing 'config/config.sub'
Makefile.am:11: error: ENABLE_TESTS does not appear in AM_CONDITIONAL
diod/Makefile.am: installing 'config/depcomp'
/usr/local/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.16/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/local/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/local/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.16/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/local/share/automake-1.16/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/local/share/automake-1.16/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/local/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
libdiod/Makefile.am:21: error: RDMATRANS does not appear in AM_CONDITIONAL
libnpfs/Makefile.am:25: error: USE_IMPERSONATION_LINUX does not appear in AM_CONDITIONAL
libnpfs/Makefile.am:28: error: USE_IMPERSONATION_GANESHA does not appear in AM_CONDITIONAL
libnpfs/Makefile.am:35: error: RDMATRANS does not appear in AM_CONDITIONAL
tests/kern/Makefile.am:17: error: DBENCH does not appear in AM_CONDITIONAL
parallel-tests: installing 'config/test-driver'
/usr/local/share/automake-1.16/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.16/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.16/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL
utils/Makefile.am:13: error: ENABLE_DIODMOUNT does not appear in AM_CONDITIONAL
utils/Makefile.am:58: error: ENABLE_DIODMOUNT does not appear in AM_CONDITIONAL
Running autoconf ...
fatal: not a git repository (or any of the parent directories): .git
configure.ac:62: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:62: the top level
configure.ac:250: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
configure.ac:10: error: possibly undefined macro: X_AC_EXPAND_INSTALL_DIRS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:15: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:20: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:22: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:31: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:49: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:88: error: possibly undefined macro: X_AC_CHECK_PTHREADS
configure.ac:89: error: possibly undefined macro: X_AC_WRAP
configure.ac:90: error: possibly undefined macro: X_AC_CHECK_COND_LIB
configure.ac:92: error: possibly undefined macro: X_AC_TCMALLOC
configure.ac:93: error: possibly undefined macro: X_AC_RDMATRANS
configure.ac:201: error: possibly undefined macro: AM_CONDITIONAL
Cleaning up ...
mv: rename aclocal.m4 to config/aclocal.m4: No such file or directory
Now run ./configure to configure diod for your environment.

mario@marietto:/home/marietto/Desktop/Downloads/diod-master # ./configure
checking build system type... amd64-unknown-freebsd13.1
checking host system type... amd64-unknown-freebsd13.1
./configure: X_AC_EXPAND_INSTALL_DIRS: not found
./configure: 2581: Syntax error: word unexpected (expecting ")")

@snogge
Copy link
Contributor

snogge commented Oct 23, 2024

Is this fixed by af5972f in #97 ?

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