ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: REAL <root@mmedia2.kemsu.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] broken autoreconf & Fortran 90/95
Date: Tue, 12 Jan 2010 18:49:43 +0700
Message-ID: <4B4C61D7.5070406@mmedia2.kemsu.ru> (raw)
In-Reply-To: <20100112112002.GB11734@wo.int.altlinux.org>

Dmitry V. Levin пишет:
>> Кусочки из config.log:
>>
>> [...]
>> configure:4645: checking for C/C++ preprocessor flags
>> [...]
>> configure:4823: x86_64-alt-linux-gcc -c -pipe -Wall -O2 -fPIC -DPIC 
>> conftest.c >&5
>>
>> Ой, а чего у нас такой C/C++ странный?
> 
> Это должно было быть написано выше в том же файле.

Гляну на досуге.

>> Ну и ближе к концу вполне уже логично:
>>
>> configure:5849: checking if x86_64-alt-linux-gcc is a C++ compiler
>> configure:5874: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -fPIC 
>> -DPIC   conftest.c -lm  >&5
>> configure:5874: $? = 0
>> configure:5874: ./conftest
>> configure:5874: $? = 1
>> configure: program exited with status 1
>>
>>
>> Это где что сломалось или какого доктора 
>> звать?
> 
> autoconf ни на что не жаловался?

configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded 
before it was required
../../lib/autoconf/fortran.m4:255: AC_LANG_COMPILER(Fortran 77) is 
expanded from...
../../lib/autoconf/lang.m4:324: AC_LANG_COMPILER_REQUIRE is expanded 
from...
../../lib/autoconf/general.m4:2579: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/fortran.m4:558: _AC_PROG_FC_V is expanded from...
../../lib/autoconf/fortran.m4:611: _AC_FC_LIBRARY_LDFLAGS is expanded 
from...
../../lib/autoconf/fortran.m4:699: AC_F77_LIBRARY_LDFLAGS is expanded 
from...
acinclude.m4:829: SUNDIALS_F77_CHECK is expanded from...
acinclude.m4:669: SUNDIALS_F77_SUPPORT is expanded from...
configure.ac:47: the top level
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
configure.ac:39: warning: AC_REQUIRE: `AC_PROG_CPP' was expanded 
before it was required
../../lib/autoconf/c.m4:358: AC_LANG_PREPROC(C) is expanded from...
../../lib/autoconf/lang.m4:367: AC_LANG_PREPROC_REQUIRE is expanded 
from...
../../lib/autoconf/general.m4:2511: AC_EGREP_CPP is expanded from...
../../lib/autoconf/general.m4:2529: AC_EGREP_HEADER is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from...
../../lib/autoconf/headers.m4:686: AC_HEADER_STDC is expanded from...
acinclude.m4:383: SUNDIALS_CC_CHECK is expanded from...
acinclude.m4:360: SUNDIALS_SET_CC is expanded from...
configure.ac:39: the top level
configure.ac:39: warning: AC_REQUIRE: `AC_HEADER_STDC' was expanded 
before it was required
../../lib/autoconf/headers.m4:297: _AC_INCLUDES_DEFAULT_REQUIREMENTS 
is expanded from...
../../lib/autoconf/headers.m4:353: AC_INCLUDES_DEFAULT is expanded from...
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is 
expanded from...
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
../../lib/m4sugar/m4sh.m4:566: AS_FOR is expanded from...
../../lib/autoconf/headers.m4:249: AC_CHECK_HEADERS is expanded from...
configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded 
before it was required
../../lib/autoconf/fortran.m4:255: AC_LANG_COMPILER(Fortran 77) is 
expanded from...
../../lib/autoconf/lang.m4:324: AC_LANG_COMPILER_REQUIRE is expanded 
from...
../../lib/autoconf/general.m4:2579: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/fortran.m4:558: _AC_PROG_FC_V is expanded from...
../../lib/autoconf/fortran.m4:611: _AC_FC_LIBRARY_LDFLAGS is expanded 
from...
../../lib/autoconf/fortran.m4:699: AC_F77_LIBRARY_LDFLAGS is expanded 
from...
acinclude.m4:829: SUNDIALS_F77_CHECK is expanded from...
acinclude.m4:669: SUNDIALS_F77_SUPPORT is expanded from...
configure.ac:47: the top level
autoreconf-default: configure.ac: not using Automake
autoreconf-default: Leaving directory `.'

Тут я уже где-то встречал способ лечения... На вики бы его, для тех, 
кто тоже споткнулся о больной %autoreconf...

> По cmake я вам точно ничем помочь не смогу.

А тут я и сам справлюсь ;)

Но ведь чинить надо. Опять ломается несломанное?

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


  reply	other threads:[~2010-01-12 11:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  3:38 REAL
2010-01-12  4:44 ` REAL
2010-01-12 11:20   ` Dmitry V. Levin
2010-01-12 11:49     ` REAL [this message]
2010-01-12 11:36       ` Dmitry V. Levin
2010-01-12 11:58         ` REAL
2010-01-12 11:43           ` Dmitry V. Levin
2010-01-12 12:38             ` Afanasov Dmitry
2010-01-12 12:37       ` Afanasov Dmitry
2010-01-12 11:16 ` Dmitry V. Levin
2010-01-12 11:46   ` REAL
2010-01-12 11:34     ` Dmitry V. Levin
2010-01-13  7:50       ` REAL
2010-01-13  7:47         ` Afanasov Dmitry
2010-01-13  8:42           ` REAL
2010-01-13  9:26             ` REAL
2010-01-13 11:06             ` REAL
2010-01-13 12:49         ` [devel] new autoconf " Dmitry V. Levin
2010-01-12 16:12   ` [devel] broken autoreconf " Michael Shigorin

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=4B4C61D7.5070406@mmedia2.kemsu.ru \
    --to=root@mmedia2.kemsu.ru \
    --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