You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Martin Eigel <ma...@yahoo.com> on 2005/09/26 22:57:52 UTC

problems building log4cxx

Hi there,

I am unable to compile the current log4cxx CVS
sources. Starting ant:

export
CLASSPATH=/home/martin/libs/java/cpptasks.jar:/home/martin/libs/java/ant-contrib.jar

ant

results in:

Unable to locate tools.jar. Expected to find it in
/usr/lib/j2re1.5-sun/lib/tools.jar
Buildfile: build.xml

os-detect:

win-init:

mac-init:

unix-init:

init:

BUILD FAILED
/home/martin/libs/log4cxx/logging-log4cxx/build.xml:217:
later version of cpptasks required

Required features not present in cpptasks releases
prior to Feb 2005


I am using Ubuntu 5.04, Sun's java
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed
mode, sharing)
 
and presumably the latest helper libs
ant-contrib-1.0b2-bin.tar.bz2
cpptasks-1.0b3.tar.gz

Any hints are highly appreciated.
Martin.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: problems building log4cxx

Posted by Curt Arnold <ca...@apache.org>.
On Sep 26, 2005, at 3:57 PM, Martin Eigel wrote:
> BUILD FAILED
> /home/martin/libs/log4cxx/logging-log4cxx/build.xml:217:
> later version of cpptasks required
>
> Required features not present in cpptasks releases
> prior to Feb 2005
>
> and presumably the latest helper libs
> ant-contrib-1.0b2-bin.tar.bz2
> cpptasks-1.0b3.tar.gz
>
> Any hints are highly appreciated.
> Martin.


You have to build cpptasks and ant-contrib from their CVS HEAD, since  
the log4cxx build depends on features that are not present in the  
currently available releases.