-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't built on OSX #1
Comments
I fixed some problems when trying to compile iODBC using the latest XCode package on Mac OS X 10.8. Please checkout the latest develop branch of iODBC. note that you need to have autoconf/automake/libtool which are not shipped anymore with recent versions of Xcode. I suggest you install them using homebrew, fink or macports. |
Brilliant! thank you for the answer. Installing Homebrew now and trying again. I will get back to this thread with results. |
I can run on OSX 10.6 with the dmg build on the web site, pyodbc (sudo pip install http://river.styx.org/ww/2010/10/pyodbc-spasql/pyodbc-virtuoso-2.1.9-beta14.tar.gz), and the Virtuoso 0.12.6 plug-in (https://pypi.python.org/pypi/virtuoso) for Python. When I run on 10.8, a simple pyodbc connect crashes in libiodbc.2.dylib SQLFreeStmt + 76. I removed iODBC from my previous dmg install, and I built iODBC according to the suggestion above. iodbctest still works, but the pyodbc connect crashes here, seemingly in the same spot: I have tried a newer version of pyodbc than the Virtuoso plug-in requires as well, but the same crash occurs. Addendum: Today I rebuilt pyodbc 3.07 and pointed to the proper iODBC include and lib. The notes in the setup.py says Apple is no longer maintaining iODBC in 10.8. Anyway, I traced a working and nonworking connect session and found that the SQLDriverConnectW entry does and does not print out the connect string, respectively. The python test code is the very same, and in OSX 10.8 pyodbc is not getting the connect string to iODBC. With iodbctest, it is normal. My next difficult step is to turn on debug in C++ and python. It doesn't make sense that what is working in 10.6 in a basic library is broken after upgrading to 10.8. Solutions? Suggestions? |
Would you please update iODBC so that it will also install on OS X 10.9.1 without the same error as above, or comment on installation on Mavericks? Thank you. I got the errors below after brew installing the three packages mentioned. aireydcmbp:mac aireydc$ make |
I wish I had a solution for you, but I gave up trying to build iODBC with OS X 10.8, and started using rdflib (with Python) with SPARQL endpoints from then on and now. On Feb 1, 2014, at 4:50 PM, David Airey notifications@github.com wrote:
Richard Spencer |
3 months ago, one from the hosting company said it was alive and well in response to someone complaining about iODBC and R not working together. Perhaps iODBC is not well supported? Thanks. On Feb 1, 2014, at 5:58 PM, Spacetracker notifications@github.com wrote:
|
Here is the scoop: https://stat.ethz.ch/pipermail/r-sig-mac/2013-October/010435.html -Dave On Feb 1, 2014, at 5:58 PM, Spacetracker notifications@github.com wrote:
|
Two years later, and the Mac directory doesn't build when following the directions https://github.com/openlink/iODBC/blob/develop/README.MACOSX. Method 2, does seem to work, but does not build/install any of the applications. |
Thanks for reporting. I fixed the problem on the latest develop branch. Please try Method 1 again. |
Thanks for the quick response! Sadly, that doesn't work for me: 17:39 $ git clone https://github.com/openlink/iODBC.git
The Xcode tools are installed. I have Xcode 7.2.1, and the tools are installed. 17:41 $ xcode-select --install |
Ah, there was a config option for 10.11 missing from the mac/Makefile. Please pull the latest fix which should resolve your build problem. |
This now works, so I can build it! This issue can be closed :-) |
For macOS sierra (10.12), a similar addition to When running make, I have deliberately ignored the effect of FixupResourceForks seemingly gone in this edition of the OS.
|
Thank you for the patch. Worked perfectly for macOS 10.12.6 with Xcode 9 beta 6 installed. |
I am on OSX 10.8.2. I get this error when I try Method 1, as described in the Mac Readme file:
/bin/sh: build: command not found
When I try Method 2: , I get:
sh: bootstrap.sh: No such file or directory
What am I missing? I have the latest Developer Packages.
The text was updated successfully, but these errors were encountered: