Error installing port
Joe Marcus Clarke
marcus at marcuscom.com
Sat Apr 19 15:15:38 PDT 2003
On Sat, 2003-04-19 at 18:08, Bram Moolenaar wrote:
> Joe -
>
> OK, I finally managed to build GTK 2.0.9. Thanks to your port files.
>
> Now that I build Vim with it, I get an error that I can't explain:
>
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -g -O2 -fno-strength-reduce -Wall -Wmissing-prototypes -I/usr/X11R6/include -o objects/gui_beval.o gui_beval.c
> gui_beval.c: In function `drawBalloon':
> gui_beval.c:951: `PANGO_WRAP_WORD_CHAR' undeclared (first use in this function)
> gui_beval.c:951: (Each undeclared identifier is reported only once
> gui_beval.c:951: for each function it appears in.)
> gmake: *** [objects/gui_beval.o] Error 1
>
> The strange thing is that previously (with GTK 2.0.0) it did work.
Can you send me this source? Most things today are being written for
pango-1.2.x. PANGO_WRAP_WORD_CHAR is defined in that version. Looks
like this source assumes pango-1.1.x or higher. It may be made to use
the older stuff.
>
> Hmm, when I change PANGO_WRAP_WORD_CHAR into PANGO_WRAP_WORD it works!
The difference between PANGO_WRAP_WORD_CHAR and PANGO_WRAP_WORD is that
the former wraps words at word boundaries, but falls back to wrapping at
character boundaries if there is not enough space for a word. The
latter doesn't have the fallback. This substitution might be okay, but
it should be conditionalized so that newer pango users can take
advantage of the newer functionality.
Joe
>
> - Bram
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030419/3f6e237f/attachment.bin
More information about the freebsd-gnome
mailing list