<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
	>
<channel>
	<title>Comments on: Multi-target development for maemo</title>
	<atom:link href="http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/feed/" rel="self" type="application/rss+xml" />
	<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/</link>
	<description>inz&#039;s blog about life, universe and everything</description>
	<lastBuildDate>Sat, 07 Jan 2012 02:55:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-169153</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Sat, 07 Jan 2012 02:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-169153</guid>
		<description>Many thanks for the fremantle instructions!

One nit: sb-conf in fremantle-armel -c -e -d -F barfs &quot;sb-conf: Failed to install C-library to target: FREMANTLE_ARMEL&quot;

The official fremantle SDK installer does

	$scratchbox/tools/bin/sb-conf install $target -L --etc --devkits --fakeroot

which translates to &#039;sb-conf in fremantle-armel -L -e -d -F&#039;.  I used this and got a fremantle target.  (I haven&#039;t used it to build anything yet.)</description>
		<content:encoded><![CDATA[<p>Many thanks for the fremantle instructions!</p>
<p>One nit: sb-conf in fremantle-armel -c -e -d -F barfs "sb-conf: Failed to install C-library to target: FREMANTLE_ARMEL"</p>
<p>The official fremantle SDK installer does</p>
<p>	$scratchbox/tools/bin/sb-conf install $target -L --etc --devkits --fakeroot</p>
<p>which translates to 'sb-conf in fremantle-armel -L -e -d -F'.  I used this and got a fremantle target.  (I haven't used it to build anything yet.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-144488</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Fri, 09 Oct 2009 22:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-144488</guid>
		<description>Any plans for updating this with a Maemo 5 target?  Pretty please?</description>
		<content:encoded><![CDATA[<p>Any plans for updating this with a Maemo 5 target?  Pretty please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XTL</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-78154</link>
		<dc:creator>XTL</dc:creator>
		<pubDate>Mon, 16 Jun 2008 11:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-78154</guid>
		<description>I prefer to use tee when having to write to files with root perms from sudo:

echo &quot;...&quot; &#124; sudo tee -a /appendee/file

no rootshell, no redirection and you happen to also see what went into the file. And you can generate the text as non-root.</description>
		<content:encoded><![CDATA[<p>I prefer to use tee when having to write to files with root perms from sudo:</p>
<p>echo "..." | sudo tee -a /appendee/file</p>
<p>no rootshell, no redirection and you happen to also see what went into the file. And you can generate the text as non-root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendrik Boom</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-71843</link>
		<dc:creator>Hendrik Boom</dc:creator>
		<pubDate>Fri, 30 May 2008 02:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-71843</guid>
		<description>Well, I got as far as starting the rootstrap creation.  The first command seemed to run; the second complained I wasn&#039;t a scratchbox user.  This is presumably related to the fact that it didn&#039;t ask me for users to add to scratchbox.

How do I go about adding myself to scratchbox at this point?  Or is something else likely to be wrong?

I did get a lot further with this set of instructions than any of the &quot;easy&quot; or &quot;preferred&quot; instructions, by the way.

-- hendrik</description>
		<content:encoded><![CDATA[<p>Well, I got as far as starting the rootstrap creation.  The first command seemed to run; the second complained I wasn't a scratchbox user.  This is presumably related to the fact that it didn't ask me for users to add to scratchbox.</p>
<p>How do I go about adding myself to scratchbox at this point?  Or is something else likely to be wrong?</p>
<p>I did get a lot further with this set of instructions than any of the "easy" or "preferred" instructions, by the way.</p>
<p>-- hendrik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-25792</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Mon, 17 Dec 2007 22:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-25792</guid>
		<description>FWIW your instructions don&#039;t work as written; you also need to apt-get install scratchbox-devkit-perl if you want to mention it among the other devkits.</description>
		<content:encoded><![CDATA[<p>FWIW your instructions don't work as written; you also need to apt-get install scratchbox-devkit-perl if you want to mention it among the other devkits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Cobb</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-21768</link>
		<dc:creator>Graham Cobb</dc:creator>
		<pubDate>Thu, 15 Nov 2007 18:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-21768</guid>
		<description>I found that in order to create a working Bora target (in which I could install tools like intl and autoconf) I had to:

1) Leave off the &quot;-c&quot; from the &quot;sb-conf in bora-armel&quot; command, and

2) Edit /etc/apt/sources.list to change the references to &quot;bora&quot; to be to &quot;maemo3.0&quot;.  It seems that &quot;bora&quot; is now 3.2 and mixing that up with the 3.0 rootstrap breaks things.  In any case, like Inz, I want to build packages that work on 3.* so I want to build against 3.0.</description>
		<content:encoded><![CDATA[<p>I found that in order to create a working Bora target (in which I could install tools like intl and autoconf) I had to:</p>
<p>1) Leave off the "-c" from the "sb-conf in bora-armel" command, and</p>
<p>2) Edit /etc/apt/sources.list to change the references to "bora" to be to "maemo3.0".  It seems that "bora" is now 3.2 and mixing that up with the 3.0 rootstrap breaks things.  In any case, like Inz, I want to build packages that work on 3.* so I want to build against 3.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Jerram</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-21655</link>
		<dc:creator>Neil Jerram</dc:creator>
		<pubDate>Tue, 13 Nov 2007 23:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-21655</guid>
		<description>For me the &quot;fakeroot apt-get -f install&quot; step (for bora-armel) does not succeed.  Here is the output that I get when running &quot;fakeroot apt-get -f install&quot; again (so as to omit all the installs and upgrades that _do_ succeed):
&lt;code&gt;
[sbox-bora-armel: ~] &gt; fakeroot apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up libpango1.0-common (1.8.1-1osso20) ...
You don&#039;t have modules directory for version 1.4.0.
Use default version instead.
Updating the modules list for Pango-1.4.0...find: /usr/lib/pango/1.4.0/modules: No such file or directory
/usr/sbin/update-pango-modules: line 20: /usr/bin/pango-querymodules: cannot execute binary file
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 126
Setting up libgtk2.0-bin (2.6.10-2.osso30) ...
Updating the IM modules list for GTK+-2.4.0.../usr/sbin/update-gtk-immodules: line 22: /usr/bin/gtk-query-immodules-2.0: cannot execute binary file
dpkg: error processing libgtk2.0-bin (--configure):
 subprocess post-installation script returned error exit status 126
dpkg: dependency problems prevent configuration of libgtk2.0-0:
 libgtk2.0-0 depends on libgtk2.0-bin (&gt;= 2:2.6.10-2.osso30); however:
  Package libgtk2.0-bin is not configured yet.
dpkg: error processing libgtk2.0-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-dev:
 libgtk2.0-dev depends on libgtk2.0-0 (= 2:2.6.10-2.osso30); however:
  Package libgtk2.0-0 is not configured yet.
dpkg: error processing libgtk2.0-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 libgtk2.0-bin
 libgtk2.0-0
 libgtk2.0-dev
E: Sub-process /scratchbox/devkits/debian-sarge/bin/dpkg returned an error code (1)
&lt;/code&gt;
The root problem seems to be /usr/bin/gtk-query-immodules not being executable.  Any idea why that is?

Thanks
- Neil</description>
		<content:encoded><![CDATA[<p>For me the "fakeroot apt-get -f install" step (for bora-armel) does not succeed.  Here is the output that I get when running "fakeroot apt-get -f install" again (so as to omit all the installs and upgrades that _do_ succeed):</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[sbox-bora-armel: ~] &amp;gt; fakeroot apt-get -f install<br />
Reading Package Lists... Done<br />
Building Dependency Tree... Done<br />
0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.<br />
4 not fully installed or removed.<br />
Need to get 0B of archives.<br />
After unpacking 0B of additional disk space will be used.<br />
Setting up libpango1.0-common (1.8.1-1osso20) ...<br />
You don't have modules directory for version 1.4.0.<br />
Use default version instead.<br />
Updating the modules list for Pango-1.4.0...find: /usr/lib/pango/1.4.0/modules: No such file or directory<br />
/usr/sbin/update-pango-modules: line 20: /usr/bin/pango-querymodules: cannot execute binary file<br />
dpkg: error processing libpango1.0-common (--configure):<br />
&nbsp;subprocess post-installation script returned error exit status 126<br />
Setting up libgtk2.0-bin (2.6.10-2.osso30) ...<br />
Updating the IM modules list for GTK+-2.4.0.../usr/sbin/update-gtk-immodules: line 22: /usr/bin/gtk-query-immodules-2.0: cannot execute binary file<br />
dpkg: error processing libgtk2.0-bin (--configure):<br />
&nbsp;subprocess post-installation script returned error exit status 126<br />
dpkg: dependency problems prevent configuration of libgtk2.0-0:<br />
&nbsp;libgtk2.0-0 depends on libgtk2.0-bin (&amp;gt;= 2:2.6.10-2.osso30); however:<br />
&nbsp; Package libgtk2.0-bin is not configured yet.<br />
dpkg: error processing libgtk2.0-0 (--configure):<br />
&nbsp;dependency problems - leaving unconfigured<br />
dpkg: dependency problems prevent configuration of libgtk2.0-dev:<br />
&nbsp;libgtk2.0-dev depends on libgtk2.0-0 (= 2:2.6.10-2.osso30); however:<br />
&nbsp; Package libgtk2.0-0 is not configured yet.<br />
dpkg: error processing libgtk2.0-dev (--configure):<br />
&nbsp;dependency problems - leaving unconfigured<br />
Errors were encountered while processing:<br />
&nbsp;libpango1.0-common<br />
&nbsp;libgtk2.0-bin<br />
&nbsp;libgtk2.0-0<br />
&nbsp;libgtk2.0-dev<br />
E: Sub-process /scratchbox/devkits/debian-sarge/bin/dpkg returned an error code (1)</div></div>
<p>The root problem seems to be /usr/bin/gtk-query-immodules not being executable.  Any idea why that is?</p>
<p>Thanks<br />
- Neil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inz</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-19993</link>
		<dc:creator>inz</dc:creator>
		<pubDate>Sat, 27 Oct 2007 20:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-19993</guid>
		<description>I&#039;m not sure of what debian-devkit chinook should use, but it&#039;s not that big of a deal anyway. Debian-etch would provide a bit newer debian utils, but as the point of this post was to allow development on all versions of maemo, there&#039;s no need for newer ones.

I&#039;m not sure of the C library either. I&#039;ve experienced it to both cause and solve problems, but both cases are rare.

And about upgrading to 3.2 (or to 3.1), at least I like to support all 3.x with single binary. 3.1 and 3.2 might be able to build binaries that work on 3.0, but then again, they might not, so I&#039;m playing it safe.</description>
		<content:encoded><![CDATA[<p>I'm not sure of what debian-devkit chinook should use, but it's not that big of a deal anyway. Debian-etch would provide a bit newer debian utils, but as the point of this post was to allow development on all versions of maemo, there's no need for newer ones.</p>
<p>I'm not sure of the C library either. I've experienced it to both cause and solve problems, but both cases are rare.</p>
<p>And about upgrading to 3.2 (or to 3.1), at least I like to support all 3.x with single binary. 3.1 and 3.2 might be able to build binaries that work on 3.0, but then again, they might not, so I'm playing it safe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Swindell</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-19972</link>
		<dc:creator>Tom Swindell</dc:creator>
		<pubDate>Sat, 27 Oct 2007 16:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-19972</guid>
		<description>Should not chinook use debian-etch and no maemo3-debian instead of debian-sarge and maemo3-debian? Also isn&#039;t -c (C library) wrong for all targets? Might also be a good idea to add 3.1 to 3.2 upgrading &#039;fakeroot apt-get -f dist-upgrade&#039;. Nice post though, was a great help :)</description>
		<content:encoded><![CDATA[<p>Should not chinook use debian-etch and no maemo3-debian instead of debian-sarge and maemo3-debian? Also isn't -c (C library) wrong for all targets? Might also be a good idea to add 3.1 to 3.2 upgrading 'fakeroot apt-get -f dist-upgrade'. Nice post though, was a great help <img src='http://inz.fi/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inz</title>
		<link>http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/comment-page-1/#comment-19415</link>
		<dc:creator>inz</dc:creator>
		<pubDate>Mon, 22 Oct 2007 12:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/#comment-19415</guid>
		<description>Well, I think it&#039;s the easy way, but whatever. ;)</description>
		<content:encoded><![CDATA[<p>Well, I think it's the easy way, but whatever. <img src='http://inz.fi/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

