[11:22:14 root@dima ~]# apt-get install libpango-devel Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libpango-devel: Depends: pkgconfig(cairo) E: Broken packages
И как вы этого добились?
(In reply to comment #1) > И как вы этого добились? Захотел программку в GTK2 написасать и вот... [22:24:15 root@dima ~]# export ftp_proxy="http://192.168.2.3:3128"; apt-get update Get:1 ftp://ftp.linux.kiev.ua x86_64 release [721B] Get:2 ftp://ftp.linux.kiev.ua noarch release [719B] Fetched 1440B in 3s (381B/s) Get:1 ftp://ftp.linux.kiev.ua x86_64/classic pkglist [2207kB] Get:2 ftp://ftp.linux.kiev.ua x86_64/classic release [154B] Get:3 ftp://ftp.linux.kiev.ua noarch/classic pkglist [917kB] Get:4 ftp://ftp.linux.kiev.ua noarch/classic release [154B] Get:5 ftp://ftp.linux.kiev.ua x86_64/classic srclist [920kB] Fetched 4044kB in 4m8s (16.3kB/s) Reading Package Lists... Done Building Dependency Tree... Done [11:53:35 root@dima ~]# apt-get install libpango-devel Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libpango-devel: Depends: pkgconfig(cairo) E: Broken packages сейчас пишу в GTK 1.2 - он работает
(In reply to comment #2) Да забыл сказать [12:10:46 root@dima ~]# uname -a Linux dima 2.6.18-ovz-smp-alt15 #1 SMP Sat Aug 4 01:05:35 MSD 2007 x86_64 GNU/Linux это может быть важно.
apt-get install libcairo-devel работает?
(In reply to comment #4) > apt-get install libcairo-devel работает? Гм, немного не так, как ожидалось... [19:16:08 root@dima ~]# export ftp_proxy="http://192.168.2.3:3128"; apt-get update Get:1 ftp://ftp.linux.kiev.ua x86_64 release [721B] Get:2 ftp://ftp.linux.kiev.ua noarch release [719B] Fetched 1440B in 5s (253B/s) Get:1 ftp://ftp.linux.kiev.ua x86_64/classic pkglist [2207kB] Get:2 ftp://ftp.linux.kiev.ua x86_64/classic release [154B] Get:3 ftp://ftp.linux.kiev.ua noarch/classic pkglist [918kB] Get:4 ftp://ftp.linux.kiev.ua noarch/classic release [154B] Get:5 ftp://ftp.linux.kiev.ua x86_64/classic srclist [920kB] Fetched 4044kB in 2m49s (23.9kB/s) Reading Package Lists... Done Building Dependency Tree... Done [19:19:15 root@dima ~]# apt-get install libcairo-devel Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: fontconfig-devel libXrender-devel libdirectfb libdirectfb-devel libdirectfb_0.9.25 libfreetype-devel The following packages will be upgraded libdirectfb The following packages will be REMOVED: dia gimp gtk-demo gxine inkscape libcairomm libgtkmm2 libpoppler-glib libxine lyx-gost-cp1251 lyx-rusdoc lyx13 openoffice.org openoffice.org-langpack-ru python-module-pycairo python-module-pygtk The following NEW packages will be installed: fontconfig-devel libXrender-devel libcairo-devel libdirectfb-devel libdirectfb_0.9.25 libfreetype-devel 1 upgraded, 6 newly installed, 16 removed and 3 not upgraded. Need to get 1455kB of archives. After unpacking 485MB disk space will be freed. Do you want to continue? [Y/n] Get:1 ftp://ftp.linux.kiev.ua x86_64/classic fontconfig-devel 2.5.0-alt1 [202kB] Get:2 ftp://ftp.linux.kiev.ua x86_64/classic libdirectfb 1.1.0-alt1 [312kB] Get:3 ftp://ftp.linux.kiev.ua x86_64/classic libdirectfb-devel 1.1.0-alt1 [153kB] Get:4 ftp://ftp.linux.kiev.ua x86_64/classic libfreetype-devel 2.3.5-alt2 [397kB] Get:5 ftp://ftp.linux.kiev.ua x86_64/classic libXrender-devel 0.9.4-alt1 [6953B] Get:6 ftp://ftp.linux.kiev.ua x86_64/classic libcairo-devel 1:1.4.10-alt1 [142kB] Get:7 ftp://ftp.linux.kiev.ua x86_64/classic libdirectfb_0.9.25 0.9.25.1-alt2 [242kB] Fetched 1455kB in 1m25s (17.0kB/s) Committing changes... Preparing... ################################### [100%] 1: fontconfig-devel ################################### [ 14%] 2: libdirectfb ################################### [ 28%] 3: libdirectfb-devel ################################### [ 42%] 4: libfreetype-devel ################################### [ 57%] 5: libXrender-devel ################################### [ 71%] 6: libcairo-devel ################################### [ 85%] 7: libdirectfb_0.9.25 ################################### [100%] Configuring LyX for your system... checking for a LaTeX2e program... (latex latex2e) +checking for "latex"... yes checking for the pdflatex program... (pdflatex) +checking for "pdflatex"... yes checking for the latex2rtf program... (latex2rtf) +checking for "latex2rtf"... yes checking for a LaTeX -> LyX converter... (reLyX) +checking for "reLyX"... yes checking for a Noweb -> LyX converter... (noweb2lyx) +checking for "noweb2lyx"... yes checking for a Noweb -> LaTeX converter... (noweave) +checking for "noweave"... no checking for an HTML -> LaTeX converter... (html2latex) +checking for "html2latex"... no checking for an MS Word -> LaTeX converter... (wvCleanLatex word2x) +checking for "wvCleanLatex"... yes checking for a LaTeX -> MS Word converter... (htlatex) +checking for "htlatex"... no checking for Image converter... (convert) +checking for "convert"... yes checking for a Postscript previewer... (gsview32 gv ghostview kghostview) +checking for "gsview32"... no +checking for "gv"... yes checking for a PDF previewer... (acrobat acrord32 gsview32 acroread gv ghostview xpdf kpdf kghostview) +checking for "acrobat"... no +checking for "acrord32"... no +checking for "gsview32"... no +checking for "acroread"... no +checking for "gv"... yes checking for a RTF preview... (abiword oowriter kword) +checking for "abiword"... no +checking for "oowriter"... yes checking for a DVI previewer... (xdvi windvi yap kdvi) +checking for "xdvi"... yes checking for an HTML previewer... (firefox file://$$p$$i netscape) +checking for "firefox"... yes checking for a PS to PDF converter... (ps2pdf13 $$i) +checking for "ps2pdf13"... yes checking for a DVI to PS converter... (dvips) +checking for "dvips"... yes checking for a DVI to PDF converter... (dvipdfm) +checking for "dvipdfm"... yes checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff) +checking for "groff"... yes checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for "chktex"... no checking for a spellchecker... (ispell) +checking for "ispell"... no checking for Octave... (octave) +checking for "octave"... no checking for Maple... (maple) +checking for "maple"... no checking for a fax program... (kdeprintfax ksendfax) +checking for "kdeprintfax"... yes checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for "sgml2lyx"... no checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for "sgmltools"... no +checking for "db2dvi"... no checking for a spool command... (lp lpr) +checking for "lp"... yes checking for a LaTeX -> HTML converter... (htlatex tth latex2html hevea) +checking for "htlatex"... no +checking for "tth"... no +checking for "latex2html"... yes checking LaTeX configuration... auto +Inspecting your LaTeX configuration. +checking for LaTeX version... 2001/06/01 +checking for default encoding (this may take a long time) + checking for ec fonts... yes + checking for ec support in LaTeX format... yes +checking for document class IEEEtran [IEEEtran]... no +checking for document class aa [aa]... no +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... no +checking for document class agums [aguplus,agums.sty]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... no +checking for document class article [article]... yes +checking for document class book [book]... yes +checking for document class broadway [broadway]... yes +checking for document class chess [article,lyxskak.sty]... yes +checking for document class cl2emult [cl2emult]... no +checking for document class cv [cv]... yes +checking for document class dinbrief [dinbrief]... yes +checking for docbook class docbook-book... no +checking for docbook class docbook-chapter... no +checking for docbook class docbook-section... no +checking for docbook class docbook... no +checking for document class dtk [dtk]... no +checking for document class egs [egs]... no +checking for document class elsart [elsart,amssymb.sty]... no +checking for document class entcs [entcs]... no +checking for document class extarticle [extarticle]... yes +checking for document class extbook [extbook]... yes +checking for document class extletter [extletter]... yes +checking for document class extreport [extreport]... yes +checking for document class foils [foils]... no +checking for document class g-brief-de [g-brief]... yes +checking for document class g-brief-en [g-brief]... yes +checking for document class g-brief2 [g-brief2]... no +checking for document class heb-article [article]... yes +checking for document class heb-letter [letter]... yes +checking for document class hollywood [hollywood]... yes +checking for document class ijmpd [ws-ijmpd]... no +checking for document class jgrga [aguplus,jgrga.sty]... no +checking for document class kluwer [kluwer]... no +checking for document class latex8 [article,latex8.sty,times.sty]... no +checking for document class letter [letter]... yes +checking for linuxdoc class linuxdoc... no +checking for document class literate-article [article,noweb.sty]... no +checking for document class literate-book [book,noweb.sty]... no +checking for document class literate-report [report,noweb.sty]... no +checking for document class llncs [llncs]... no +checking for document class ltugboat [ltugboat]... no +checking for linuxdoc class manpage... no +checking for document class memoir [memoir]... no +checking for document class mwart [mwart]... yes +checking for document class mwbk [mwbk]... yes +checking for document class mwrep [mwrep]... yes +checking for document class paper [paper]... no +checking for document class report [report]... yes +checking for document class revtex [revtex]... yes +checking for document class revtex4 [revtex4]... yes +checking for document class scrartcl [scrartcl]... yes +checking for document class scrbook [scrbook]... yes +checking for document class scrlettr [scrlettr]... yes +checking for document class scrlttr2 [scrlttr2]... yes +checking for document class scrreprt [scrreprt]... yes +checking for document class seminar [seminar]... yes +checking for document class siamltex [siamltex]... no +checking for document class slides [slides]... yes +checking for document class spie [spie]... no +checking for document class svglobal [svjour,svglobal.clo]... no +checking for document class svjog [svjour,svjog.clo]... no +checking for document class svprobth [svjour,svprobth.clo]... no +checking for package a4 [a4]... yes +checking for package a4wide [a4wide]... yes +checking for package array [array]... yes +checking for package babel [babel]... yes +checking for package color [color]... yes +checking for package fancyhdr [fancyhdr]... yes +checking for package floatflt [floatflt]... yes +checking for package setspace [setspace]... yes +checking for package subfigure [subfigure]... yes +checking for package geometry [geometry]... yes +checking for package longtable [longtable]... yes +checking for package algorithm [algorithm]... no +checking for package rotating [rotating]... yes +checking for package latex8 [latex8]... no +checking for package url [url]... yes +checking for package varioref [varioref]... yes +checking for package prettyref [prettyref]... no +checking for package natbib [natbib]... yes +checking for package graphicx [graphicx]... yes +checking for graphics driver... default +checking for package psnfss [times.sty]... yes +Inspection done. +Read the file doc/LaTeXConfig.lyx for more information. creating packages.lst creating doc/LaTeXConfig.lyx checking whether TeX allows spaces in file names... no creating lyxrc.defaults checking for a FIG -> EPS/PPM/PNG converter... (fig2dev) +checking for "fig2dev"... yes checking for a TIFF -> PS converter... (tiff2ps) +checking for "tiff2ps"... no checking for a Tgif -> EPS/PNG/PDF converter... (tgif) +checking for "tgif"... no checking for an EPS -> PDF converter... (epstopdf) +checking for "epstopdf"... yes checking for a Grace -> Image converter... (gracebat) +checking for "gracebat"... no Add predefined settings for en_US.utf8 locale checking for TeX fonts +checking for cmex10... yes (pfb) +checking for cmmi10... yes (pfb) +checking for cmr10... yes (pfb) +checking for cmsy10... yes (pfb) +checking for eufm10... yes (pfb) +checking for msam10... yes (pfb) +checking for msbm10... yes (pfb) +checking for wasy10... yes (pfb) Done.
Мама мия. Господа, давайте пересоберём общеиспользуемую libcairo БЕЗ directfb, а сборку с directfb положим где-нибудь рядом с другим сонеймом (lav@ нуждается в libcairo-libpango-libgtk+2 с directfb).
Я не понял, в чём была проблема. "hsh --init --without-stuff && hsh-install libpango-devel" всё работает. Я также против того, чтобы собирать libcairo без directfb. Это проблема не специфическая для cairo и directfb, а общая проблема поддержки legacy библиотек. Я также не буду и пересобирать libcairo с новым directfb, пока не обдумаю эту проблему достаточно крепко. :) Кажется, legion несколько специфически собрал новый directfb. Не понятно, зачем пакет с библиотекой вновь был переименован в libdirectfb. Естественно что это разламывает обновление с "позопрошлого" libdirectfb.
(In reply to comment #7) > Я не понял, в чём была проблема. "hsh --init --without-stuff && hsh-install > libpango-devel" всё работает. Я также против того, чтобы собирать libcairo без > directfb. Это проблема не специфическая для cairo и directfb, а общая проблема > поддержки legacy библиотек. Я также не буду и пересобирать libcairo с новым > directfb, пока не обдумаю эту проблему достаточно крепко. :) > > Кажется, legion несколько специфически собрал новый directfb. Не понятно, зачем > пакет с библиотекой вновь был переименован в libdirectfb. Естественно что это > разламывает обновление с "позопрошлого" libdirectfb. Тогда объясните, пожалуйста, как правильно поставить GTK2 для разработки приложений? Или проще компилить пакет и библиотеки самому?
"apt-get install libgtk+2-devel" (опционально ещё и "apt-get install libgtk+2-devel-doc devhelp" для просмотра документации)