Re: Problem compiling with latest libpng in 2.6.2_rc1
Re: Problem compiling with latest libpng in 2.6.2_rc1
- Subject: Re: Problem compiling with latest libpng in 2.6.2_rc1
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 9 Mar 2011 12:02:23 -0800
On Mar 9, 2011, at 04:49, robert delius royar wrote:
> I have hit a problem compiling XEmacs 21.5 (beta29) with the latest version of XQuartz X11 from macosforge. I am also sending an email to the XEmacs developers' list about the problem. 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
...
They're using long-deprecated / now-removed API from libpng.
> I checked to see whether there were any macports libpng leftovers, and there were not any includes in the /opt/local/include hierarchy. The problem appears to be an XEmacs variable typedefed to png_infop.
>
> I am mainly looking for what to say to the XEmacs developers about the Xorg version currently in use so that they can change the source to be compatible with 1.5 (oddly, I was able to compile XEmacs under 2.6.1)
Do you mean 2.6.0?
> , and otool -L shows that it was using /opt/X11/lib/libpng15.15.dylib (compatibility version 17.0.0, current version 17.0.0). That compilable version was made on 06 March.
Weird... libpng15.15.dylib was not in 2.6.0... only 1.2 and 1.4 ... If you meant 2.6.1_beta1, then I'm equally puzzled because it contained the same png as rc1...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden