Ticket #21184 (closed defect: invalid)
graphviz @2.24.0 Unable to build
| Reported by: | nicolas.forquet@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Port: | graphviz |
Description (last modified by macsforever2000@…) (diff)
While trying to install octave port, failled to build graphviz: (I've Xcode 3.1.3 installed)
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.24.0" && /usr/bin/make -j1 all " returned error 2 Command output: make[3]: Nothing to be done for `all'. Making all in devil make[3]: Nothing to be done for `all'. Making all in gd make[3]: Nothing to be done for `all'. Making all in gdk_pixbuf make[3]: Nothing to be done for `all'. Making all in gdiplus make[3]: Nothing to be done for `all'. Making all in glitz make[3]: Nothing to be done for `all'. Making all in gs make[3]: Nothing to be done for `all'. Making all in gtk make[3]: Nothing to be done for `all'. Making all in lasi make[3]: Nothing to be done for `all'. Making all in ming make[3]: Nothing to be done for `all'. Making all in pango make[3]: Nothing to be done for `all'. Making all in quartz /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt -I/opt/local/include -I/opt/local/include -O2 -arch i386 -fno-common -Wall -MT gvdevice_quartz.lo -MD -MP -MF .deps/gvdevice_quartz.Tpo -c -o gvdevice_quartz.lo gvdevice_quartz.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt -I/opt/local/include -I/opt/local/include -O2 -arch i386 -fno-common -Wall -MT gvdevice_quartz.lo -MD -MP -MF .deps/gvdevice_quartz.Tpo -c gvdevice_quartz.c -fno-common -DPIC -o .libs/gvdevice_quartz.o In file included from gvdevice_quartz.c:23: gvplugin_quartz.h:20:26: error: Availability.h: No such file or directory make[3]: *** [gvdevice_quartz.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to ryandesign@…
- Description modified (diff)
comment:2 Changed 4 years ago by ryandesign@…
It works fine for me. Can you please clean graphviz and try again with the debug switch and disabling the parallel build:
sudo port clean graphviz sudo port -d install graphviz build.jobs=1 2>&1 | tee ~/Desktop/graphviz.txt bzip2 ~/Desktop/graphviz.txt.bz2
Then attach graphviz.txt.bz2 from your desktop to this ticket, and I'll compare your output with mine.
comment:3 Changed 4 years ago by ryandesign@…
Does /usr/include/Availability.h exist on your system?
comment:4 Changed 4 years ago by nicolas.forquet@…
I added the file... I dont have /usr/include/Availability.h on my machine (only AvailabilityMacros.h)
comment:5 Changed 4 years ago by ryandesign@…
/usr/include/Availability.h should exist. It is provided by Apple, but I'm not sure whether it's part of the OS or part of Xcode. Try reinstalling Xcode 3.1.3 since that's easier than reinstalling the OS.
comment:6 Changed 4 years ago by nicolas.forquet@…
Problem fixed... while installing Xcode 3.1.3 first time I unchecked Unix Development Support that caused /usr/include/Availability.h not to be installed. Thanks for your very quick and efficient comments
Regards,

