Jostein,

  I downloaded
http://mirrorservice.nomedia.no/apache.org/apr/apr-1.2.12.tar.gz
unzipped and then executed ./configure. Then executed make and I got
following error. Please advice.


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


Regards,
Krishna


-----Original Message-----
From: Jostein Tveit [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 15, 2008 6:21 PM
To: Log4CXX User
Subject: Re: log4cxx 0.10.0 Solaris build problem

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

> 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.

I don't think you have to run aclocal before ./configure.

Just download apr
(e.g. http://mirrorservice.nomedia.no/apache.org/apr/apr-1.2.12.tar.gz)
uzip and then run:
$ ./configure
$ make

Then download apr-util
(e.g.
http://mirrorservice.nomedia.no/apache.org/apr/apr-util-1.2.12.tar.gz)
unzip and then run:
$ ./configure --with-apr=<path to apr source dir>
$ make

Then download log4cxx
(e.g.
http://www.powertech.no/apache/dist/logging/log4cxx/0.10.0/apache-log4cx
x-0.10.0.tar.gz)
unzip and then run:
$ ./configure --with-apr=<path to apr source dir> --with-apr-util=<path
to apr-util source dir>
$ make
$ make check


Did you try this?


-- 
Jostein Tveit <[EMAIL PROTECTED]>

Reply via email to