that solved my problem. thank you.
 
 
jack.

Curt Arnold <[EMAIL PROTECTED]> wrote:

On Jun 10, 2006, at 12:23 AM, jack wu wrote:

> latest svn code build failed on 64 bit Redhat enterprise ES release
> 4. kernal 2.6.9, gcc 3.4.5. when running "ant" in the log4cxx
> source root directory.
>
> i suppose this is a ant build.xml problem, because i was able to go
> into log4cxx/lib/apr1.2.2 then log4cxx/lib/aprutil-1.2.2 to run ./
> configure, make, make install.
>
> however, i don't know what to do after that. please advice. thank you.
>
> jack.
>
> ps. note the following error apears when i run "ant", if i run "ant
> -Dcompiler=g++" i receive different errors.
>
>

Try

ant -Duse-pic=true

There is no auto-detection in the ant build on when the -fPIC option
needs to be specified on compiles. It can't always be specified
since it will result in an error on platforms that don't recognize
it. Specifying -Dcompiler=g++ appears to be forcing a C++ compile of
APR which is C.

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

Reply via email to