Following : http://www.datastax.com/docs/1.1/install/install_rpm
Prerequisites:
$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.3.fc17.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
$ python -V
Python 2.7.3
$ openssl version
OpenSSL 1.0.0j-fips 10 May 2012
Next, add yum repo:
$ sudo gedit /etc/yum.repos.d/datastax.repo
And copy/paste :
[datastax]
name= DataStax Repo for Apache Cassandra
baseurl=http://rpm.datastax.com/community
enabled=1
gpgcheck=0
Finally, install the package:
$ sudo yum install dsc1.1
Result:
Resolving Dependencies
--> Running transaction check
---> Package dsc1.1.noarch 0:1.1.6-1 will be installed
--> Processing Dependency: apache-cassandra11 >= 1.1.6 for package: dsc1.1-1.1.6-1.noarch
--> Processing Dependency: python26-cql for package: dsc1.1-1.1.6-1.noarch
--> Running transaction check
---> Package apache-cassandra11.noarch 0:1.1.6-1 will be installed
---> Package python26-cql.noarch 0:1.0.10-1 will be installed
--> Processing Dependency: /usr/bin/python2.6 for package: python26-cql-1.0.10-1.noarch
--> Processing Dependency: python26-thrift for package: python26-cql-1.0.10-1.noarch
--> Running transaction check
---> Package python26-cql.noarch 0:1.0.10-1 will be installed
--> Processing Dependency: /usr/bin/python2.6 for package: python26-cql-1.0.10-1.noarch
---> Package python26-thrift.x86_64 0:0.7.0-2 will be installed
--> Processing Dependency: /usr/bin/python2.6 for package: python26-thrift-0.7.0-2.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python26-thrift-0.7.0-2.x86_64
--> Processing Dependency: /usr/bin/python2.6 for package: python26-cql-1.0.10-1.noarch
--> Processing Dependency: /usr/bin/python2.6 for package: python26-thrift-0.7.0-2.x86_64
--> Finished Dependency Resolution
Error: Package: python26-thrift-0.7.0-2.x86_64 (datastax)
Requires: /usr/bin/python2.6
Error: Package: python26-cql-1.0.10-1.noarch (datastax)
Requires: /usr/bin/python2.6
Error: Package: python26-thrift-0.7.0-2.x86_64 (datastax)
Requires: libpython2.6.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Have I done something wrong? Is it because it really wants version 2.6 of Python and I have 2.7? Thans for any help.
Paul: the shortest path to solving your problem is to wait until the 1.1.7 rpms are released, which should be next week.
The dsc1.1 package doesn't depend on any particular version of python (I tried to fix this back in 1.1.5) but as your transcript makes clear, it depends on the python26-cql package, and that package has an explicit dependency on 2.6. If you were able to force the installation of python26-cql, the installation of dsc1.1 (and apache-cassandra11) would proceed without a hitch. (I reorganized the 1.1.7 packages not to depend on python-cql at all, accidentally solving this problem along the way.)
My apologies for the inconvenience and my thanks for the transcript which finally cleared up what's been going on.