[Glade-devel] RE: glade3 autogen.sh error



With a little more tinkering I managed to get glade-3 to build. Seems that the 
installation of the library of .m4 macros by intltool was done in 
/usr/local/share/aclocal and the script looking for the intltool.m4 file was 
looking in /usr/share/aclocal.


On Wednesday 09 July 2003 04:26 pm, max8char comcast net wrote:
I'm a bit rusty with using m4 and the other tools in the nightmare of tools
to create portable configurations. I installed intltool version 0.26 and
tested that it is working:

[farad glade3]$ intltoolize --version
intltoolize (GNU intltool) 0.26

They I tried running the autogen.sh script in the home directory of the CVS
checkout of glade3.  The script dies when it encoutners a syntax error in
the ./configuration file. The culprit seems to be the missing definition
for `AC_PROG_INTLTOOL(0.11)' in the ./configuration file. Here's the output
from running ./autogen.sh.

This is probably obvious to someone who mucks with autoconf code, but I
haven't a clue how to trace this problem through the layers of
interpretations by m4 and sh.

[farad glade3]$ more ./autogen.sh
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

PKG_NAME="glade"

(test -f $srcdir/configure.in \
  && test -f $srcdir/autogen.sh) || {
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
}

DIE=0

# This is a bit complicated here since we can't use gnome-config yet.
# It'll be easier after switching to pkg-config since we can then
# use pkg-config to find the gnome-autogen.sh script.

gnome_autogen=
gnome_datadir=

ifs_save="$IFS"; IFS=":"
for dir in $PATH ; do
  test -z "$dir" && dir=.
    if test -f $dir/gnome-autogen.sh ; then
        gnome_autogen="$dir/gnome-autogen.sh"
        gnome_datadir=`echo $dir | sed -e 's,/bin$,/share,'`
        break
    fi
done
IFS="$ifs_save"

if test -z "$gnome_autogen" ; then




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