logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <mark6...@yahoo.com>
Subject Re: ant build error - g4cxx: Cannot get information about host: unknown.host.local
Date Wed, 26 Jul 2006 14:03:31 GMT
Andreas,

> can you change the string "unknown.host.local"
> in line 70 of
tests/src/helpers/inetaddresstestcase.cpp to
> something  different, like "unknown.host.remote", 
> recompile and check if the tests
> then print the new string in the error message? If
> yes, I suppose a linking issue or a mixture of debug
> and non-debug libraries...

Yes, doing so caused the new string to be printed.

I'm not sure what to look for since I'm using the
standard vsvars32.bat and unmodified build.xml file.

Thanks,

Mark

--- Andreas Fester <afester@apache.org> wrote:

> Hi Mark,
> 
> this is strange since it is the host name which is
> used
> in the InetAddressTestCase to verify if the
> UnknownHostException
> works properly. Just to be sure: can you change the
> string "unknown.host.local"
> in line 70 of
> tests/src/helpers/inetaddresstestcase.cpp to
> something
> different, like "unknown.host.remote", recompile and
> check if the tests
> then print the new string in the error message? If
> yes, I suppose
> a linking issue or a mixture of debug and non-debug
> libraries...
> 
> Best Regards,
> 
> 	Andreas
> 
> Mark wrote:
> > I am trying to do a build for MS VC++ 7.1.  I am
> using
> > the latest ant and jdk 1.5.
> > 
> > I checked out the svn trunk and followed the
> > directions in the install file.  I have patch.exe
> and
> > sed.exe installed via cygwin (and cygwin\bin at
> the
> > end of my path).
> > 
> > The build of the .lib and .dll seems to succeed,
> but I
> > get an error during the test.  Here is the output:
> > 
> > [exec] 2006-07-25 17:38:22,305 DEBUG
> > org.apache.log4j.rolling.SizeBasedRoll
> > ingTest -Hello--24
> >      [exec]
> >
>
..................................................................lo
> > g4cxx: Cannot get information about host:
> > unknown.host.local
> >      [exec]
> .......................................
> > 
> > 
> >      [exec] !!!FAILURES!!!
> >      [exec] Test Results:
> >      [exec] Run:  261   Failures: 0   Errors: 1
> > 
> >      [exec] 1) test:
> > OptionConverterTestCase::testUserHome (E)
> >      [exec] uncaught exception of unknown type
> > 
> > BUILD FAILED
> > C:\development\log4cxx\trunk\build.xml:1082: exec
> > returned: 1
> > 
> > Any suggestions on what I am missing?
> > 
> > Thanks
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> 
> 


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

Mime
View raw message