Skip to content

Compilation errors. #22

@atulskulkarni

Description

@atulskulkarni

I am trying to compile libcassandra and I cannot get beyond this error. Something wrong with the libtool?

Below is the command output for ./config/autorun.sh

config/autorun.sh: running /usr/bin/libtoolize --automake --copy --force' config/autorun.sh: running/usr/bin/aclocal-1.9 -I m4'
config/autorun.sh: running /usr/bin/autoheader' config/autorun.sh: running/usr/bin/automake-1.9 --add-missing --copy --force'

config/autorun.sh: running `/usr/bin/autoconf'

Configured with the following tools:

  • libtoolize (GNU libtool) 1.5.22
  • aclocal (GNU automake) 1.9.6
  • autoheader (GNU Autoconf) 2.59
  • automake (GNU automake) 1.9.6

* autoconf (GNU Autoconf) 2.59

then I executed ./configure
which I think went alright (not pasting output to save space, can paste it if it is needed.)

-- Then I tried running make this is what comes out.

make all-recursive
make[1]: Entering directory /root/Cass/libcass' make[2]: Entering directory/root/Cass/libcass'
if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -ggdb3 -I/root/boost_1_47_0 -I/include/thrift -pipe -std=gnu++98 -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wno-redundant-decls -MT libgenthrift/libgenthrift_libgenthrift_la-cassandra_constants.lo -MD -MP -MF "libgenthrift/.deps/libgenthrift_libgenthrift_la-cassandra_constants.Tpo" -c -o libgenthrift/libgenthrift_libgenthrift_la-cassandra_constants.lo test -f 'libgenthrift/cassandra_constants.cpp' || echo './'libgenthrift/cassandra_constants.cpp;
then mv -f "libgenthrift/.deps/libgenthrift_libgenthrift_la-cassandra_constants.Tpo" "libgenthrift/.deps/libgenthrift_libgenthrift_la-cassandra_constants.Plo"; else rm -f "libgenthrift/.deps/libgenthrift_libgenthrift_la-cassandra_constants.Tpo"; exit 1; fi
./libtool: line 807: X--tag=CXX: command not found
./libtool: line 840: libtool: ignoring unknown tag : command not found
./libtool: line 807: X--mode=compile: command not found
./libtool: line 973: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 974: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1117: Xg++: command not found
./libtool: line 1117: X-DHAVE_CONFIG_H: command not found
./libtool: line 1117: X-I.: command not found
./libtool: line 1117: X-I.: command not found
./libtool: line 1117: X-ggdb3: command not found
./libtool: line 1117: X-I/root/boost_1_47_0: No such file or directory
./libtool: line 1117: X-I/include/thrift: No such file or directory
./libtool: line 1117: X-pipe: command not found
./libtool: line 1117: X-std=gnu++98: command not found
./libtool: line 1117: X-O3: command not found
./libtool: line 1117: X-Werror: command not found
./libtool: line 1117: X-pedantic: command not found
./libtool: line 1117: X-Wall: command not found
./libtool: line 1117: X-Wundef: command not found
./libtool: line 1117: X-Wshadow: command not found
./libtool: line 1117: X-fdiagnostics-show-option: command not found
./libtool: line 1117: X-Wformat: command not found
./libtool: line 1117: X-fno-strict-aliasing: command not found
./libtool: line 1117: X-Wno-strict-aliasing: command not found
./libtool: line 1117: X-Wextra: command not found
./libtool: line 1117: X-Woverloaded-virtual: command not found
./libtool: line 1117: X-Wnon-virtual-dtor: command not found
./libtool: line 1117: X-Wctor-dtor-privacy: command not found
./libtool: line 1117: X-Wno-long-long: command not found
./libtool: line 1117: X-Wno-redundant-decls: command not found
./libtool: line 1117: X-MT: command not found
./libtool: line 1117: Xlibgenthrift/libgenthrift_libgenthrift_la-cassandra_constants.lo: No such file or directory
./libtool: line 1117: X-MD: command not found
./libtool: line 1117: X-MP: command not found
./libtool: line 1117: X-MF: command not found
./libtool: line 1117: Xlibgenthrift/.deps/libgenthrift_libgenthrift_la-cassandra_constants.Tpo: No such file or directory
./libtool: line 1117: X-c: command not found
./libtool: line 1168: Xlibgenthrift/libgenthrift_libgenthrift_la-cassandra_constants.lo: No such file or directory
./libtool: line 1173: libtool: compile: cannot determine name of library object from ': command not found make[2]: *** [libgenthrift/libgenthrift_libgenthrift_la-cassandra_constants.lo] Error 1 make[2]: Leaving directory/root/Cass/libcass'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Cass/libcass'
make: *** [all] Error 2

I am just toying with this. I am not a big libcassandra dev or something just playing around to get a hang of it.

Did I miss something?

Thanks and Regards,
Atul.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions