[devel] make, libtool... Где напортачил?...

"Шишков Е.В." =?iso-8859-1?q?shev_=CE=C1_altlinux=2Eorg?=
Пн Фев 16 09:20:00 MSK 2009


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

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

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

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


Подробная информация о списке рассылки Devel