[devel] При find-requires хочет DISPLAY. Как обойти?

Slava Dubrovskiy =?iso-8859-1?q?slava_=CE=C1_tangramltd=2Ecom?=
Вт Ноя 13 13:44:42 MSK 2007


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

При сборке wxPerl-0.80 не проходит этап find-requires.
Как это лучше всего обойти? Или отключить поиск зависимостей совсем и
проставить руками?


Executing(Requires): /bin/sh -e /usr/src/tmp/rpm-tmp.49243
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /usr/lib/rpm/find-requires
find-requires: running scripts
(files,lib,pam,perl,pkgconfig,pkgconfiglib,python,shebang,shell,static,symlinks)
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm
syntax OK
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/App.pm
syntax OK
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm
syntax OK
Error: Unable to initialize gtk, is DISPLAY set properly?
Can't locate Wx/Wx_Exp.pm in @INC (@INC contains: /usr/lib/rpm
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl /etc/perl5
/usr/lib/perl5/i386-linux /usr/lib/perl5
/usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl /etc/perl5 /usr/lib/perl5/i386-linux
/usr/lib/perl5 /usr/local/lib/perl5/site_perl/5.8.8/i386-linux
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl .) at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm
line 193.
Compilation failed in require at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/DateTime.pm
line 15.
BEGIN failed--compilation aborted at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/DateTime.pm
line 15.
Compilation failed in require at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm
line 15.
BEGIN failed--compilation aborted at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm
line 15.
#
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm:
deparse failed, trying to recover with -MWx
Error: Unable to initialize gtk, is DISPLAY set properly?
Can't locate Wx/Wx_Exp.pm in @INC (@INC contains: /usr/lib/rpm
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl /etc/perl5
/usr/lib/perl5/i386-linux /usr/lib/perl5
/usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl /etc/perl5 /usr/lib/perl5/i386-linux
/usr/lib/perl5 /usr/local/lib/perl5/site_perl/5.8.8/i386-linux
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl .) at
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm
line 193.
Compilation failed in require.
BEGIN failed--compilation aborted.
#
/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm:
deparse failed.
prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux
error: /bin/sh failed
error: Failed to find Requires

-- 
WBR,
Dubrovskiy Vyacheslav





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