You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Curt Arnold <ca...@apache.org> on 2006/02/05 03:09:38 UTC
log4cxx on HP UX with aCC compiler (was Re: Intended commits for L7dTestCase (LOGCXX-125))
On Feb 4, 2006, at 2:22 PM, Narasimha Rao wrote:
> Dear Arnold,
> DO you know anybody using Log4CXX on HP UX with aCC compiler.
> I need to compile Log4CXX with aCC compiler on HP UX 11.11.
> I need a make file to compile the code and do we need any specific
> libraries lile xml2 etc.. before compile?
> Can you pleae help me?
> While compiling i got one error like error before or after ' ( '
> in socket.h line 248 etc...
> Thank you,
> Nara
>
I am not aware of anyone using log4cxx on HP UX with a aCC
compiler. If anyone else on the list knows, please speak up.
Do you have a Java VM on the machine? Have you tried using the Ant
based build?
1. Download Ant 1.6.5 from http://ant.apache.org
2. Checkout CVS HEAD of cpptasks (see http://sf.net/projects/ant-
contrib) and build
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ant-contrib login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ant-contrib
co -P cpptasks
export PATH /home/foo/apache-ant-1.6.5/bin;$PATH$
cd cpptasks
ant
3. Put cpptasks.jar on classpath
export CLASSPATH /home/foo/cpptasks/build/lib/cpptasks.jar
4. Build log4cxx
I believe that the default mirror used for cppunit is no longer
responding. You can override it, but finding a mirror name from
http://sf.net/projects/cppunit files page and then specifying
cd log4cxx
ant -Dcompiler=aCC -Dcppunit.mirror=http://example.com/example/
sourceforge -l build.log
If you do get a compiler error on aCC, file a JIRA issue and attach
the full build session log (specified with the -l option switch)