Author jeffr@livedata.com
Recipients amaury.forgeotdarc, benjamin.peterson, georg.brandl, jeffr@livedata.com, kristjan.jonsson, pitrou, python-dev, skrah
Date 2012-04-02.17:23:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <02AEAE825B884719AD4C4B21B083A5D6@corporate.cambridge.livedata.com>
In-reply-to
Content
Thanks for the pointer to the .msi.

The fix solved my apsw build problem.

I installed Python 3.3.a2 and apsw-3.7.11-r1.  I ran this build:

C:\Temp\apsw-3.7.11-r1>c:\Python33\python setup.py fetch --all 
build --enable-all-extensions install

apsw built and installed fine.  And my test app runs.

This line in accu.h did the trick:

#undef small /* defined by some Windows headers */

One of the apsw tests failed, but I don't think it had to do with the accu.h 
build problem.  Could be something I did wrong, or some issue between APSW 
and Python 3.3?

- Jeff

======================================================================
FAIL: testShell (tests.APSW)
Check Shell functionality
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Temp\apsw-3.7.11-r1\tests.py", line 6703, in testShell
    self.assertEqual(data, newdata)
AssertionError: Lists differ: [(3.1, 'xabc'), (3.2, 'xabfff"... != [(3.1, 
''), (
3.2, '')]

First differing element 0:
(3.1, 'xabc')
(3.1, '')

- [(3.1, 'xabc'), (3.2, 'xabfff"ffffc')]
+ [(3.1, ''), (3.2, '')]

----------------------------------------------------------------------
Ran 78 tests in 787.594s

FAILED (failures=1)

----- Original Message ----- 
From: "Stefan Krah" <report@bugs.python.org>
To: <jeffr@livedata.com>
Sent: Monday, April 02, 2012 09:31
Subject: [issue14387] Include\accu.h incompatible with Windows.h

Stefan Krah <stefan-usenet@bytereef.org> added the comment:

Jeff Robbins <report@bugs.python.org> wrote:
> I'm happy to try another build of apsw, but am not up-to-speed with how to
> get development copies of Python.  As a user, I typically download the
> latest Windows .msi file and install it. If  you can point me to a 
> document
> on how to proceed, I'll give it a try.

http://www.python.org/ftp/python/3.3.0/python-3.3a2.msi should have the fix.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue14387>
_______________________________________
History
Date User Action Args
2012-04-02 17:23:50jeffr@livedata.comsetrecipients: + jeffr@livedata.com, georg.brandl, amaury.forgeotdarc, pitrou, kristjan.jonsson, benjamin.peterson, skrah, python-dev
2012-04-02 17:23:49jeffr@livedata.comlinkissue14387 messages
2012-04-02 17:23:49jeffr@livedata.comcreate