compilation - docker unable to compile program (possibly undefied macro AC_MSG_ERROR) -
i'm trying compile following program inside of docker container.
https://github.com/adaptivecomputing/torque
when attempting run autoconf
given error "possibly undefined macro: ac_msg_error"
google has dozens of results exact error. of them solved installing pkg-config or libtool-ltdl
as can see docker file, both of packages installed.
from centos run yum install -y autoconf make autogen gcc gcc-c++ openssl-devel git libxml2-devel libtool libtool-ltdl run git clone git://github.com/adaptivecomputing/torque.git -b 4.2.6.1 /tmp/pbs_server run cd /tmp/pbs_server run autoconf run ./configure --with-debug run make -j4 run make install
here error when running docker build .
step 4 : run autoconf configure.ac:50: error: possibly undefined macro: ac_msg_error if token , others legitimate, please use m4_pattern_allow. see autoconf documentation. configure.ac:54: error: possibly undefined macro: am_init_automake configure.ac:57: error: possibly undefined macro: am_prog_cc_c_o configure.ac:63: error: possibly undefined macro: am_maintainer_mode configure.ac:82: error: possibly undefined macro: am_config_header configure.ac:144: error: possibly undefined macro: am_conditional configure.ac:644: error: possibly undefined macro: ac_prog_libtool configure.ac:651: error: possibly undefined macro: am_prog_lex configure.ac:2053: error: possibly undefined macro: ac_decl_h_errno configure.ac:2056: error: possibly undefined macro: ac_decl_fd_set_sys_select_h configure.ac:2138: error: possibly undefined macro: ac_c_bigendian_cross configure.ac:2204: error: possibly undefined macro: ac_create_generic_config
i have no problems compiling program outside of docker , inside normal server. suspect there library or missing.
can explain why getting error, or better yet, how work around it?
you need install autoconf, automake, , libtool. , possibly pkgconfig. after that, run autogen.sh
script. autotool scripts should in place, , can configure package.
Comments
Post a Comment