My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 206: Error compiling py3 branch of pyodbc
3 people starred this issue and may be notified of changes. Back to list
Status:  Complete
Owner:  ----
Closed:  Nov 2011


 
Reported by andres.o...@gmail.com, Aug 30, 2011
I've downloaded py3 branch of pyodbc:

# git clone --branch py3 https://code.google.com/p/pyodbc/

After I've made compiling:

# cd pyodbc
# python3 setup.py install

But doesn't compile due an C error:

  cc1plus: warning: command line option "-Wstrict-prototypes" is valid     for Ada/C/ObjC but not for C++
  In file included from /tmp/pyodbc/src/pyodbc.h:151:0,
                 from /tmp/pyodbc/src/row.cpp:12:
  /tmp/pyodbc/src/pyodbccompat.h:106:8: warning: extra tokens at end of #endif directive
  /tmp/pyodbc/src/row.cpp:386:1: error: invalid conversion from ‘PyObject* (*)(PyObject*, Py_ssize_t, Py_ssize_t)’ to ‘void*’
  /usr/include/python3.2mu/datetime.h:185:25: warning: ‘PyDateTimeAPI’  defined but not used
  error: command 'gcc' failed with exit status 1








Sep 1, 2011
#3 andres.o...@gmail.com
Ok. I though that in Isse 201 was compiling with python 2.7 (2. Build using python 2.7 (setyp.py doesn't seem to work in python 3.x, syntax error)).

Sorry.
Sep 1, 2011
#4 nickl...@gmail.com
You are right, I just wanted to say "me too", really.
Sep 27, 2011
#5 neilbed...@gmail.com
Same here Python 3.2.2 64 bit Ubuntu 11.04
Nov 2, 2011
Project Member #6 mkleehammer
Fixed in 3.0.1

Status: Complete

Powered by Google Project Hosting