On Sun, Sep 29, 2013 at 11:15:33AM -0500, Bruce Dubbs wrote:
> John Frankish wrote:
> > Beyond Linux From Scratch - Version 2013-09-28 Chapter 31. GNOME
> > Applications Totem-3.8.2
> >
> > Using:
> >
> > CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486
> > -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure
> > --prefix=/usr/local --libexecdir=/usr/local/lib/totem
> > --disable-static --disable-python --enable-nautilus
> > --enable-browser-plugins
> >
> > Configure fails with: ... checking which plugins to compile...
> > apple-trailers autoload-subtitles brasero-disc-recorder chapters
> > dbusservice im-status gromit media-player-keys ontop opensubtitles
> > properties pythonconsole recent rotation save-file samplepython
> > sample-vala screensaver screenshot sidebar-test skipto grilo checking
> > whether to compile the browser plugins... yes ./configure:
> > ./configure.lineno: line 21899: syntax error: unexpected "("
> > (expecting "fi")
> 
> Does it fail without CFLAGS?  How about without the switches 
> --disable-python --enable-nautilus --enable-browser-plugins ?
> 
> I'm getting close to committing Totem-3.10.0, but there are several 
> other Gnome packages that need to be updated to 3.10.0 first.
> 
>    -- Bruce

 I certainly agree that _those_ C{,XX}FLAGS _might_ cause a problem
(the -Os).  But the error reported is within the following chunk of
configure:

if test -n "$BROWSER_PLUGIN_CFLAGS"; then
    pkg_cv_BROWSER_PLUGIN_CFLAGS="$BROWSER_PLUGIN_CFLAGS"
 elif test -n "$PKG_CONFIG"; then
    if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists
--print-errors \"glib-2.0
                 gio-2.0 >= \$GIO_REQS
                 gmodule-export-2.0
                 x11
                 totem-plparser-mini >= \$TOTEM_PLPARSER_REQS\""; }
>&5
  ($PKG_CONFIG --exists --print-errors "glib-2.0
                 gio-2.0 >= $GIO_REQS
                 gmodule-export-2.0
                 x11
                 totem-plparser-mini >= $TOTEM_PLPARSER_REQS") 2>&5
  ac_status=$?
(snipped here)

 For me, when I built 3.8.2 on 7.4 I got:

checking for LIBGRILO... yes
checking which plugins to compile...  apple-trailers autoload-subtitles 
brasero-disc-recorder chapters dbusservice im-status gromit media-player-keys 
ontop opensubtitles properties pythonconsole recent rotation samplepython 
sample-vala screensaver screenshot sidebar-test skipto grilo
checking whether to compile the browser plugins... yes
checking for BROWSER_PLUGIN... yes
checking for DBUS... yes

 so the configure script is fine with my options (python got
disabled automatically because of missing deps, and I will not
install nautilus).

 AFAICS, the only likely "new" thing being tested for is
totem-plparser-mini.pc.  The main part of the script has already
tested for the parser itself, using $TOTEM_PLPARSER_REQS.

 I note that the build is in /usr/local.  To me, that implies the
base system could be anything, and there are perhaps different
versions of totem-pl-parser in /usr and /usr/local ?  If so,
$PKG_CONFIG_PATH might be the problem (need to look at /usr/local
*first*).

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to