[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: сборка старого пакета



Andrey Rahmatullin wrote:

> > On Thu, Jan 13, 2011 at 11:23:34PM +0600, Andrei Lomov wrote:
> >> Подскажите, пожалуйста, пару толковых ключевых слов -- нужны
инструкции,
> >> как собрать из исходников пакет из более старой версии debian (lenny)
для
> >> новой версии (squeeze). Какие тут особенности по сравнению с обычной
> >> пересборкой. (Нужно попытаться собрать LyX 1.5.5 из lenny для squeeze).
> >> Заранее благодарю.
> > А какие тут могут быть особенности?

Понял, делаю ...

С ходу не удалось.

Получил исходники lyx-1.5.5 из lenny, 

> $ dpkg-buildpackage
> ...
> configuring LyX version 1.5.5
> checking for build type... release
> checking for version suffix... 
> checking build system type... i486-pc-linux-gnu
> checking host system type... i486-pc-linux-gnu
> checking target system type... i486-pc-linux-gnu
> checking what packaging should be used... posix
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for gawk... (cached) gawk
> checking for kpsewhich... kpsewhich
> checking for gm4... no
> checking for gnum4... no
> checking for m4... m4
> checking for a Python interpreter with version >= 2.3... python
> checking for python... /usr/bin/python
> checking for python version... 2.6
> checking for python platform... linux2
> checking for python script directory...
${prefix}/lib/python2.6/site-packages
> checking for python extension module directory...
${exec_prefix}/lib/python2.6/site-packages
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... unsupported
> checking for style of include used by make... GNU
> checking dependency style of gcc... none
> checking for strerror in -lcposix... no
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.

эх, где этот config.log ... Нашел

http://fitcontrol.narod.ru/sklad/config.log

> make: *** [configure-stamp] Ошибка 1
> dpkg-buildpackage: ошибка: debian/rules build возвратил код ошибки 2


-- 
Всего доброго,
А.Л.



Reply to: