| Issue 280: | Compilation fail on freebsd | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. easy_install pyodbc Fail at compile time What version of the product are you using? On what operating system? 2.1.12, 3.0.6 on FreeBSD Please provide any additional information below. I add the patch, most of it is in FreeBSD ports
Sep 26, 2012
Project Member
#1
mkleehammer
Status:
Started
Sep 27, 2012
(No comment was entered for this change.)
Status:
Hold
Sep 28, 2012
I'm not an expert in distutils but it doesn't work with default settings for FreeBSD. Here a new patch that i think will integrate better in the distutils philosophy.
Sep 28, 2012
oops sorry forgot possible PREFIX env This one will be better
Dec 6, 2012
Those patches for setup.py work fine for standard installs but to properly respect the PREFIX variable it is a bit trickier (as in testing an install to /var/tmp/...) This one seems to work well for me when using the PORTS framework. There currently is a py-odbc port (2.1.5) in FreeBSD and I will submit an update Makefile and patches for the 3.0.6 version. |