nicknezis edited a comment on pull request #3555:
URL: https://github.com/apache/incubator-heron/pull/3555#issuecomment-656176664


   I'm getting this error when trying to build on `darwin` (OSX):
   ```
   ERROR: 
/private/var/tmp/_bazel_nnezis/42af5204dd5936eb8287d40b2ccac539/external/org_apache_zookeeper/BUILD.bazel:7:8:
 Executing genrule @org_apache_zookeeper//:zookeeper-srcs failed (Exit 1)
   acinclude.m4:315: warning: macro 'AM_PATH_CPPUNIT' not found in library
   configure.ac:37: error: Missing AM_PATH_CPPUNIT or PKG_CHECK_MODULES m4 
macro.
   acinclude.m4:327: CHECK_CPPUNIT is expanded from...
   configure.ac:37: the top level
   autom4te: /usr/bin/m4 failed with exit status: 1
   aclocal: error: echo failed with exit status: 1
   autoreconf: aclocal failed with exit status: 1
   Buildfile: 
/private/var/folders/nv/s1d1vxld0c51bfkmxltp0zk80000gn/T/zookeeper.XXXXX.urp0mbJd/build.xml
   ```
   I even tried adding `--without-cppunit` to the `./configure` line, but 
without success.
   
   I also tried `brew install javacc` and `brew install cppunit` to work 
through issues I found. Not sure what else I might need.
   ```
   ❯ ./bazel_configure.py
   Platform Darwin
   Using C compiler          :  /usr/bin/gcc (4.2.1)
   Using C++ compiler        :  /usr/bin/g++ (4.2.1)
   Using C preprocessor      :  /usr/bin/cpp (11.0.0)
   Using C++ preprocessor    :  /usr/bin/cpp (11.0.0)
   Using linker              :  /usr/bin/ld
   Using JDK                 :  
/System/Library/Frameworks/JavaVM.framework/Versions/A
   Using Automake            :  /usr/local/Cellar/automake/1.16.2/bin/automake 
(1.16.2)
   Using Autoconf            :  /usr/local/Cellar/autoconf/2.69/bin/autoconf 
(2.69)
   Using Make                :  /usr/bin/make (3.81)
   Using Python3             :  
/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/bin/python3.8
 (3.8.3)
   Using Libtool             :  /usr/local/Cellar/libtool/2.4.6_2/bin/glibtool 
(2.4.6)
   Using archiver            :  /usr/bin/ar
   Using coverage tool       :  /usr/bin/gcov
   dwp                       :  not found, but ok
   Using nm                  :  /usr/bin/nm
   objcopy                   :  not found, but ok
   Using objdump             :  /usr/bin/objdump
   Using strip               :  /usr/bin/strip
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to