Hi,
I'm trying to build sources on Linux (Mandriva Linux x86_64 Cooker).
I've downloaded sources serna-free-src-20090715.tar.bz2. First I've seen the build.sh script that runs 'make install' command that requires root privileges, but I'm building as a plain user and this command can not be executed correcly. Or is it install something in user's own directories? How to bypass this step and build without root?
Second it tries to build something in '3rd' directory, but most of the libs from this directory already installed in my system and I do not want to build them once again. How to bypass this step? How to configure sources to use system libraries instead? The command './configure --help' gives me an error instead of available options list.
Third, if I just enter 'build' directory and run './configure' and then 'make' I get the following error:
Code:
[olelukoie@olelukoie-linux build]$ make
gmake -C sfworks -f GNUmakefile
gmake[1]: Entering directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks'
gmake -C common -j2 -f GNUmakefile
gmake[2]: Entering directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks/common'
/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/bin/python /home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/tools/msggen/msggen.py -H -M common /home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks/common/CommonMessages.h /home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/sfworks/common/CommonMessages.msg
gmake[2]: /home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/bin/python: Команда не найдена
gmake[2]: *** [/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks/common/CommonMessages.h] Ошибка 127
gmake[2]: Leaving directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks/common'
gmake[1]: *** [common] Ошибка 2
gmake[1]: Leaving directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/build/sfworks'
make: *** [sfworks] Ошибка 2
(Hope you can read Russian

)
On my system python is located in /usr/bin, not in home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/bin. How to solve this problem?
Next, running build.sh in the root dir of sources stops with the following error
Code:
make[1]: Entering directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/docbook'
for i in 1.68.1; do ( if [ -d $i ]; then make -C $i -f Makefile install; fi; ) || exit $?; done
make[2]: Entering directory `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/docbook/1.68.1'
make[2]: *** Нет правила для сборки цели `/home/olelukoie/rpmbuild/BUILD/serna-free-src-20090715/3rd/packages/docbook-xsl-1.68.1.tar.bz2', требуемой для `.unpack_done'. Останов.
Why it tries to build docbook-xsl when I have version 1.75.2 already built and installed in my system?
Code:
$ rpm -q docbook-style-xsl
docbook-style-xsl-1.75.2-1mdv2010.0