This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pangp


Yaakov (Cygwin Ports) <yselkowitz@users.sourceforge.net> wrote:
> .. snipped
> I can attest that there are no issues building pango with the X11 cairo.

No I configured cairo with:
 ./configure --with-x --enable-win32-font=no --enable-win32=no --disable-ps --disable-pdf --disable-svg --prefix=

cairo builds and installs fine this way.

Pango, configured with:
./configure LDFLAGS='-no-undefined' --with-x  --enable-win32-font=no --enable-win32=no --disable-ps --disable-pdf --disable-svg --prefix=

# the only option above that pango mentiones in ./configure --help is "--with-x".

Regardless, make still prematurely terminates due to errors.

Why is the pango build code trying to incorporate win32, when it is not in cairo?

(Still waiting to get Yaakov's two configuration options (two lines, one config line eac)  uses for (1) cairo and (2) pango. 

to wit:
---------------- last lines of "make" output for pango ----------------
/bin/sh ../libtool --tag=CC   --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/lib\" -I.. -DPANGO_ENABLE_DEBUG -D_REENTRANT -I/usr/include/g
lib-2.0 -I/usr/lib/glib-2.0/include    -I/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/include/pixman-1   -I/usr/include/freetype2     -I/usr/X11R6/include    -g -O2 -Wall -MT libpangocairo_1_0_la-pangocairo-win32font.lo -MD -MP -MF 
.deps/libpangocairo_1_0_la-pangocairo-win32font.Tpo -c -o libpangocairo_1_0_la-pangocairo-win32font.lo `test -f 'pangocairo-win32font.c' || echo './'`pangocairo-win32font.c
 /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/lib\" -I.. -DPANGO_ENABLE_DEBUG -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/inclu
de/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/include/pixman-1 -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT libpangocairo_1_0_la-pangocairo-win32font.lo -MD -MP -MF .deps/libpangocairo_1_0_la-pangocairo-win32font.Tpo -c p
angocairo-win32font.c  -DDLL_EXPORT -DPIC -o .libs/libpangocairo_1_0_la-pangocairo-win32font.o
In file included from pangocairo-win32font.c:33:
/include/cairo/cairo-win32.h:101:3: error: #error Cairo was not compiled with support for the win32 backend
pangocairo-win32font.c: In function 'pango_cairo_win32_font_create_font_face':
pangocairo-win32font.c:79: warning: implicit declaration of function 'cairo_win32_font_face_create_for_logfontw'
pangocairo-win32font.c:79: warning: return makes pointer from integer without a cast
pangocairo-win32font.c: In function 'pango_cairo_win32_font_create_metrics_for_context':
pangocairo-win32font.c:122: warning: passing argument 1 of 'pango_cairo_font_get_scaled_font' from incompatible pointer type
pangocairo-win32font.c:125: warning: implicit declaration of function 'cairo_win32_scaled_font_done_font'
pangocairo-win32font.c: In function 'pango_cairo_win32_font_select_font':
pangocairo-win32font.c:190: warning: implicit declaration of function 'cairo_win32_scaled_font_select_font'
pangocairo-win32font.c: In function 'pango_cairo_win32_font_get_metrics_factor':
pangocairo-win32font.c:207: warning: implicit declaration of function 'cairo_win32_scaled_font_get_metrics_factor'
make[4]: *** [libpangocairo_1_0_la-pangocairo-win32font.lo] Error 1
make[4]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/pango/pango-1.21.3/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pango/pango-1.21.3'
make: *** [all] Error 2
---------------- end 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]