Re: Compiling 9.52 snapshot on Debian 3.1 stable

Robin Whittle <[email protected]>
Newsgroups gmane.comp.web.amaya.devel,gmane.comp.web.amaya.general
Message-ID <[email protected]>
Short version: success after installing package libxt-dev.

I pursued the fact that my compilation was failing for lack of
"IntrinsicP.h" amongst other files.   Googling within debian.org
revealed that this file belongs to:

  http://packages.debian.org/stable/libdevel/libxt-dev

which was not installed on my system.  I removed the files I had copied
(as mentioned in a previous message) and the modification to
Mesa/src/glw/GLwDrawA.c.  I used Synaptic to install libxt-dev, which
resulted in:

  libice6     upgraded to 4.3.0.dfsg.1-14sarge2
  libsm6      upgraded to 4.3.0.dfsg.1-14sarge2
  libxt6      upgraded to 4.3.0.dfsg.1-14sarge2
  libice-dev              4.3.0.dfsg.1-14sarge2 installed
  libsm-dev               4.3.0.dfsg.1-14sarge2 installed
  libxt-dev               4.3.0.dfsg.1-14sarge2 installed

After clearing my build directory, I gave:

  ../configure --with-wx
  make

(I notice that http://www.w3.org/Amaya/User/Autoconf.html says to use
"make all", while http://www.w3.org/Amaya/User/AmayaWX.html says to use
just "make".)

The compilation completed happily in about 25 minutes on this 2.6GHz P4
Celeron.

Binaries, including "amaya" (28104139 bytes) were in:

  Amaya/0-rw-build/bin/


I removed the binary package I installed the other day.

  dpkg -P amaya

which removed the dirctory /usr/lib/Amaya-9.52/.  Before doing this I
accidentally used -d and got some dependencies:

  libatk1.0-0      >= 1.7.2
  libc6            >= 2.3.2.ds1-21
  libexpat1        >= 1.95.8
  libfreetype6     >= 2.1.5-1
  libgcc1          >= 1:3.4.1-3
  libglib2.0-0     >= 2.6.0
  libgtk2.0-0      >= 2.6.0
  libpango1.0-0    >= 1.8.1
  libstdc++5       >= 1:3.3.4-1
  libx11-6 | xlibs >> 4.1.0
  libxext6 | xlibs >> 4.1.0
  zlib1g           >= 1:1.2.1

I tested the new binary:

  .../0-rw-build/bin/amaya

It ran and I was able to edit a file!

Then I installed the newly compiled Amaya:

  make install

This installed things in /usr/local/Amaya-9.52/, which is different from
/usr/lib/Amaya-9.52/ which was where the binary packaged installed.

I was able to run the newly installed Amaya with:

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


I suggest that the list of packages required for compilation on Debian
Stable at:

  http://www.w3.org/Amaya/User/AmayaWX.html#What

which is currently:

    libfreetype6-dev
    libgtk+2.0-dev
    libgtk2.0-dev
    xlibmesa-gl
    xlibmesa-glu
    xlibmesa-glu-dev
    libglu1-mesa
    xlibmesa-dev

be supplemented by this list, alphabetically sorted, with version
numbers, which seemed to be necessary for me.  The << xxx indicates that
this package was required by package xxx.

 libfreetype6-dev   2.1.7-6

 libgtk2.0-dev      2.6-4.3.1

 libice6            4.3.0.dfsg.1-14sarge2  << libxt-dev
 libice-dev         4.3.0.dfsg.1-14sarge2  << libxt-dev

 libsm6             4.3.0.dfsg.1-14sarge2  << libxt-dev
 libsm-dev          4.3.0.dfsg.1-14sarge2  << libxt-dev

 libxt6             4.3.0.dfsg.1-14sarge2  << libxt-dev
 libxt-dev          4.3.0.dfsg.1-14sarge2

 xlibmesa-gl        4.3.0.dfsg.1-14sarge2
 xlibmesa-glu       4.3.0.dfsg.1-14sarge2  << xlibmesa-dev
 xlibmesa-glu-dev   4.3.0.dfsg.1-14sarge2  << xlibmesa-dev

 xlibmesa-dev       4.3.0.dfsg.1-14sarge2


There may be some other packages which I previously installed above
whatever might be considered a standard Debian 3.1 Stable installation,
but as far as I know, this is what I needed to compile the current
snapshot of Amaya.

  - Robin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.