-----Original Message-----
From: Jostein Tveit [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 14, 2008 7:20 PM
To: Log4CXX User
Subject: Re: log4cxx 0.10.0 Solaris build problem

"Chakravarthula, Krishnamurthy" <[EMAIL PROTECTED]> writes:


>   When I am building log4cxx 0.10.0 on Solaris and I get the
>   following errors. Please advice.

I have managed to build log4cxx 0.10.0 on Solaris, but I have not
used maven or ant.

I downloaded apr and apt-util from http://apr.apache.org and
built them separatly:

apr:
$ ./configure
$ make

apr-util:
$ ./configure --with-apr=<path to apr>

Then I built log4cxx:

$ ./configure --with-apr=<path to apr> --with-apr-util=<path to
apr-util>
$ make
$ make check

-- 
Jostein Tveit <[EMAIL PROTECTED]>

Hi Jostein,

I tried following two approaches

1. Downloaded apr-1.2.2 and apr-util-1.2.2 source code. Executed
aclocal, "automake --add-missing" and then ./configure 
   before executing make on apr. I get the following make error.

        configure.in: no proper invocation of AM_INIT_AUTOMAKE was
found.
        configure.in: You should verify that configure.in invokes
AM_INIT_AUTOMAKE,
        configure.in: that aclocal.m4 is present in the top-level
directory,
        configure.in: and that aclocal.m4 was recently regenerated
(using aclocal).
        configure.in:134: required file `build/install-sh' not found
        configure.in:134:   `automake --add-missing' can install
`install-sh'
        BUG.am: `install.sh' is an anachronism; use `install-sh' instead
        make: no `Makefile.am' found for any configure output

2. Installed apr-1.2.2 and apr-util-1.2.2 binaries. ./configure on
log4cxx gives me following error.

   checking whether g++ accepts -g... (cached) yes
   checking dependency style of g++... (cached) none
   checking how to run the C++ preprocessor... g++ -E
   checking for doxygen... no
   ./configure: line 21067: syntax error near unexpected token `,'
   ./configure: line 21067: `APR_FIND_APR( , , 1, 1)'

Please advice.

Regards,
Krishna

Reply via email to