pspp-users
[Top][All Lists]
Advanced

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

Re: CVS compilation difficulty


From: Ben Pfaff
Subject: Re: CVS compilation difficulty
Date: Thu, 14 Dec 2006 16:02:14 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> On Thu, Dec 14, 2006 at 03:27:24PM -0800, Ben Pfaff wrote:
>      >       
>      >      The offending region in the configure script is:
>      >      
>      >      if test x"$with_gui" != x"no" ; then
>      >       PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0)
>      >       PKG_CHECK_MODULES(GLADE, libglade-2.0)
>      >      fi
>      > This suggests that you don't have the pkg.m4 module.  However, if
>      > you're not interested in building the GUI, then you can run configure
>      > using "./configure --without-gui" and it should work just fine.
>      
>      Well, unfortunately, if you don't have pkg.m4 when you run
>      autoconf, the above calls make it literally into the generated
>      configure script, and Bash will then reject them even with
>      --without-gui. 
>
> I didn't think it would.  Since bash is interpreted, if the test
> x"$with_gui" != x"no" fails, then the PKG_CHECK_MODULES lines never
> make it to the interpreter ??

Try it.  Cut and paste this into a shell prompt:
        if false; then
                PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0)
        fi
It gives me the error "bash: syntax error near unexpected token `GTK,'"
-- 
"Ho ho ho. I _so_ enjoy making a fool out of myself."
--Linus, on Christmas Day, 2000




reply via email to

[Prev in Thread] Current Thread [Next in Thread]