Re: [gnomemm] ANNOUNCE: libglademm 2.0.0



Compiling libglademm 2.0.0 on my RedHat 7.2 system failed this way:


----------------------------------------------------------------------
/bin/sh ../../libtool --mode=link g++  -g -O2   -o generate_extra_defs  generate_defs_libglade.o  -Wl,--export-dynamic -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lgtkmm_generate_extra_defs-2.0
../../libtool: s%^.*/%%: No such file or directory
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
../../libtool: -e: command not found
mkdir /.libs
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [generate_extra_defs] Error 1
make[2]: Leaving directory `/home/ps/build/libglademm-2.0.0/tools/extra_defs_gen'
----------------------------------------------------------------------


I looked in the (generated) libtool script and the first failing
statement was this one:


----------------------------------------------------------------------
# The name of this program.
progname=`$echo "$0" | ${SED} 's%^.*/%%'`
----------------------------------------------------------------------


The SED variable is empty at this point and is set nowhere in
that script.  I manually added `SED=/bin/sed' just before the
`SHELL="/bin/sh"' statement near the beginning and the compilation
succeeded after that.

One other workaround is to compile with `SED=/bin/sed make' and to
install with `SED=/bin/sed make install'.

Is there something the libglademm project can do to ensure that
${SED} is defined in the libtool script, or could this be a bug in
my system's version of libtool (1.4.3)?


My system:

RedHat        7.2
gcc           2.96-112.7.2
autoconf      2.57-1
automake      1.7.2-1
libtool       1.4.3-1
glib2         2.2.0-1
gtk2          2.2.0-1
gtkmm         2.1.1-1
libgnome      2.0.2.0.200208181945-0.snap.ximian.1
libgnomeui    2.0.3.0.200208181945-0.snap.ximian.1
libgnomemm    1.3.7-1

-- 
Pierre Sarrazin <sarrazip at sympatico dot ca>



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