>>>> "Mauro" == Mauro Condarelli
<mc5686(a)mclink.it> writes:
Mauro> A couple of "strange things"
Mauro> === 1 I had to configure with "LD_LIBRARY_PATH=/usr/local/lib
Mauro> ./configure" to avoid the following error:
Mauro> --------------------------------------------------------------------
Mauro> WARNING: Compiling without PNG image support. Reason: PNG
Mauro> library version and header file don't match! WARNING: You
Mauro> should strongly consider installing the PNG libraries.
Mauro> WARNING: Otherwise certain images and glyphs may not display.
Mauro> WARNING: (a copy may be found in
Mauro>
ftp://ftp.xemacs.org/pub/xemacs/aux)
Mauro> --------------------------------------------------------------------
Mauro> - I'm using a fairly standard debian-hamm distribution.
Mauro> - I have libpng-1.0.1 installed from debian
Mauro> - I installed libpng-1.0.2 in /usr/local
Mauro> - I did *not* remove the old lib (in/usr/lib) to keep dselect
Mauro> happy
Mauro> Can someone divine what's wrong in my setup?
I was afraid I'd find things like this, which is exactly why that
check is now in configure (since PNG includes jmp_buf in it's own
structures, that's *dangerous*)... What's 'wrong' with your setup is
that the way that configure puts together the lib search paths and the
include search paths causes it to find the library from one version
and the include from another. The best 'fix' is to keep only one
version (the latest) of the header files. Or you can frob the way
configure finds things (like what you did).
--
Jareth Hein | jareth(a)camelot.co.jp | ハイン ジェラス
Toolsmith & Program lead |
http://www.camelot.co.jp | 開発部チーフ
Camelot Software, Ltd. | |(株)キャメロット
"It's a sad sign of the times when 'political machine' is redefined to
include 'main-line battle tank'" - Ambassador Grossblunder