Re: syntax error while configuring pango-1.2.1



On Tue, 2003-03-18 at 06:05, Werner Augustin (TW/RR) wrote:
> hi,
> 
> while running ./configure I get the following error message:
> 
> ....
> config.status: executing default-1 commands
> config.status: executing default-2 commands
> config.status: executing default commands
> ./configure[12635]: syntax error at line 12635 : `then' unmatched
> 
> 
> the relevant line in configure is:
> 
> echo "configuration:
> 	backends: `if $have_freetype && $have_fontconfig; then echo " FreeType"; fi \
> 	``if $have_x ; then echo " X"; fi \
> 	``if $have_xft ; then echo " Xft"; fi \
> 	``if $have_win32 ; then echo " Win32"; fi`"
> 
> 
> 
> after experimenting for a while I've found out, that it's probably a
> bug in /bin/sh of Solaris 2.7 because:

> $ echo "foo `if $bar; then echo "baz baz"; fi `"
> syntax error: `end of file' unexpected

I believe the Solaris behavior is standard at least for
some shells ... the problem has been reported on HP/UX as well ... 
see the  http://bugzilla.gnome.org/show_bug.cgi?id=108001.

I think the message is harmless ... if not, there is a patch
on that bug you should be able to use for now (or just delete 
the lines)

Regards,
                                           Owen





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