Re: [g-a-devel] building at-spi-1.22.1 (gtk-doc woes)



Hi Sam,

Quiring, Sam wrote:
Greetings,
We are getting a segfault in Accessible_getStateSet(). I think this is a bug in at-spi and I decided I would see if I could find the bug. So I used SVN to check out the source that matches what I'm using, 1.22.1. Next (with some help from Li Yuan) I ran this command: ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/at-spi
This seemed to work.  At the end it displayed:
Now type `make' to compile at-spi which I found very encouraging. So I did a make. It also seemed to work. I began to examine the result looking for the various shared libaries that my accessibility app is linked against, e.g., libcspi.so.0.10.11. I could not find it, but did find cspi/libcspi.la, a libtool library file. I wondered what process is followed to build the actual libcspi.so.0.10.11? I discovered a distdir: target in the master Makefile, and decided to try that.
It should be in at-spi/cspi/.libs.
It failed with the messages shown below. It seems to be saying that I do not have gtk-doc installed. But I do! Any help would be appreciated. -Sam I'm on Ubuntu 8.04 where I believe gtk-doc is called gtk-doc-tools. When I run the Ubuntu package installer it says: % sudo apt-get install gtk-doc-tools
Reading package lists... Done
Building dependency tree Reading state information... Done
*gtk-doc-tools is already the newest version.
*0 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.
Here is the tail of the log from "make distdir" where the problem is reported: mkdir -p -- /home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/reference/cspi/../../..
make  \
top_distdir="/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1" distdir="/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/reference/cspi" \
   dist-hook
make[4]: Entering directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
*** gtk-doc must be installed and enabled in order to make dist
As the warning says, you need to enable gtk-doc. Try to configure at-spi with --enable-gtk-doc.

Li



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]