On Wed, Jul 22, 2009 at 4:52 PM, John Doe<[email protected]> wrote:
> checking for Java class org.apache.log4j.Logger... no

Log4J is now a dependency, but its not stated in the docs that its required.

It can be obtained from: http://logging.apache.org/log4j/1.2/

The following worked for me:

~# curl {LOG4J_MIRROR}/apache-log4j-1.2.15.tar.gz | tar zx
~# mv apache-log4j-1.2.15 $JAVA_LIBS_DIR
~# ln $JAVA_LIBS_DIR/apache-log4j-1.2.15 \
   $JAVA_LIBS_DIR/apache-log4j-latest
~# ln $JAVA_LIBS_DIR/apache-log4j-latest/log4j-1.2.15.jar \
   $JAVA_LIBS_DIR/apache-log4j-latest/log4j.jar

Then set $LOG4J_HOME to the above folder and add the
$LOG4J_HOME/log4j.jar to your CLASSPATH.

~# cd ~/thrift
~# echo "thrift.extra.cpath = $JAVA_LIBS_DIR/apache-log4j-latest/log4j.jar" \
   > ~/.thrift-build.properties
~# ./bootstrap
~# ./configure
~# make && make install

$JAVA_LIBS_DIR is where I keep all my java libraries (/opt/java/{pkg}).

-- 
Phillip B Oldham
[email protected]
+44 (0) 7525 01 09 01

Reply via email to