Comments (9)
Below is the exact error I am getting. I am using OS X 10.10
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -I/usr/local/mysql/include -I. -I./ -I/Library/PostgreSQL/9.4/include/postgresql/server -I/Library/PostgreSQL/9.4/include/postgresql/internal -I/opt/local/20140401/include/libxml2 -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include -c -o connection.o connection.c
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
In file included from connection.c:16:
In file included from /Library/PostgreSQL/9.4/include/postgresql/server/postgres.h:47:
/Library/PostgreSQL/9.4/include/postgresql/server/c.h:81:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
from mysql_fdw.
rashmi,
I'm really no expert at this, but if you are using 10.10, then I would look at the error message:
clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
I would guess that you have an out of date path including the wrong version of the SDK?
cheers
Ben
from mysql_fdw.
Hi Ben,
I checked the folder and it has only
MacOSX10.9.sdk
MacOSX10.10.sdk
So I am not really sure which file is referring to this path.
The posts that I referred to spoke about editing the SDK's in the Makefile to change it to the current version. However I did not find any such reference in the mysql_fdw Makefile.
Thanks for helping!
Best,
Rashmi
from mysql_fdw.
Hi Rashmi,
Are you still facing the installation issues?
-- Ahsan
from mysql_fdw.
Hi Ahsan,
Yes I still have the issue. Its something to do with some variable that is not set or missing. I am not sure which one though. Any suggestion would be helpful.
Best,
Rashmi
from mysql_fdw.
Issue :
The issue is not with this plugin, but Postgres itself. Postgres for some reason hasn't updated the requirement in their makefile , so when this plugin references postgres's one (which is referencing postgres's preferences) it is asking for SDK 10.8 , despite the fact that 10.9 and 10.10 are the current versions for anyone using Yosemite, and you most likely don't have 10.8 since the legacy versions aren't installed on the newer mac family of computers.
How to fix :
Download 10.8 SDK from here, and place it in the directory with the other sdks.
https://github.com/phracker/MacOSX-SDKs
I had the same issue and now I've installed it. Maybe Ahsan can add something into his makefile to check and override the constant if 10.8 doesn't exist and point it to 10.9/10 ? Otherwise it's an annoying but manual and doable fix.
from mysql_fdw.
Hey,
Thanks for the reply.
Can you please tell me in which directory I need to place the downloaded 10.8 SDK?
Thanks,
Rashmi
from mysql_fdw.
Since your error said
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
That is your directory (the SDK folder).
from mysql_fdw.
Thanks a lot! :)
On Tue, Aug 4, 2015 at 4:09 AM, wafs [email protected] wrote:
Since your error said
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
That is your directory (the SDK folder).
—
Reply to this email directly or view it on GitHub
#53 (comment)
.
from mysql_fdw.
Related Issues (20)
- Failing to install mysql_fdw HOT 8
- Getting error while installing pgvector extension to PostgreSQL in windows using the pgvector source repository HOT 3
- During push-down insert, the precision of numeric type fields is lost. HOT 1
- MySQL type YEAR is not supported HOT 4
- trigger not firing on foreign table HOT 9
- How can I Disable PREPARED-STATEMENT for SELECT statement? HOT 1
- IMPORT FOREIGN SCHEMA not importing mixed case tables HOT 6
- ERROR: failed to load the mysql query: (null) HINT: Export LD_LIBRARY_PATH to locate the library in PostgreSQL 16 on Rocky Linux 8 HOT 9
- Segmentation fault w/ dual left join is null HOT 4
- [Feature request] Support Subquery pushdown
- Truncating casts are not pushed down correctly HOT 2
- bytes after ` `(0x02 0x01 0x00) get truncated in column with type `text`
- cannot `UPDATE` or `DELETE` on fdw foreign table that inherits pgsql table HOT 1
- Unable to install the extension HOT 7
- Trouble downloading mysql_fdw
- Import Schema should convert/map MySQL tinyint(1) to PG boolean. HOT 2
- Unable to install the extensions HOT 5
- make: *** No targets specified and no makefile found. Stop. HOT 2
- create extensions failed HOT 1
- PostgreSQL 17 support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql_fdw.