autogen.sh error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,
there is some error, when I try build on macos 12.3 with apple M1 pro.  I have installed autoconf、automake and libtool, but some errors occours when run autogen.sh.
Would you help me,thank you very much!

Best wishes!

% ./autogen.sh          
: command not found1: :
configure.ac:9785: warning: macro 'AM_PATH_PYTHON' not found in library
configure.ac:9827: warning: macro 'AM_PATH_PYTHON' not found in library
configure.ac:9874: warning: macro 'AM_PATH_PYTHON' not found in library
 --srcdir=/Volumes/Untitled/Libreoffice/core --enable-option-checking=fatal'
./configure: line 1: syntax error near unexpected token `('
./configure: line 1: `m4trace:configure.ac:12: -1- AC_INIT([LibreOffice], [7.4.0.0.alpha0+], [], [], [http://documentfoundation.org/])'
Error running configure at ./autogen.sh line 322.
 
% ./configure           
./configure: line 1: syntax error near unexpected token `('
./configure: line 1: `m4trace:configure.ac:12: -1- AC_INIT([LibreOffice], [7.4.0.0.alpha0+], [], [], [http://documentfoundation.org/])’
configure file like this:
m4trace:configure.ac:12: -1- AC_INIT([LibreOffice], [7.4.0.0.alpha0+], [], [], [http://documentfoundation.org/])
m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:12: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:12: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:12: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:12: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?AS_])
#! /bin/sh
m4trace:configure.ac:12: -1- AC_SUBST([SHELL])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:12: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:12: -1- AC_SUBST([PATH_SEPARATOR])









[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux