Stephen J. Turnbull writes:
Giacomo Boffi writes:
> the last change to Xaw3d in the debian changelog is from april 2010,
> so i guess it could be something changed in configure...
I don't know why you haven't run into this before, but the change to
configure was in 2008, and the required function is present in Gentoo
Xaw3d. So you can blame it on Debian.
> do i have to install some newer version of athena 3d that's not
> packaged for debian?
No, it's the newer Debian that's broken.
Could you try this patch to configure.ac, and run autoconf, then
reconfigure?
done, i get
[...]
checking for X11 graphics libraries...
checking for the Athena widgets...
checking for Xaw3dComputeBottomShadowRGB in -lXaw3d... no
checking for Xaw3dComputeBottomShadowRGB in -lXaw... no
configure: WARNING: Could not find a 3d Athena widget library that looked like Xaw3d.
checking for X11/Xaw3d/XawInit.h... yes
checking X11/Xaw3d/ThreeD.h usability... yes
checking X11/Xaw3d/ThreeD.h presence... yes
checking for X11/Xaw3d/ThreeD.h... yes
checking for Xm/Xm.h... (cached) no
Error: Could not find a suitable Athena library to build with.
%
otoh, i have
% strings /usr/lib/libXaw3d.so | grep XawSme3dComputeBottomShadowRGB
XawSme3dComputeBottomShadowRGB
% strings /usr/lib/libXaw3d.so | grep Xaw3dComputeBottomShadowRGB
Xaw3dComputeBottomShadowRGB
% nm /usr/lib/libXaw3d.a | grep XawSme3dComputeBottomShadowRGB
000004e0 T XawSme3dComputeBottomShadowRGB
% m /usr/lib/libXaw3d.a | grep Xaw3dComputeBottomShadowRGB
00001070 T Xaw3dComputeBottomShadowRGB
%
looks like the libraries are up to date and there is a different
problem. so i looked in config.log
from config.log:
----------------------------------------------------------------------
configure:16183: checking for Xaw3dComputeBottomShadowRGB in -lXaw3d
configure:16208: gcc -o conftest -Wall -Wno-switch -Wundef
-Wsign-compare -Wno-char-subscripts -Wpacked -Wshadow
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdeclaration-after-statement -g -O3 -fno-strict-aliasing
-I/usr/include/freetype2 -lXft conftest.c -ltiff -lpng -ljpeg -lz
-lgif -lcompface -lXpm -lXft -lfontconfig -lXrender -lXmu -lXt
-lXext -lX11 -lSM -lICE -lXaw3d -lm 1>&5
conftest.c:121:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
conftest.c:123:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
/usr/bin/ld: cannot find -ltiff
----------------------------------------------------------------------
in effects, my libtiff is (i-dont-know-why) in
/usr/lib/i386-linux-gnu/libtiff.so.4.3.4
i did a brutish
% sudo cp /usr/lib/i386-linux-gnu/libtiff.so.4.3.4 /usr/lib/libtiff.so
% configure ...
and now all is well... but perhaps configure needs a little adjustment
i feel like i haven't done all of my homeworks before annoying the
mailing list, sorry
thank you for the patch, after patching it was clear that the problem
was not in the aw3d libs as i assumed (and configure told me ;)
g
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta