<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Собрать GTK и всё что для этого нужно]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=20990&amp;type=atom" />
	<updated>2012-03-16T16:37:58Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=20990</id>
		<entry>
			<title type="html"><![CDATA[Re: Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260350#p260350" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>для того чтобы программировать нужно только до установить соответствующие хедеры (dev-пакеты).</p></blockquote></div><p>я установил libgtk2.0-dev и вроде заработало. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Morningstar]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15794</uri>
			</author>
			<updated>2012-03-16T16:37:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260350#p260350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260347#p260347" />
			<content type="html"><![CDATA[<p>омг... даже сложно представить, как вы её искали.... скажу более... gtk у вас в системе и так установлен и на нём работает большая часть системы.<br />для того чтобы программировать нужно только до установить соответствующие хедеры (dev-пакеты).<br />если критична именно третья версия, то она должна быть в сторонних репозитариях, но это вряд ли вам сейчас понадобится....</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-03-16T16:19:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260347#p260347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260330#p260330" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>ключевой вопрос: <strong>Morningstar</strong>, зачем вам сборка из исходников?</p></blockquote></div><p>Хочу заняться программированием на GTK+. Его в системе не нашлось. Значит надо ставить. Если есть шанс поставить из репозиториев было бы очень хорошо. Но пока такого не нашёл.&nbsp; К слову один (а может и больше) раз у меня это удалось но систему решил снести и теперь вот появляються новые проблемы.</p>]]></content>
			<author>
				<name><![CDATA[Morningstar]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15794</uri>
			</author>
			<updated>2012-03-16T15:00:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260330#p260330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260112#p260112" />
			<content type="html"><![CDATA[<p>ключевой вопрос: <strong>Morningstar</strong>, зачем вам сборка из исходников?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-03-16T06:01:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260112#p260112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260104#p260104" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>export CPPFLAGS LDFLAGS PKG_CONFIG_PAT</p></blockquote></div><p>Может причина в том, что должно быть <br />export CPPFLAGS LDFLAGS PKG_CONFIG_PAT<span style="color: #FF0000">H</span>?</p><p>P.S. имхо, подобные вопросы лучше задавать в кроссдистрибутивном разделе.</p>]]></content>
			<author>
				<name><![CDATA[merlin]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15457</uri>
			</author>
			<updated>2012-03-16T05:45:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260104#p260104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Собрать GTK и всё что для этого нужно]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=260070#p260070" />
			<content type="html"><![CDATA[<p>Хочу поставить GTK. Поставил glib-2.30.0. Дальше взялся за atk-2.0.1. При конфигурации консоль говорит следующее:</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">checking for GLIB - version &gt;= 2.0.0... no<br />*** Could not run GLIB test program, checking why...<br />*** The test program failed to compile or link. See the file config.log for the<br />*** exact error that occured. This usually means GLIB is incorrectly installed.<br />configure: error: <br />*** GLIB 2.0.0 or better is required. The latest version of<br />*** GLIB is always available from <a href="ftp://ftp.gtk.org">ftp://ftp.gtk.org</a>/. If GLIB is installed<br />*** but not in the same location as pkg-config add the location of the file<br />*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.<br /></div></p><p>Я ставил glib по принципу указанному на <a href="http://developer.gnome.org/gtk3/stable/gtk-building.ht">http://developer.gnome.org/gtk3/stable/gtk-building.ht</a> и файлу INSTALL в исходниках:</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">CPPFLAGS=&quot;-I/opt/gtk/include&quot;<br />LDFLAGS=&quot;-L/opt/gtk/lib&quot;<br />PKG_CONFIG_PATH=&quot;/opt/gtk/lib/pkgconfig&quot; <br />export CPPFLAGS LDFLAGS PKG_CONFIG_PAT <br />LD_LIBRARY_PATH=&quot;/opt/gtk/lib&quot; &amp;&amp; PATH=&quot;/opt/gtk/bin:$PATH&quot;&nbsp; <br />export LD_LIBRARY_PATH PATH<br />./configure --prefix=/opt/gtk <br />rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h<br />make <br />sudo make install</div></p><p>(правда, я ещё не разобрался с тем, как сделать указанные в INSTALL инструкции<br />pkg-config --cflags glib-2.0<br /> pkg-config --libs glib-2.0<br />может это что скажет)</p><p>Так вот по совету консоли я заглянул в лог и нашёл там такие строки:</p><div class="quotebox"><blockquote><p>conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory</p><p>и ещё</p><p>conftest.c:25: fatal error: glib.h: No such file or directory</p></blockquote></div><p>Я решил поискать файлы и нашёл glib.h, из списка найденых выбрал тот что лежал в /opt/gtk/include/glib-2.0 и скопировал его в /opt/gtk/include. Повторяя шаги я скопировал всё что удавалось найти пока неостался только ac_nonexistent.h. </p><p>Я пробовал ставить glib 2.31.20 и atk-2.3.93 в итоге было тоже.</p><p>Теперь не знаю что можно ещё попробовать и нуждаюсь в совете.</p>]]></content>
			<author>
				<name><![CDATA[Morningstar]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15794</uri>
			</author>
			<updated>2012-03-15T23:07:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=260070#p260070</id>
		</entry>
</feed>
