ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] make, libtool... Где напортачил?...
@ 2009-02-16  6:20 "Шишков Е.В."
  2009-02-16  6:23 ` Andrey Rahmatullin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: "Шишков Е.В." @ 2009-02-16  6:20 UTC (permalink / raw)
  To: devel

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

Прошу прояснить ситуацию.
Собираю новую 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)

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

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-17  5:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-16  6:20 [devel] make, libtool... Где напортачил? "Шишков Е.В."
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     ` "Шишков Е.В."

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