methew / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Error when compiling 3.0.6 on MacOS 10.8 with 32-bit Python 2.7.5 #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Download 3.0.6 from Google Code site
2. Unzip tar-file and cd into directory
3. Enter: /usr/local/bin/python2.7 setup.py build

What is the expected output? What do you see instead?

Expected: successfully complete build and install

Instead: 
---snip---
running build
running build_ext
building 'pyodbc' extension
/ A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p 
e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u 
s r / b i n / c l a n g   - f n o - s t r i c t - a l i a s i n g   - f n o - c 
o m m o n   - d y n a m i c       - a r c h   i 3 8 6   - g   - O 2   - D N D E 
B U G   - g   - O 3   -DPYODBC_VERSION=3.0.6 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
/Users/admin/Desktop/pyodbc-3.0.6/src/buffer.cpp -o 
build/temp.macosx-10.3-fat-2.7/Users/admin/Desktop/pyodbc-3.0.6/src/buffer.o
unable to execute /: Permission denied
error: command '/' failed with exit status 1
---/snip---

What version of the product are you using? On what operating system?

- MacOS 10.8.4 on iMac
- Xcode 4.6.3
- Python 2.7.5 / 32-bit (cannot run 64-bit because of other module)
- PyODBC 3.0.6

Original issue reported on code.google.com by p.obernd...@gmail.com on 30 Jun 2013 at 3:15

GoogleCodeExporter commented 9 years ago
Apologies, I forgot to install the command line tools in XCode first:

-> Preferences
-> Downloads
-> Components
-> Command Line Tools
-> Install

@Mike: please close issue 328. Thank you!

Original comment by p.obernd...@gmail.com on 10 Jul 2013 at 9:16