<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: PHP-GTK News #14</title>
	<link>http://crisscott.com/2006/05/24/php-gtk-news-14/</link>
	<description>PHP tips, samples, and help.</description>
	<pubDate>Fri, 30 Jul 2010 21:28:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: Stuart</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-30809</link>
		<pubDate>Tue, 09 Oct 2007 13:46:14 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-30809</guid>
					<description>Had the same problem as above 

Trying to install the graph package on Xampp (win32) gave the following error after a long pause.

'Package &quot;pear.php.net/Image_Graph&quot; dependency &quot;pecl.php.net/PEAR&quot; has no releases'

Got it installed using 'pear install -f -O Image_Graph-0.7.2.tgz' 

Hope this is of some use to someone</description>
		<content:encoded><![CDATA[<p>Had the same problem as above </p>
<p>Trying to install the graph package on Xampp (win32) gave the following error after a long pause.</p>
<p>&#8216;Package &#8220;pear.php.net/Image_Graph&#8221; dependency &#8220;pecl.php.net/PEAR&#8221; has no releases&#8217;</p>
<p>Got it installed using &#8216;pear install -f -O Image_Graph-0.7.2.tgz&#8217; </p>
<p>Hope this is of some use to someone
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Christian Weiske</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-627</link>
		<pubDate>Tue, 30 May 2006 04:11:32 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-627</guid>
					<description>&amp;#62; Which is a total lie, you have to set the full path to the pear installation.
That is correct. It seems as if your include_path php.ini directive isn't set correctly.
Btw, the gnope forum (gnope.org/forum/) would be the right place for such a discussion :)</description>
		<content:encoded><![CDATA[<p>&gt; Which is a total lie, you have to set the full path to the pear installation.<br />
That is correct. It seems as if your include_path php.ini directive isn&#8217;t set correctly.<br />
Btw, the gnope forum (gnope.org/forum/) would be the right place for such a discussion :)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-624</link>
		<pubDate>Tue, 30 May 2006 00:45:58 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-624</guid>
					<description>Finally got it working (after much headache).
Image_Graph wouldn't install until i took it to a different machine which was online.
Then gd wouldn't work until I installed the latest php with php_gd2.dll.
Then Image_Graph wouldn't do anything, the getting started guide says:

After installation, simply include Image_Graph in your project using: 
include 'Image/Graph.php';

Which is a total lie, you have to set the full path to the pear installation. Possibly something to do with me installing gnope recently, not sure.
Anyway its working now, thanks guys</description>
		<content:encoded><![CDATA[<p>Finally got it working (after much headache).<br />
Image_Graph wouldn&#8217;t install until i took it to a different machine which was online.<br />
Then gd wouldn&#8217;t work until I installed the latest php with php_gd2.dll.<br />
Then Image_Graph wouldn&#8217;t do anything, the getting started guide says:</p>
<p>After installation, simply include Image_Graph in your project using:<br />
include &#8216;Image/Graph.php&#8217;;</p>
<p>Which is a total lie, you have to set the full path to the pear installation. Possibly something to do with me installing gnope recently, not sure.<br />
Anyway its working now, thanks guys
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-618</link>
		<pubDate>Mon, 29 May 2006 16:11:44 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-618</guid>
					<description>pear default_channel is set to pear.php.net

Image_Color and Image_Canvas installed fine:

	&amp;#62;pear install -f Image_Color-1.0.2.tgz
	warning: pear/Image_Color requires PHP extension &quot;gd&quot;
	install ok: channel://pear.php.net/Image_Color-1.0.2

	&amp;#62;pear install -f Image_Canvas-0.3.0.tgz
	warning: pear/Image_Canvas requires PHP extension &quot;gd&quot;
	install ok: channel://pear.php.net/Image_Canvas-0.3.0

But Image_Graph just won't install:

	&amp;#62;pear install -f Image_Graph-0.7.2.tgz
	Package &quot;pear.php.net/Image_Graph&quot; dependency &quot;pecl.php.net/PEAR&quot; has no releases

Again sorry if its off-topic
Thanks, 
David.</description>
		<content:encoded><![CDATA[<p>pear default_channel is set to pear.php.net</p>
<p>Image_Color and Image_Canvas installed fine:</p>
<p>	&gt;pear install -f Image_Color-1.0.2.tgz<br />
	warning: pear/Image_Color requires PHP extension &#8220;gd&#8221;<br />
	install ok: channel://pear.php.net/Image_Color-1.0.2</p>
<p>	&gt;pear install -f Image_Canvas-0.3.0.tgz<br />
	warning: pear/Image_Canvas requires PHP extension &#8220;gd&#8221;<br />
	install ok: channel://pear.php.net/Image_Canvas-0.3.0</p>
<p>But Image_Graph just won&#8217;t install:</p>
<p>	&gt;pear install -f Image_Graph-0.7.2.tgz<br />
	Package &#8220;pear.php.net/Image_Graph&#8221; dependency &#8220;pecl.php.net/PEAR&#8221; has no releases</p>
<p>Again sorry if its off-topic<br />
Thanks,<br />
David.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: scott</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-567</link>
		<pubDate>Fri, 26 May 2006 14:57:59 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-567</guid>
					<description>pear install -f Image_Graph-0.7.2.tgz

That will force Image_Graph to install. Image_Canvas (which is PEAR not PECL) is optional so you should be ok.

If you really want Image_Canvas try running

pear install Image_Canvas-alpha

Also make sure that yoru default channel is set correctly.

pear config-show
pear config-set default_channel pear.php.net</description>
		<content:encoded><![CDATA[<p>pear install -f Image_Graph-0.7.2.tgz</p>
<p>That will force Image_Graph to install. Image_Canvas (which is PEAR not PECL) is optional so you should be ok.</p>
<p>If you really want Image_Canvas try running</p>
<p>pear install Image_Canvas-alpha</p>
<p>Also make sure that yoru default channel is set correctly.</p>
<p>pear config-show<br />
pear config-set default_channel pear.php.net
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-566</link>
		<pubDate>Fri, 26 May 2006 14:00:45 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-566</guid>
					<description>Thanks for the suggestions. Ok this might be getting off-topic, but I'm having trouble installing the pear package Image_Graph. I downloaded Image_Graph-0.7.2.tgz and then typed 

	pear install Image_Graph-0.7.2.tgz

but it returned

	Package &quot;pear.php.net/Image_Graph&quot; dependency &quot;pecl.php.net/Image_Canvas&quot; has no releases

I am online but thru a corporate firewall, but the above command should work offline (according to the pear manual)
Any ideas?
thx</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestions. Ok this might be getting off-topic, but I&#8217;m having trouble installing the pear package Image_Graph. I downloaded Image_Graph-0.7.2.tgz and then typed </p>
<p>	pear install Image_Graph-0.7.2.tgz</p>
<p>but it returned</p>
<p>	Package &#8220;pear.php.net/Image_Graph&#8221; dependency &#8220;pecl.php.net/Image_Canvas&#8221; has no releases</p>
<p>I am online but thru a corporate firewall, but the above command should work offline (according to the pear manual)<br />
Any ideas?<br />
thx
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Christian Weiske</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-559</link>
		<pubDate>Thu, 25 May 2006 15:50:09 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-559</guid>
					<description>David, you can use the Graph package from PEAR, and load the GD image into a GdkPixbuf via GdkPixbuf::new_from_gd();</description>
		<content:encoded><![CDATA[<p>David, you can use the Graph package from PEAR, and load the GD image into a GdkPixbuf via GdkPixbuf::new_from_gd();
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: scott</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-558</link>
		<pubDate>Thu, 25 May 2006 15:50:05 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-558</guid>
					<description>The easy but hackish solution is to save your image data to a temp file and then use GtkImage::new_from_file(). There are (or should be) GdkPixbuf methods for loading an image directly from data in memory, but I haven't used them. I'd have to look into exactly how they work before I can give you any info on that.</description>
		<content:encoded><![CDATA[<p>The easy but hackish solution is to save your image data to a temp file and then use GtkImage::new_from_file(). There are (or should be) GdkPixbuf methods for loading an image directly from data in memory, but I haven&#8217;t used them. I&#8217;d have to look into exactly how they work before I can give you any info on that.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-557</link>
		<pubDate>Thu, 25 May 2006 14:22:56 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-557</guid>
					<description>Ok will wait and see. Actually what I'm trying to do is display a simple bar chart or graph in a php-gtk2 app on the fly from some data. I was thinking of doing it in html and using MozEmbed, but I guess that can wait. In php-gtk1 I used pixmaps but it was messy... any ideas on how to do it in gtk2?</description>
		<content:encoded><![CDATA[<p>Ok will wait and see. Actually what I&#8217;m trying to do is display a simple bar chart or graph in a php-gtk2 app on the fly from some data. I was thinking of doing it in html and using MozEmbed, but I guess that can wait. In php-gtk1 I used pixmaps but it was messy&#8230; any ideas on how to do it in gtk2?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Christian Weiske</title>
		<link>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-556</link>
		<pubDate>Thu, 25 May 2006 13:02:08 +0000</pubDate>
		<guid>http://crisscott.com/2006/05/24/php-gtk-news-14/#comment-556</guid>
					<description>David,

Gnope currently does only include GtkSourceView but not MozEmbed. I have the mozembed dlls here, but you need the php-gtk extension for it *and* (that's the big problem) the full mozilla files which are a 8MB rar file.
I don't want to release it until I know which files in this archive are really needed.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Gnope currently does only include GtkSourceView but not MozEmbed. I have the mozembed dlls here, but you need the php-gtk extension for it *and* (that&#8217;s the big problem) the full mozilla files which are a 8MB rar file.<br />
I don&#8217;t want to release it until I know which files in this archive are really needed.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
