Fri, 11 Mar 2011 (11:19 -0500 UTC) Raymond Toy wrote:
>>>>> "Raymond" == Raymond Toy
<toy.raymond(a)gmail.com> writes:
Raymond> Ah, it might be. In the *Warnings* buffer among the
Raymond> 5000+ messages, I see this:
Raymond> (1) (png/info) Application was compiled with png.h from
Raymond> libpng-1.2.44
Raymond> (2) (png/info) Application is running with png.c from
Raymond> libpng-1.4.5
Raymond> (3) (png/info) Incompatible libpng version in application
Raymond> and library
Raymond> I guess I need to correct that. Sorry for the noise!
That was it. make clean; make fixes everything and it's working as
expected.
I think when macports updated libpng, I noticed it right away because
xemacs wouldn't start anymore (missing old library version). I just
deleted src/*emacs and ran make. I should have done a make clean
instead.
Sorry for the noise!
Ray
If you upgrade your X11 to the latest on macosforge (or wait a bit for
it to become part of a software update), I bet you won't be able to
compile at all. See my query earlier this week titled "Problem compiling
XEmacs 21.5 (beta29) with latest libpng (1.5)." It appears that some of
the code in glyphs-eimage.c relies on deprecated structures:
Here is the error I see:
gcc-4.2 -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wdeclaration-after-statement -Wunused-parameter -g -O3
-fno-strict-aliasing -arch i386 -I/opt/local/include -Demacs -I.
-I/Users/royar/src/xemacs-hg/src -DHAVE_CONFIG_H -I/opt/X11/include
-I/opt/X11/include/freetype2 -I/opt/local/include -I/opt/X11/include
glyphs-eimage.c
glyphs-eimage.c: In function 'png_instantiate':
glyphs-eimage.c:985: error: dereferencing pointer to incomplete type
glyphs-eimage.c:986: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1048: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1051: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1052: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1055: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1057: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1063: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1070: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1084: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1091: error: dereferencing pointer to incomplete type
glyphs-eimage.c:1092: error: dereferencing pointer to incomplete type
make[1]: *** [glyphs-eimage.o] Error 1
make: *** [src] Error 2
--
And so it went. Tens of thousands of messages, hundreds of points of view.
It was not called the Net of a Million Lies for nothing.
-Vernor Vinge
11:41 up 7:08, 1 user, load averages: 0.07 0.09 0.08
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta