LINUX.ORG.RU
ФорумAdmin

[Debian] mozilla-xpcom

 


0

0

Не могу установить модуль Mozilla::DOM. Вот результат:

127:~/.cpan/build/Mozilla-DOM-0.21# perl Makefile.PL
Package mozilla-xpcom was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-xpcom.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-xpcom' found
Package firefox-xpcom was not found in the pkg-config search path.
Perhaps you should add the directory containing `firefox-xpcom.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-xpcom' found
Package mozilla-firefox-xpcom was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-firefox-xpcom.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-firefox-xpcom' found
*** can not find package for any of (mozilla-xpcom >= 1.7, firefox-xpcom >= 1.0, mozilla-firefox-xpcom >= 1.0)
*** check that one of them is properly installed and available in PKG_CONFIG_PATH
 at Makefile.PL line 43

mozilla-dev у меня установлен, но в /usr/lib/pkgconfig нет mozilla-xpcom.pc. Плюс у меня установлены все эти пакеты:

127:~/.cpan/build/Mozilla-DOM-0.21# apt-cache search xpcom
libmozillainterfaces-java - XPCOM bindings for Java
libxul-common - Gecko engine library - common files
libxul-dev - Development files for the Gecko engine library
libxul0d - Gecko engine library
libxul0d-dbg - Development files for the Gecko engine library
python-xpcom - XPCOM bindings for Python
xulrunner - XUL + XPCOM application runner

Подскажите, где мне найти нужный XPCOM.

Из-за некоторых разногласий с Mozilla в Debian нет mozilla и firefox. Есть iceape (mozilla suite) и iceweasel (firefox). Соответственно, mozilla-xpcom.pc в Дебиане лежит как iceape-xpcom.pc в пакете iceape-dev.

watashiwa_daredeska ★★★★
()
Ответ на: комментарий от watashiwa_daredeska

Сделал ссылку на /usr/lib/pkgconfig/mozilla-xpcom.pc, но теперь получаю такое:

Requested 'mozilla-xpcom >= 1.7' but version of XPCOM is 1.0.9

Видимо придётся ставить mozilla из исходников с сайта? Другого пути нет?

Kinjo
() автор топика
Ответ на: комментарий от Kinjo

> Requested 'mozilla-xpcom >= 1.7' but version of XPCOM is 1.0.9

Mozilla Suite мертва, ее преемником в Mozilla является Seamonkey (собственно, iceape -- это seamonkey, а не mozilla suite), у которой версии 1.7 еще не было :)

Собственно, надо спортировать ту фиговину, которую ты собираешь, на iceape и поставить зависимость от iceape-xpcom >= 1.0.9.

watashiwa_daredeska ★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.