[Comm] ALM 2.4: Сборка subversion
Alexey Zhukov
=?iso-8859-1?q?zhukov_=CE=C1_netman=2Eru?=
Вт Ноя 16 18:22:34 MSK 2004
Andrey Rahmatullin пишет:
>On Mon, Nov 15, 2004 at 06:55:58PM +0300, Alexey Zhukov wrote:
>
>
>>libtool: compile: unable to infer tagged configuration
>>libtool: compile: specify a tag with `--tag'
>>
>>
>Попробуйте другую версию libtool.
>
>
Спасибо, частично помогло.
После того как снес 1.5 и оставил 1.4 (3:1.4.3-alt4) этот этап был
успешно пройден.
Далее проблемы возникают с выполнением секции %install (не считая
странностей с генерацией документации "/bin/sh: line 1: svnversion:
command not found"):
---
Выполняется(%install): /bin/sh -e /home/alex7/tmp/rpm-tmp.90538
+ umask 022
+ /bin/mkdir -p /home/alex7/RPM/BUILD
+ cd /home/alex7/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /home/alex7/tmp/subversion-buildroot
+ /bin/rm -rf -- /home/alex7/tmp/subversion-buildroot
+ cd subversion-1.0.7
+ make 'INSTALL=/bin/install -p'
DESTDIR=/home/alex7/tmp/subversion-buildroot install
make: Entering directory `/home/alex7/RPM/BUILD/subversion-1.0.7'
/home/alex7/RPM/BUILD/subversion-1.0.7/ac-helpers/install-sh -c -d
/home/alex7/tmp/subversion-buildroot/usr/lib
cd subversion/libsvn_subr ; /bin/sh
/home/alex7/RPM/BUILD/subversion-1.0.7/libtool --mode=install
/bin/install -p libsvn_subr-1.la
/home/alex7/tmp/subversion-buildroot/usr/lib/libsvn_subr-1.la
/bin/install -p .libs/libsvn_subr-1.so.0.0.0
/home/alex7/tmp/subversion-buildroot/usr/lib/libsvn_subr-1.so.0.0.0
(cd /home/alex7/tmp/subversion-buildroot/usr/lib && rm -f
libsvn_subr-1.so.0 && ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0)
(cd /home/alex7/tmp/subversion-buildroot/usr/lib && rm -f
libsvn_subr-1.so && ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so)
/bin/install -p .libs/libsvn_subr-1.lai
/home/alex7/tmp/subversion-buildroot/usr/lib/libsvn_subr-1.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
cd subversion/libsvn_delta ; /bin/sh
/home/alex7/RPM/BUILD/subversion-1.0.7/libtool --mode=install
/bin/install -p libsvn_delta-1.la
/home/alex7/tmp/subversion-buildroot/usr/lib/libsvn_delta-1.la
libtool: install: warning: relinking `libsvn_delta-1.la'
(cd /home/alex7/RPM/BUILD/subversion-1.0.7/subversion/libsvn_delta;
/bin/sh /home/alex7/RPM/BUILD/subversion-1.0.7/libtool --mode=relink gcc
-pipe -Wall -O2 -march=i686 -pthread -DNEON_ZLIB -DNEON_SSL -rpath
/usr/lib -o libsvn_delta-1.la cancel.lo compose_delta.lo
default_editor.lo path_driver.lo svndiff.lo text_delta.lo vdelta.lo
../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib -laprutil-0
-L/usr/lib -lapr-0)
gcc -shared cancel.lo compose_delta.lo default_editor.lo path_driver.lo
svndiff.lo text_delta.lo vdelta.lo -L/usr/lib -lsvn_subr-1 -laprutil-0
-lapr-0 -Wl,-soname -Wl,libsvn_delta-1.so.0 -o
.libs/libsvn_delta-1.so.0.0.0
/usr/bin/ld: cannot find -lsvn_subr-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvn_delta-1.la' with the above
command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
... Далее в том же духе, причем процесс по ошибке не прерывается
и до фиоальной ошибки ...
libtool: install: warning: relinking `mod_dav_svn.la'
(cd /home/alex7/RPM/BUILD/subversion-1.0.7/subversion/mod_dav_svn;
/bin/sh /home/alex7/RPM/BUILD/subversion-1.0.7/libtool --mode=relink
gccgcc -shared activity.lo deadprops.lo liveprops.lo log.lo merge.lo
mod_dav_svn.lo repos.lo update.lo util.lo version.lo
-L/home/alex7/RPM//usr/bin/ld: cannot find -lsvn_repos-1
collect2: ld returned 1 exit status
libtool: install: error: relink `mod_dav_svn.la' with the above command
before installing it
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
make: Leaving directory `/home/alex7/RPM/BUILD/subversion-1.0.7'
ошибка: Неверный код возврата из /home/alex7/tmp/rpm-tmp.90538 (%install)
Ошибки сборки пакетов:
Неверный код возврата из /home/alex7/tmp/rpm-tmp.90538 (%install)
---
Кстати, а warning, возникающий на этапе ./configure:
==================================================================
WARNING: You have chosen to compile Subversion with a different
compiler than the one used to compile Apache.
Current compiler: gcc
Apache's compiler: i586-alt-linux-gcc
This could cause some problems.
==================================================================
не пожет сигнализировать о том, что будут именно эти проблемы?
Правда у меня i586-alt-linux-gcc и gcc не сильно отличаются...
[alex7 на alex7 SPECS]$ i586-alt-linux-gcc --version
i586-alt-linux-gcc (GCC) 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[alex7 на alex7 SPECS]$ gcc --version
i586-alt-linux-gcc (GCC) 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
Best regards,
Alexey.
Подробная информация о списке рассылки community