[MacPorts] #19350: gtk2 variant dependecy
MacPorts
noreply at macports.org
Fri Apr 17 06:57:34 PDT 2009
#19350: gtk2 variant dependecy
-----------------------------------+----------------------------------------
Reporter: frankalahan@… | Owner: nox@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: gtk2
-----------------------------------+----------------------------------------
Changes (by macsforever2000@…):
* owner: macports-tickets@… => nox@…
* port: => gtk2
Old description:
> To install gtk2 +no_x11 its library dependencies pango and cairo must be
> compiled with the variant "+quartz" or it will fail to compile:
>
> port install cairo +no_x11 +quartz
> port install pango +no_x11 +quartz
>
> It seems the "+quartz" was not passed when I did
>
> port install gtk2 +no_x11
>
> The installation failed with:
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
> -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS
> -D_REENTRANT -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
> -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
> -I/opt/local/include/libpng12 -xobjective-c -I/opt/local/include
> -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES
> -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
> -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT
> gdkdrawable-quartz.lo -MD -MP -MF .deps/gdkdrawable-quartz.Tpo -c
> gdkdrawable-quartz.c -fno-common -DPIC -o .libs/gdkdrawable-quartz.o
> gdkdrawable-quartz.c:22:26: error: cairo-quartz.h: No such file or
> directory
> gdkdrawable-quartz.c: In function 'gdk_quartz_ref_cairo_surface':
> gdkdrawable-quartz.c:69: warning: implicit declaration of function
> 'cairo_quartz_surface_create_for_cg_context'
> gdkdrawable-quartz.c:69: warning: assignment makes pointer from integer
> without a cast
> make[4]: *** [gdkdrawable-quartz.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> However I solved that reinstalling pango and cairo with "+quartz"
New description:
To install gtk2 +no_x11 its library dependencies pango and cairo must be
compiled with the variant "+quartz" or it will fail to compile:
{{{
port install cairo +no_x11 +quartz
port install pango +no_x11 +quartz
}}}
It seems the "+quartz" was not passed when I did
{{{
port install gtk2 +no_x11
}}}
The installation failed with:
{{{
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS
-D_REENTRANT -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng12 -xobjective-c -I/opt/local/include
-DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
-DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT
gdkdrawable-quartz.lo -MD -MP -MF .deps/gdkdrawable-quartz.Tpo -c
gdkdrawable-quartz.c -fno-common -DPIC -o .libs/gdkdrawable-quartz.o
gdkdrawable-quartz.c:22:26: error: cairo-quartz.h: No such file or
directory
gdkdrawable-quartz.c: In function 'gdk_quartz_ref_cairo_surface':
gdkdrawable-quartz.c:69: warning: implicit declaration of function
'cairo_quartz_surface_create_for_cg_context'
gdkdrawable-quartz.c:69: warning: assignment makes pointer from integer
without a cast
make[4]: *** [gdkdrawable-quartz.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
However I solved that reinstalling pango and cairo with "+quartz"
--
--
Ticket URL: <http://trac.macports.org/ticket/19350#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list