dinhvh / libetpan

Mail Framework for C Language
www.etpan.org
Other
612 stars 284 forks source link

error when executing autogen.sh #409

Closed mattaojie closed 2 years ago

mattaojie commented 2 years ago

I tried to build library on android, but when I executing ./autogen.sh , I got these errors and there is no libetpan-config.h file in the folder.

Warning: I am going to run configure' with default arguments. If you wish to pass any others to it, please specify them on the ./autogen.sh' command line.

Running libtoolize... libtoolize: putting auxiliary files in .'. libtoolize: copying file./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: copying filem4/libtool.m4' libtoolize: copying file m4/ltoptions.m4' libtoolize: copying filem4/ltsugar.m4' libtoolize: copying file m4/ltversion.m4' libtoolize: copying filem4/lt~obsolete.m4' Running aclocal... configure.ac:81: error: "Missing pkg-config macros" configure.ac:81: the top level autom4te: error: /usr/local/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 Running autoheader... configure.ac:81: error: "Missing pkg-config macros" configure.ac:81: the top level autom4te: error: /usr/local/bin/m4 failed with exit status: 1 autoheader: error: '/usr/local/bin/autom4te' failed with exit status: 1 Running autoconf ... configure.ac:81: error: "Missing pkg-config macros" configure.ac:81: the top level autom4te: error: /usr/local/bin/m4 failed with exit status: 1 Running automake... configure.ac:81: error: "Missing pkg-config macros" configure.ac:81: the top level autom4te: error: /usr/local/bin/m4 failed with exit status: 1 automake: error: autoconf failed with exit status: 1 Running ./configure --enable-debug ... ./autogen.sh: line 85: ./configure: No such file or directory