I have hit a similar problem on Linux. The workaround that I found was to
manually call the configure script in the apr and apr-util projects that
are downloaded to the lib logging-log4cxx/lib directory.
Hope this helps.
Jim
|---------+---------------------------->
| | Chris Williams |
| | <chris_d_williams|
| | @yahoo.com> |
| | |
| | 05/09/2005 08:04 |
| | AM |
| | Please respond to|
| | "Log4CXX User" |
|---------+---------------------------->
>----------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: Log4CXX User <[email protected]>
|
| cc:
|
| Subject: Re: Errors compiling apr-1.1.0 with cc task on Solaris 10
|
>----------------------------------------------------------------------------------------------------------------------------------|
Curt, I would like to try and help the project with
Solaris 10 since I have it at home running on a Ultra
60. I did get a bit further and I plan on emailing my
steps and where I am later today.
One question about the build.xml. Is there a way to
add additional -L paths without having to modify the
build.xml? I added one additional <linkerarg> to
point to /usr/local/lib so it would pull in my expat
install. It would be nice if there was a way to do
that from the ant command line.
Thanks
Chris
--- Curt Arnold <[EMAIL PROTECTED]> wrote:
>
> On May 8, 2005, at 8:57 AM, Chris Williams wrote:
>
> > I am trying to compile the cvs head version of
> log4cxx on Solaris 10.
> > I
> > grabed the cvs versions of ant-contrib, cpptask,
> and log4cxx. I am
> > using
> > ant 1.6.3 and gcc 3.4.2. I have attached a sample
> of the errors I get
> > from
> > the cc task. Now when I went in to the
> lib/apr-1.1.0 directory and
> > did a
> > make using the files that configure generated, it
> builds fine. Is
> > there a
> > way to a more verbose output from the cc task?
> Could log4cxx be
> > configured
> > to use the make files that apr-1.1.0 generates?
> >
>
> More verbose: ant -v
>
> To use an already built apr and apr-util, you can
> specify
>
> ant -Dapr.dir=/usr/local/apr
>
> I've tried to get Solaris 10 working in Virtual PC
> 2004 before, but
> haven't had much success. I would like to have it
> as one of the
> platforms that we regularly build on. I'll try to
> dig into this
> deeper.
>
>