slgtk fails to build with gtk 2.18

Jörg Sommer joerg at
Mon Feb 22 00:39:41 UTC 2010

Jörg Sommer hat am Mon 22. Feb, 00:52 (+0100) geschrieben:
> • Running configure with CFLAGS having more than one option doesn't
>   creates a Makefile in gif, but configure returns successfully.

>   It looks like a passing of CFLAGS down to another configure script is
>   not cleanly quoted, i.e. not CFLAGS="$CFLAGS".

I found a similar problem with all configure options:

This is the call of configure:

% cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" \
CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" \
/tmp/buildd/slgtk-0.7.6/./configure --build=powerpc-linux-gnu \
--prefix=/usr --includedir="\${prefix}/include" \
--mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" \
--sysconfdir=/etc --localstatedir=/var \
--libexecdir="\${prefix}/lib/slgtk" --disable-maintainer-mode \
--disable-dependency-tracking --disable-silent-rules --srcdir=. \

And this is what configure sees (from config.log):

  $ ./configure.real --with-slang=/usr --prefix=/usr \
  --build=powerpc-linux-gnu --prefix=/usr --includedir=/include \
  --mandir=/share/man --infodir=/share/info --sysconfdir=/etc \
  --localstatedir=/var --libexecdir=/lib/slgtk \
  --disable-maintainer-mode --disable-dependency-tracking \
  --disable-silent-rules --srcdir=. --mandir=/usr/share/man \

As you can see \${prefix} is lost, which causes the manpage of imdisplay
is installed in /share/man.

Bye, Jörg.
Was der Bauer nicht kennt, das frisst er nicht. Würde der Städter kennen,
was er frisst, er würde umgehend Bauer werden.
                                                       Oliver Hassencamp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <>

More information about the Pkg-jed-sl-modules mailing list