Giter Site home page Giter Site logo

Issue with installation about mysql_fdw HOT 9 OPEN

enterprisedb avatar enterprisedb commented on August 13, 2024
Issue with installation

from mysql_fdw.

Comments (9)

rashmi1403 avatar rashmi1403 commented on August 13, 2024

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.

benmadin avatar benmadin commented on August 13, 2024

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.

rashmi1403 avatar rashmi1403 commented on August 13, 2024

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.

ahsanhadi avatar ahsanhadi commented on August 13, 2024

Hi Rashmi,

Are you still facing the installation issues?

-- Ahsan

from mysql_fdw.

rashmi1403 avatar rashmi1403 commented on August 13, 2024

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.

wafs avatar wafs commented on August 13, 2024

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.

rashmi1403 avatar rashmi1403 commented on August 13, 2024

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.

wafs avatar wafs commented on August 13, 2024

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.

rashmi1403 avatar rashmi1403 commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.