public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "d.henman" <dhenman@gmail.com>
To: <cygwin@cygwin.com>
Subject: Re: pangp
Date: Tue, 24 Jun 2008 10:56:00 -0000	[thread overview]
Message-ID: <20080624184028.472@blackhawk> (raw)
In-Reply-To: Your message of Mon, 23 Jun 2008 13:43:34 -0500 	 <485FEED6.5000504@users.sourceforge.net>


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/

  parent reply	other threads:[~2008-06-24  9:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23  8:48 pangp d.henman
2008-06-23 10:14 ` pangp Dave Korn
2008-06-23 18:43   ` pangp d.henman
2008-06-23 19:16     ` pangp Dave Korn
2008-06-23 20:26       ` pangp Yaakov (Cygwin Ports)
2008-06-24  3:34         ` pangp d.henman
2008-06-24 15:15           ` pangp Yaakov (Cygwin Ports)
2008-06-24  9:40         ` pangp d.henman
2008-06-24 15:33           ` pangp Yaakov (Cygwin Ports)
2008-06-24 10:56         ` d.henman [this message]
2008-06-24 17:41           ` pangp Yaakov (Cygwin Ports)
2008-06-25  2:55             ` pango d.henman
2008-06-24 14:55         ` pango solution d.henman
2008-06-24 15:12           ` Yaakov (Cygwin Ports)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080624184028.472@blackhawk \
    --to=dhenman@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).