ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Vladimir Scherbaev" <vladimir@altlinux.org>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] syntax error near unexpected token `then'
Date: Mon, 29 Dec 2008 16:41:15 +0300
Message-ID: <89707fb90812290541n567e7d4arf5b6ca68c78d4a7f@mail.gmail.com> (raw)
In-Reply-To: <20081229133640.GC21286@altlinux.org>

29 декабря 2008 г. 16:36 пользователь Alexey Tourbin <at@altlinux.ru> написал:
> On Mon, Dec 29, 2008 at 04:30:09PM +0300, Vladimir Scherbaev wrote:
>> Добрый день.
>>
>> Пытаюсь собрать программку. Вот что получаю при выполнении make:
>> [zemik@zemik-laptop src]$ make
>> making all in src
>> /bin/sh: -c: line 1: syntax error near unexpected token `then'
>> /bin/sh: -c: line 1: `   @if [ ! -x bison -y ]; then \'
>> make: *** [y.tab.c] Ошибка 2
>>
>> Вот кусок makefile:
>> y.tab.c y.tab.h: sg.y sg.h
>>         @if [ "$(YACC)" = "yacc" ]; then \
>>            @if [ ! -x $(YACC) ]; then \
>
> Воторой раз собаку перед if не надо.
>
>>               echo " " ; \
>>               echo "No yacc/bison found. Copy prepared files for
>> y.tab.h and y.tab.c over. " ; \
>>               echo " " ; \
>>               cp y.tab.h.bison y.tab.h ; \
>>               cp y.tab.c.bison y.tab.c ; \
>>            else \
>>               $(YACC) -d sg.y  ; \
>>            fi ; \
>>         else \
>>            $(YACC) -d sg.y  ; \
>>         fi ;
>>
>> Что ему не нравиться?

Всем спасибо:)


-- 
With Best Regards,
Vladimir Scherbaev

      reply	other threads:[~2008-12-29 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29 13:30 Vladimir Scherbaev
2008-12-29 13:33 ` Slava Semushin
2008-12-29 13:36 ` Alexey Tourbin
2008-12-29 13:41   ` Vladimir Scherbaev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89707fb90812290541n567e7d4arf5b6ca68c78d4a7f@mail.gmail.com \
    --to=vladimir@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git