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



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 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
make[4]: *** [dist-check-gtkdoc] Error 1
make[4]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
make[3]: *** [distdir] Error 2
make[3]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
make[2]: *** [distdir] Error 1
make[2]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs'
make: *** [distdir] Error 1
 

Just in case, Here is the complete output of "make distdir", the errors are in the last few lines:
 
% make distdir
{ test ! -d at-spi-1.22.1 || { find at-spi-1.22.1 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr at-spi-1.22.1; }; }
mkdir at-spi-1.22.1
mkdir -p -- at-spi-1.22.1/. at-spi-1.22.1/po
list='docs idl libspi login-helper registryd atk-bridge cspi pyatspi test po'; for subdir in $list; do \
   if test "$subdir" = .; then :; else \
     test -d "at-spi-1.22.1/$subdir" \
     || mkdir -p -- "at-spi-1.22.1/$subdir" \
     || exit 1; \
     distdir=`CDPATH="${ZSH_VERSION+.}:" && cd at-spi-1.22.1 && pwd`; \
     top_distdir=`CDPATH="${ZSH_VERSION+.}:" && cd at-spi-1.22.1 && pwd`; \
     (cd $subdir && \
       make  \
         top_distdir="$top_distdir" \
         distdir="$distdir/$subdir" \
         distdir) \
       || exit 1; \
   fi; \
 done
make[1]: Entering directory `/home/user/build/build2/AT_SPI_1_22_1/docs'
list='reference'; for subdir in $list; do \
   if test "$subdir" = .; then :; else \
     test -d "/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/$subdir" \
     || mkdir -p -- "/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/$subdir" \
     || exit 1; \
     distdir=`CDPATH="${ZSH_VERSION+.}:" && cd /home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs && pwd`; \
     top_distdir=`CDPATH="${ZSH_VERSION+.}:" && cd /home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1 && pwd`; \
     (cd $subdir && \
       make  \
         top_distdir="$top_distdir" \
         distdir="$distdir/$subdir" \
         distdir) \
       || exit 1; \
   fi; \
 done
make[2]: Entering directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference'
list='cspi idl'; for subdir in $list; do \
   if test "$subdir" = .; then :; else \
     test -d "/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/reference/$subdir" \
     || mkdir -p -- "/home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/reference/$subdir" \
     || exit 1; \
     distdir=`CDPATH="${ZSH_VERSION+.}:" && cd /home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1/docs/reference && pwd`; \
     top_distdir=`CDPATH="${ZSH_VERSION+.}:" && cd /home/user/build/build2/AT_SPI_1_22_1/at-spi-1.22.1 && pwd`; \
     (cd $subdir && \
       make  \
         top_distdir="$top_distdir" \
         distdir="$distdir/$subdir" \
         distdir) \
       || exit 1; \
   fi; \
 done
make[3]: Entering directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
gtk-doc: Scanning header files
cd . && \
   gtkdoc-scan --module=at-spi-cspi --source-dir=../../../cspi  --ignore-headers="spi-impl.h" 
if grep -l '^..*$' ./at-spi-cspi.types > /dev/null 2>&1 ; then \
     CC="/bin/sh ../../../libtool --mode=compile gcc -I../../.. -I../../..     -g -O2" LD="/bin/sh ../../../libtool --mode=link gcc  -g -O2  " CFLAGS="" LDFLAGS="" gtkdoc-scangobj  --module=at-spi-cspi --output-dir=. ; \
 else \
     cd . ; \
     for i in at-spi-cspi.args at-spi-cspi.hierarchy at-spi-cspi.interfaces at-spi-cspi.prerequisites at-spi-cspi.signals ; do \
               test -f $i || touch $i ; \
     done \
 fi
touch scan-build.stamp
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
make[4]: *** [dist-check-gtkdoc] Error 1
make[4]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
make[3]: *** [distdir] Error 2
make[3]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference/cspi'
make[2]: *** [distdir] Error 1
make[2]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs/reference'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/home/user/build/build2/AT_SPI_1_22_1/docs'
make: *** [distdir] Error 1


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