delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/24/05:40:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <20080624184028.472@blackhawk>
From: "d.henman" <dhenman AT gmail DOT com>
Date: Tue, 24 Jun 2008 18:40:28 +0900
To: <cygwin AT cygwin DOT com>
Subject: Re: pangp
In-reply-to: Your message of Mon, 23 Jun 2008 13:43:34 -0500 <485FEED6.5000504@users.sourceforge.net>
References: <20080623173202 DOT 2572 AT blackhawk> <004001c8d50d$0be88ca0$2708a8c0 AT CAM DOT ARTIMI DOT COM> <20080623212037 DOT 2088 AT blackhawk> <006101c8d52d$d22761a0$2708a8c0 AT CAM DOT ARTIMI DOT COM> <485FEED6 DOT 5000504 AT users DOT sourceforge DOT net>
X-Mailer: MH-E 8.0.3+cvs; GNU Mailutils 1.9.90; GNU Emacs 23.0.50
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Yaakov (Cygwin Ports) <yselkowitz AT users DOT sourceforge DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019