ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: P X <ruslandh@gmail.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] autoreconf
Date: Mon, 30 Jan 2023 08:29:53 +0300
Message-ID: <fafd62e9-4b48-b6dd-2780-e9eb9b33d315@gmail.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 2397 bytes --]

Здравствуйте !

Что-то я всё позабывал  про autotols


При сборке новой версии AlephOne имею :
В spec записал, всё что вспомнил ;-) :

aclocal
autom4te -L Autoconf
automake -ac --gnu
%autoreconf

(Естественно, c просто %autoreconf имею ту-же ошибку)

+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd AlephOne-20230121
+ aclocal
+ autom4te -L Autoconf
+ automake -ac --gnu
configure.ac:45: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:14: installing './install-sh'
configure.ac:14: installing './missing'
Source_Files/CSeries/Makefile.am: installing './depcomp'
+ true
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: running: aclocal --force
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: not using Libtool
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
configure.ac:84: error: possibly undefined macro: AC_MSG_ERROR
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.


Как я понимаю это на строчки типа:

AX_BOOST_BASE([1.65.0],
               ,
               [AC_MSG_ERROR([You need Boost 1.65.0 or higher to build 
Aleph One.])])
AX_BOOST_SYSTEM

и таких строчек (макросов) не один в configure.ac


а если игнорирую это (%autoreconf | true), то имею  ещё одну ошибку

%configure \
--enable-dependency-tracking
.....
checking dependency style of x86_64-alt-linux-g++... gcc3
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
./configure: line 5588: syntax error near unexpected token `17,'
./configure: line 5588: `AX_CXX_COMPILE_STDCXX(17, , mandatory)'
error: Bad exit status from /usr/src/tmp/rpm-tmp.61327 (%build)
     Bad exit status from /usr/src/tmp/rpm-tmp.61327 (%build)

Это на строки:
dnl Require C++17 or newer and enable C++17 if needed.
AX_CXX_COMPILE_STDCXX([17], [], [mandatory])


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 14653 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

                 reply	other threads:[~2023-01-30  5:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=fafd62e9-4b48-b6dd-2780-e9eb9b33d315@gmail.com \
    --to=ruslandh@gmail.com \
    --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