Re: Compiling 9.52 snapshot on Debian 3.1 stable

1 - Still trying to complie amaya 9.52.
2 - Running ldd on a binary of 9.52.

Irene Vatton wrote:

> The soultion is probably to update our Mesa source
> with MesaLib-6.5.1.tar.gz

I got this from http://sourceforge.net/project/showfiles.php?group_id=3
.   It dates from 2006 Septebmer 15.  I put its contents in Mesa, in
place of the 6.2.1 version which was there, from 2004 December 14.

  ../configure --with-wx

went fine.  "make" produced what I think is the same error as before:

  make[4]: Entering directory
  `/audio/Amaya-source/amaya-fullsrc-9.52/Amaya/0-rw-build/Mesa/src/glw'

  gcc -c -I../../include -I/usr/include/Motif1.2 -I/usr/X11R6/include
  -Wall -Wmissing-prototypes -O3 -g -fPIC  -D_POSIX_SOURCE
  -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
  -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN  -I/usr/X11R6/include
  -std=c99 -ffast-math  GLwDrawA.c

  GLwDrawA.c:48:28: X11/IntrinsicP.h: No such file or directory
  GLwDrawA.c:49:28: X11/StringDefs.h: No such file or directory
  In file included from GLwDrawAP.h:46,
                   from GLwDrawA.c:56:
  GLwDrawA.h:147: error: syntax error before "glwDrawingAreaWidgetClass"

That line involves a word "WidgetClass" which apparently needs to be
defined somewhere.

I happen to be compiling the Xfree86 system for Debian 3.1 stable, and
have a patched source tree which contains the two missing .h files in
xc/lib/Xt─v/. I copied them to /usr/X11R6/include/ and repeated the
configure and make operations.  Exactly the same error occured.  The
includes in GLwDrawA.c are not working:

#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h> 

I changed those lines to explicit references:

#include </usr/X11R6/include/IntrinsicP.h>
#include </usr/X11R6/include/StringDefs.h> 

in the Mesa/src/glw directory and repeated the configure make commands.

As before, I think, there were two warnings in ../configure --with-wx

configure: WARNING: Defaulting to the the builtin regex library for
Unicode build.
configure: WARNING: wxMetafile is not available on this system... disabled

The output of configure is at:

  http://www.firstpr.com.au/temp/amaya/config.txt

make produced errors.  I also needed to copy a file Intrinsic.h to
/usr/X11R6/include/ and modify IntrinsicP.h there to point to that
location.  But that process would continue ad-infinitum with files
included in Intrinsic.h so I stopped.

I hope the above helps - I won't continue since I have many bad
experiences trying to satisfy the dependencies of complex packages I
don't understand.



I downloaded amaya_wx-9.52-1_i386.deb.  I used:

  dpkg -i amaya_wx-9.52-1_i386.deb

Amongst other things, this installed a binary:

  /usr/lib/Amaya-9.52/wx/bin/amaya/amaya

which was symlinked to by /usr/bin/amaya and /usr/bin/amaya-wx

I was able to run the program, but didn't try to do anything with it.

Running "ldd amaya", as Robert Praetorius suggested produced:

/usr/lib/Amaya-9.52/wx/bin# ldd amaya

libdl.so.2 => /lib/libdl.so.2 (0x40027000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4002a000)
libz.so.1 => /usr/lib/libz.so.1 (0x40098000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x400aa000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40388000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40407000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x40425000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x4043b000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40443000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4044e000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40487000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x404bb000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x404bf000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x404c4000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40545000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40565000)
libm.so.6 => /lib/libm.so.6 (0x4061f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40641000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4064a000)
libc.so.6 => /lib/libc.so.6 (0x4069b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x407cf000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40896000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x408a4000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x408a8000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x408b0000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x408c3000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x408f3000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x408fc000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40904000)

 - Robin

Received on Friday, 13 October 2006 00:46:31 UTC