gtk+2 doesn't compile anymore on -current
by nobodino from LinuxQuestions.org on (#5AQDQ)
While trying to build gtk+2 I got that error:
---------------
make[2]: Entering directory '/tmp/gtk+-2.24.32'
rm -f gdk-x11-2.0.pc && \
cp gdk-2.0.pc gdk-x11-2.0.pc
rm -f gtk+-x11-2.0.pc && \
cp gtk+-2.0.pc gtk+-x11-2.0.pc
make[2]: Leaving directory '/tmp/gtk+-2.24.32'
make[1]: Leaving directory '/tmp/gtk+-2.24.32'
Host mismatch: compile='x86_64-slackware-linux-gnu', SlackBuild='x86_64-slackware-linux'
---------------
It seems that following lines in the SlackBuild don't apply:
---------------
# Autoconf changes linux to linux-gnu.
# Our host is $ARCH-slackware-linux not $ARCH-slackware-linux-gnu:
sed -i -e 's#linux|linux-gnu|#linux|linux|#' config.sub
---------------
???


---------------
make[2]: Entering directory '/tmp/gtk+-2.24.32'
rm -f gdk-x11-2.0.pc && \
cp gdk-2.0.pc gdk-x11-2.0.pc
rm -f gtk+-x11-2.0.pc && \
cp gtk+-2.0.pc gtk+-x11-2.0.pc
make[2]: Leaving directory '/tmp/gtk+-2.24.32'
make[1]: Leaving directory '/tmp/gtk+-2.24.32'
Host mismatch: compile='x86_64-slackware-linux-gnu', SlackBuild='x86_64-slackware-linux'
---------------
It seems that following lines in the SlackBuild don't apply:
---------------
# Autoconf changes linux to linux-gnu.
# Our host is $ARCH-slackware-linux not $ARCH-slackware-linux-gnu:
sed -i -e 's#linux|linux-gnu|#linux|linux|#' config.sub
---------------
???