Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "DebianPackaging" page has been changed by JonathanEllis.
The comment on this change is: add buildpackage command.
http://wiki.apache.org/cassandra/DebianPackaging?action=diff&rev1=13&rev2=14

--------------------------------------------------

   * The configuration files are located in /etc/cassandra
   * Start-up options (heap size, etc) can be configured in 
/etc/default/cassandra
  
- === (Problems )Building Packages on Debian Lenny ===
+ === Building Packages on Debian ===
+ 
+ Once all the build dependencies are set up, all you need to do is run
+ 
+ {{{
+ dpkg-buildpackage -uc -us
+ }}}
+ 
+ Troubleshooting:
+ 
+ Make sure you are building with the Sun JDK, not OpenJDK, and not gcj.  You 
want to see something like this:
+ 
+ {{{
+ # java -version
+ java version "1.6.0_20"
+ Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
+ Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
+ }}}
  
  By default, installing the Casasndra Debian package or its build dependencies 
will pull in OpenJDK.  For runtime purposes this will work fine, but due to an 
issue with the packaging of OpenJDK in Lenny (see 
http://bugs.debian.org/501487), building the package from source will fail.  If 
you need to (re)build the package on Lenny, install `sun-java6-jdk` before-hand 
(`sun-java6-jdk` provides `java6-sdk` which satisfies the dependency), or use 
the alternatives system to change the default compiler afterward.
  

Reply via email to