ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] autoreconf
@ 2023-01-30  5:29 P X
  0 siblings, 0 replies; only message in thread
From: P X @ 2023-01-30  5:29 UTC (permalink / raw)
  To: ALT Devel discussion list


[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-30  5:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30  5:29 [devel] autoreconf P X

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