GNOME Bugzilla – Bug 128473
Problem compiling gstreamer 0.7.2
Last modified: 2004-12-22 21:47:04 UTC
[...] compilation error: file http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 67 element include xsl:include : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl test "x" = "x" || for i in ; do \ cp ./$i html ; done /bin/sh: -c: line 1: syntax error near unexpected token `;' /bin/sh: -c: line 1: `test "x" = "x" || for i in ; do cp ./$i html ; done' gmake[3]: *** [html-build.stamp] Error 2 gmake[3]: Leaving directory `/tmp/gstreamer-0.7.2/docs/gst' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/gstreamer-0.7.2/docs' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/gstreamer-0.7.2' gmake: *** [all] Error 2
What shell do you have as /bin/sh, and what version? It looks buggy.
It's simply bash : # ls -la /bin/sh lrwxrwxrwx 1 root root 4 May 18 2003 /bin/sh -> bash # bash --version GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu) Copyright (C) 2002 Free Software Foundation, Inc.
same error with 0.7.3
What distro? It might be using special patches which break bash. Bash seems broken here, the given error-out command runs fine on my bash...
Same kind of error on slackware 8.0 with bash 2.05b and bison 1.85. Writing gstreamer.devhelp for book /bin/sh: -c: line 1: syntax error near unexpected token `;' /bin/sh: -c: line 1: `test "x" = "x" || for i in ; do cp ./$i html ; done' make[6]: *** [html-build.stamp] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [build-work/main.d/gstreamer-0.7.3/Makefile] Error 2 make[1]: *** [../../desktop/gstreamer/cookies/main.d/install] Error 2 make: *** [paranoid-install] Error 2
See E7 in ftp://ftp.cwru.edu/pub/bash/FAQ. I don't know how to fix your bash installation.