Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-23 Thread David Fang

Thank you both.
Equivalent fix committed to 10.7+ dists.

Fang


It works for me too!

Thanks,

Dominique


Le 23 oct. 2014 à 07:01, Jack Howarth  a écrit :

Dave,
 The following change works here on Yosemite...


Index: graphviz.info 
===
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/graphviz.info 
,v
retrieving revision 1.18
diff -r1.18 graphviz.info 
31a32,34

if [ "`uname -r | cut -d. -f1`" -gt "13" ]; then
  perl -pi -e 's|#include ||g' 
plugin/quartz/gvloadimage_quartz.c
fi





--
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


Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-23 Thread David Forrest Phillips
I will second that the patch from Jack Howarth allows graphviz to build and 
successfully generate output from existing .dot files for me.
   David

RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/graphviz.info,v
retrieving revision 1.18
diff -r1.18 graphviz.info
31a32,34
>   if [ "`uname -r | cut -d. -f1`" -gt "13" ]; then
> perl -pi -e 's|#include ||g' 
> plugin/quartz/gvloadimage_quartz.c
>   fi

 




--
___
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


Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-23 Thread Dominique d'Humières
It works for me too!

Thanks,

Dominique

> Le 23 oct. 2014 à 07:01, Jack Howarth  a écrit :
> 
> Dave,
>  The following change works here on Yosemite...
> 
> 
> Index: graphviz.info 
> ===
> RCS file: 
> /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/graphviz.info 
> ,v
> retrieving revision 1.18
> diff -r1.18 graphviz.info 
> 31a32,34
> > if [ "`uname -r | cut -d. -f1`" -gt "13" ]; then
> >   perl -pi -e 's|#include ||g' 
> > plugin/quartz/gvloadimage_quartz.c
> > fi

--
___
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


Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-22 Thread Jack Howarth
Dave,
 The following change works here on Yosemite...


Index: graphviz.info

===

RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/
graphviz.info,v

retrieving revision 1.18

diff -r1.18 graphviz.info

31a32,34

> if [ "`uname -r | cut -d. -f1`" -gt "13" ]; then

>   perl -pi -e 's|#include ||g'
plugin/quartz/gvloadimage_quartz.c

> fi


On Wed, Oct 22, 2014 at 5:50 PM, David Fang  wrote:

> 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 
>> ^
>> 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


Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-22 Thread David Fang
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 
> ^
> 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


Re: [Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-22 Thread David Fang
Thanks for the report, Dominique.
I still don't have 10.10 (or 10.9), so I'll need to ask for help in 
patching/fixing this.

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 
> ^
> 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


[Fink-users] Failed: phase compiling: graphviz-2.26.3-10 failed

2014-10-22 Thread Dominique Dhumieres
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 
 ^
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