ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "\"Шишков Е.В.\"" <shev@altlinux.org>
To: devel@lists.altlinux.org
Subject: [devel] make, libtool... Где напортачил?...
Date: Mon, 16 Feb 2009 09:20:00 +0300
Message-ID: <49990590.1090709@altlinux.org> (raw)

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

Прошу прояснить ситуацию.
Собираю новую dclib-0.3.23.
Если собирать ручками:
autoreconf
./configure --enable-shared --disable-static --enable-debug
make

всё собирается.

Если rpm -b (или в hasher) собирать, то получаю ошибку.

В spec:
%prep
%setup -q

%build
autoreconf

%configure \
     --enable-shared \
     --disable-static \
     --enable-debug

%make_build


Ошибка следующая:

make[3]: Entering directory `/home/evgen/RPM/BUILD/dclib-0.3.23/dclib/gnulib'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. 
-DDEBUG -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=600 -D_BSD_SOURCE  -pipe -Wall -O2 
-march=pentium4 -g -pthread -fvisibility=hidden -pipe -Wall -O2 -march=pentium4 -c -o 
md5.lo md5.c
../../libtool: line 840: X--tag=CC: command not found
../../libtool: line 873: libtool: ignoring unknown tag : command not found
../../libtool: line 840: X--mode=compile: command not found
../../libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: 
command not found
../../libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be 
specified.: command not found
../../libtool: line 1151: Xgcc: command not found
../../libtool: line 1151: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1151: X-I.: command not found
../../libtool: line 1151: X-I../..: No such file or directory
../../libtool: line 1151: X-I../..: No such file or directory
../../libtool: line 1151: X-DDEBUG: command not found
../../libtool: line 1151: X-Wall: command not found
../../libtool: line 1151: X-W: command not found
../../libtool: line 1151: X-pedantic: command not found
../../libtool: line 1151: X-Wno-long-long: command not found
../../libtool: line 1151: X-Wundef: command not found
../../libtool: line 1151: X-Wconversion: command not found
../../libtool: line 1151: X-D_FILE_OFFSET_BITS=64: command not found
../../libtool: line 1151: X-D_LARGEFILE_SOURCE: command not found
../../libtool: line 1151: X-D_REENTRANT: command not found
../../libtool: line 1151: X-D_XOPEN_SOURCE=600: command not found
../../libtool: line 1151: X-D_BSD_SOURCE: command not found
../../libtool: line 1151: X-pipe: command not found
../../libtool: line 1151: X-Wall: command not found
../../libtool: line 1151: X-O2: command not found
../../libtool: line 1151: X-march=pentium4: command not found
../../libtool: line 1151: X-g: command not found
../../libtool: line 1151: X-pthread: command not found
../../libtool: line 1151: X-fvisibility=hidden: command not found
../../libtool: line 1151: X-pipe: command not found
../../libtool: line 1151: X-Wall: command not found
../../libtool: line 1151: X-O2: command not found
../../libtool: line 1151: X-march=pentium4: command not found
../../libtool: line 1151: X-c: command not found
../../libtool: line 1204: Xmd5.lo: command not found
../../libtool: line 1209: libtool: compile: cannot determine name of library object from 
`': command not found
make[3]: *** [md5.lo] Error 1
make[3]: Leaving directory `/home/evgen/RPM/BUILD/dclib-0.3.23/dclib/gnulib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/evgen/RPM/BUILD/dclib-0.3.23/dclib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/evgen/RPM/BUILD/dclib-0.3.23'
make: *** [all] Error 2
make: Leaving directory `/home/evgen/RPM/BUILD/dclib-0.3.23'
ошибка: Неверный код возврата из /home/evgen/tmp/rpm-tmp.66948 (%build)

Ни как не пойму, почему руками собирается, а на автомате - нет.

-- 
С уважением,
Шишков Евгений


             reply	other threads:[~2009-02-16  6:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16  6:20 "Шишков Е.В." [this message]
2009-02-16  6:23 ` Andrey Rahmatullin
2009-02-16  6:45   ` "Шишков Е.В."
2009-02-16  6:53     ` "Шишков Е.В."
2009-02-16  7:17   ` "Шишков Е.В."
2009-02-16  8:36 ` Anton Farygin
2009-02-16  8:42   ` "Шишков Е.В."
2009-02-16 22:01 ` Afanasov Dmitry
2009-02-17  4:48   ` Yuri N. Sedunov
2009-02-17  5:31     ` "Шишков Е.В."

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=49990590.1090709@altlinux.org \
    --to=shev@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