Dominique,
        Jack Howarth suggested something like the following:

-isysroot `xcode-select 
--print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

to insert into CFLAGS.  Do you have the 10.9 SDK on your 10.10 setup to 
test this?  If this works, I suppose we could conditionally pass it, 
depending on OS version, but this solution doesn't seem sustainable as 
SDKs get dropped in the future.

Fang

> Installing graphviz-2.26.3-10 on
>
> Package manager version: 0.38.1
> Distribution version: selfupdate-rsync Wed Oct 22 20:10:51 2014, 10.10, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode.app: 6.1
> Xcode command-line tools: 6.1.0.0.1.1413057044
> Max. Fink build jobs:  8
>
> failed with
>
> ...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common 
> -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt 
> -I/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Headers
>  -I/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/include 
> -I/sw64/lib/ocaml -idirafter 
> /System/Library/Frameworks/Ruby.framework/Versions/2.0/Headers/ruby 
> -I/sw64/include -I/sw64/include -g -O2 -fno-common -Wall -MT 
> gvrender_quartz.lo -MD -MP -MF .deps/gvrender_quartz.Tpo -c gvrender_quartz.c 
>  -fno-common -DPIC -o .libs/gvrender_quartz.o
> gvloadimage_quartz.c:27:10: fatal error: 'CGGLContext.h' file not found
> #include <CGGLContext.h>
>         ^
> 1 error generated.
> make[3]: *** [gvloadimage_quartz.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> mv -f .deps/GVTextLayout.Tpo .deps/GVTextLayout.Plo
> mv -f .deps/gvplugin_quartz.Tpo .deps/gvplugin_quartz.Plo
> mv -f .deps/gvdevice_quartz.Tpo .deps/gvdevice_quartz.Plo
> mv -f .deps/gvtextlayout_quartz.Tpo .deps/gvtextlayout_quartz.Plo
> mv -f .deps/gvrender_quartz.Tpo .deps/gvrender_quartz.Plo
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of /tmp/fink.v45Gw failed, exit code 2
> ### execution of /tmp/fink.9xV0C failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw64/bin/dpkg-lockwait -r fink-buildlock-graphviz-2.26.3-10
> (Reading database ... 165283 files and directories currently installed.)
> Removing fink-buildlock-graphviz-2.26.3-10 ...
> Reading buildlock packages...
> /sw64/bin/dpkg-lockwait -i 
> /sw64/fink/dists/stable/main/binary-darwin-x86_64/languages/tcltk-dev_8.6.1-104_darwin-x86_64.deb
> Selecting previously deselected package tcltk-dev.
> (Reading database ... 165282 files and directories currently installed.)
> Unpacking tcltk-dev (from .../tcltk-dev_8.6.1-104_darwin-x86_64.deb) ...
> Setting up tcltk-dev (8.6.1-104) ...
>
> TIA
>
> Dominique
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fink-users mailing list
> Fink-users@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.macosx.fink.user
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-users
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to