I am trying to build zookeeper 3.4.12 c client on solaris machine. Below are
the steps that I followed,
1) unzip/untar the source tarball and cd to the zookeeper-x.x.x/src/c
directory.
2) Do a "./configure [OPTIONS]" to generate the makefile.
./configure --without-cppunit
This step fails with below error,
/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Werror -g -O2
-D_GNU_SOURCE -no-undefined -version-info 2 -lnsl -lsocket
-export-symbols-regex
'(zoo_|zookeeper_|zhandle|Z|format_log_message|log_message|logLevel|deallocate_|allocate_|zerror|is_unrecoverable)'
-o libzookeeper_st.la -rpath /usr/local/lib libzkst.la libhashtable.la
libtool: link: /bin/nm -p ./.libs/libzkst.a ./.libs/libhashtable.a | |
/bin/gsed 's/.* //' | sort | uniq > .libs/libzookeeper_st.exp
./libtool[1732]: eval: syntax error at line 1: `|' unexpected
*** Error code 3
make: Fatal error: Command failed for target `libzookeeper_st.la'
Any idea on the error?
Regards,
Ashwini.
--
Sent from: http://zookeeper-user.578899.n2.nabble.com/