ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] cmake ошибка выполнения
Date: Wed, 19 May 2010 08:03:34 +0400
Message-ID: <20100519080334.1b749fa6@deimos.localdomain> (raw)
In-Reply-To: <4BF30836.6040000@yandex.ru>

В Wed, 19 May 2010 01:35:50 +0400
"Ал. Ал." <queq@yandex.ru> пишет:

> Пробую собрать программу на Python:

Глупый вопрос: а не в хешере ли пробуете?

> > $ cmake ..
> > -- The C compiler identification is unknown
> > -- The CXX compiler identification is unknown
> > -- Check for working C compiler: /usr/bin/gcc
> > -- Check for working C compiler: /usr/bin/gcc -- broken
> > CMake Error at /usr/share/CMake/Modules/CMakeTestCCompiler.cmake:52 
> > (MESSAGE):
> >   The C compiler "/usr/bin/gcc" is not able to compile a simple
> > test program.
> $ rpm -qa gcc4.4
> gcc4.4-4.4.3-alt2
> 
> Подскажите, пожалуйста, куда смотреть?

/usr/bin/gcc --version

И попробовать самому собрать что-нибудь, например

$ echo 'int main(int argc, char *argv[]) { return argc-1; }' > a.c
$ /usr/bin/gcc a.c
$ ./a.out

Поделиться с нами результатами ;)

-- 
WBR,
Ivan A. Melnikov


  parent reply	other threads:[~2010-05-19  4:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 21:35 "Ал. Ал."
2010-05-19  2:24 ` Евгений
2010-05-19  4:03 ` Ivan A. Melnikov [this message]
2010-05-19  3:10   ` REAL
2010-05-19 16:40   ` "Ал. Ал."
2010-05-19 20:19     ` Alexei V. Mezin
2010-05-19 22:50       ` "Ал. Ал."
2010-05-20  1:47         ` REAL

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=20100519080334.1b749fa6@deimos.localdomain \
    --to=iv@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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