How to build and compile apache Thrift on Solaris

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • join2tarun
    New Member
    • Jan 2015
    • 1

    How to build and compile apache Thrift on Solaris

    i have a machine having details

    SunOS p4981-01 5.11 11.2 sun4v sparc sun4v

    i am using boost_1_48.
    i am using thrift-0.9.0.tar.gz

    how i am configuring like this

    ./configure --prefix=/opt/local --with-boost=/opt/local/boost-1_48_0 --with-cpp CC='/opt/solstudio12.2/bin/CC'

    when i am doing make i am facing issues


    -bash-4.1$ make
    make all-recursive
    Making all in compiler/cpp
    make all-am
    source='thrifty .cc' object='libpars e_a-thrifty.o' libtool=no \
    DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
    CC -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -Wno-sign-compare -Wno-unused -g -c -o libparse_a-thrifty.o `test -f 'thrifty.cc' || echo './'`thrifty.cc
    ../../depcomp[669]: exec: CC: not found
    *** Error code 127
    make: Fatal error: Command failed for target `libparse_a-thrifty.o'
    Current working directory /u01/hfm/thrift-0.9.0/compiler/cpp
    *** Error code 1
    make: Fatal error: Command failed for target `all'
    Current working directory /u01/hfm/thrift-0.9.0/compiler/cpp
    *** Error code 1
    The following command caused the error:
    fail= failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=y es';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='compiler/cpp lib test'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$ target-am"; \
    else \
    local_target="$ target"; \
    fi; \
    (CDPATH="${ZSH_ VERSION+.}:" && cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /u01/hfm/thrift-0.9.0
    *** Error code 1
    make: Fatal error: Command failed for target `all'
Working...