logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ToddA <starman...@gmail.com>
Subject Re: Using VC6 on XP to build log4cxx from latest trunk
Date Sun, 07 Sep 2014 18:14:54 GMT
Thorsten Schöning <tschoening <at> am-soft.de> writes:

> Guten Tag ToddA,
> am Sonntag, 7. September 2014 um 02:32 schrieben Sie:
> > I had used TortoiseSVN Repository Browser to download trunk and didn't
> > realize it would be incomplete.
> It normally isn't, it doesn't matter which client or OS you use to
> checkout, you should always get the same content. Did you maybe only
> checkout "src" instead of trunk?
> > Just to clarify, after I did 'svn checkout' on my Linux box I 
> > the etnire contents to Win XP. I'm still doing the build on Win XP and 
> > Linux.
> That shouldn't be necessary and is unsupported by Subversion as well,
> you should avoid such things. Instead checkout using Tortoise again
> and double check the paths you select in the browser and get
> afterwards in your file system. I user Tortoise myself, there really
> is no problem with checking out trunk or whatever. I even checked out
> the whole directory structure with all tags and branches.
> > [ERROR] C:\Documents and
> > Settings\taa\Desktop\project92\apache-log4cxx-from-
> > svn.140905\src\ant\common.xml:102: Execute failed: java.io.IOException:
> > Cannot run program "where": CreateProcess error=2, The system cannot 
> > the file specified
> [...]
> > Where do I get the program 'where'?
> This is by default available on newer versions of Windows, so just buy
> a Windows 8 and get happy.  I removed the logic which used
> where.exe, it has been introduced to make the build usable with
> another compiler, but it looks as if this goal can't be reached with
> the current approach anyways. So update your trunk and give it another
> try.
> https://issues.apache.org/jira/browse/LOGCXX-421
> Mit freundlichen Grüßen,
> Thorsten Schöning

Hi Thorsten,

You're right -- I downloaded only src by mistake and not trunk so pom.xml 
was missing because of that.

I downloaded the latest trunk this morning and have new and different build 
errors. Complete log is here: http://pastebin.com/zpKfm7i9

Short version:

1) Multiple errors when building apr_dbd_odbc.c. Of course, odbc is one of 
the appenders I do want to use with log4cxx. :(

2) Identical error when compiling xmlparse.c and apr_xml.c:
       [cc] C:\Documents and Settings\taa\Desktop\project92\apr-
util\xml\expat\lib\expat.h(83) : note C6311: unknown(0) : see previous 
definition of 'XMLPARSEAPI'

3) Ending build errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-
plugin:1.7:run (compile) on project apache-log4cxx: An Ant BuildException 
has occured: The following error occurred while executing this line:
[ERROR] C:\Documents and Settings\taa\Desktop\project92\apache-log4cxx-from-
svn.140907\build.xml:644: The following error occurred while executing this 
[ERROR] C:\Documents and Settings\taa\Desktop\project92\apache-log4cxx-from-
svn.140907\src\ant\apr-util-build.xml:284: cl failed with return code 2
[ERROR] around Ant part ...<ant target="build"/>... @ 4:24 in C:\Documents 
and Settings\taa\Desktop\project92\apache-log4cxx-from-

View raw message