<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>simple singularities</title>
	<atom:link href="http://fri13th.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://fri13th.com/blog</link>
	<description>presented by lazy fri13th since 2006</description>
	<lastBuildDate>Mon, 26 Apr 2010 09:09:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>simple and clean mssql full-backup script</title>
		<link>http://fri13th.com/blog/archives/393</link>
		<comments>http://fri13th.com/blog/archives/393#comments</comments>
		<pubDate>Sat, 24 Apr 2010 10:27:10 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=393</guid>
		<description><![CDATA[open the sql query and execute this code for backup BACKUP DATABASE dbname TO DISK='C:\dbbackup\backupfile.bak' and load it from another server! USE master GO DROP DATABASE dbname GO RESTORE DATABASE dbname FROM DISK='C:\dbbackup\backupfile.bak' very simple, isn&#8217;t it? also there are many and many other backup options worth for check. there are some critical bug(?) in [...]]]></description>
			<content:encoded><![CDATA[<p>open the sql query and execute this code for backup</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">BACKUP <span style="color: #993333; font-weight: bold;">DATABASE</span> dbname <span style="color: #993333; font-weight: bold;">TO</span> DISK<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'C:<span style="color: #000099; font-weight: bold;">\d</span>bbackup<span style="color: #000099; font-weight: bold;">\b</span>ackupfile.bak'</span></pre></div></div>

<p>and load it from another server!</p>
<p></p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">USE</span> master
<span style="color: #993333; font-weight: bold;">GO</span>
<span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> dbname
<span style="color: #993333; font-weight: bold;">GO</span>
RESTORE <span style="color: #993333; font-weight: bold;">DATABASE</span> dbname <span style="color: #993333; font-weight: bold;">FROM</span> DISK<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'C:<span style="color: #000099; font-weight: bold;">\d</span>bbackup<span style="color: #000099; font-weight: bold;">\b</span>ackupfile.bak'</span></pre></div></div>

<p>very simple, isn&#8217;t it? also there are many and many other backup options worth for check.</p>
<p>
there are some critical bug(?) in cygwin. if you upload some files using cygwin&#8217;s ssh protocol, the files&#8217;s permission are -rwx&#8212;&#8212; by default, it causes operation system error. so you have to change the permission to -rwxrwxrwx. not only db backup file, even just a plain asp file can&#8217;t be opened. so don&#8217;t miss it. </p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/393/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts 2 &#8216;s no result problem</title>
		<link>http://fri13th.com/blog/archives/389</link>
		<comments>http://fri13th.com/blog/archives/389#comments</comments>
		<pubDate>Thu, 08 Apr 2010 12:47:34 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[struts]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=389</guid>
		<description><![CDATA[i stucked on some mysterious error today. i made some xml config in struts.xml, it&#8217;s very simple one and there&#8217;s nothing wrong as far as i knew &#60;action name=&#34;someurl&#34; class=&#34;someAction&#34; method=&#34;list&#34; &#62; &#60;result&#62;/WEB-INF/pages/someurl.jsp&#60;/result&#62; &#60;/action&#62; and i got this error Could not find action or result No result defined for action com.fri13th.SomeAction and result input of [...]]]></description>
			<content:encoded><![CDATA[<p>i stucked on some mysterious error today. i made some xml config in struts.xml, it&#8217;s very simple one and there&#8217;s nothing wrong as far as i knew</p>
<p></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;someurl&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;someAction&quot;</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;list&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;result<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/WEB-INF/pages/someurl.jsp<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/result<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>and i got this error</p>
<pre>
Could not find action or result
No result defined for action com.fri13th.SomeAction and result input
</pre>
<p>of course i checked and checked all the parameters again. there was no mistake at all.. so why it didn&#8217;t work?</p>
<p>then i make another class and check again. it works fine. so what the difference was? the only difference was annotated validation in front of class definition. i deleted some validation code and it worked fine..</p>
<p>i&#8217;m too tired today, must go to bed early than usual..</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/389/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu network disconnect problem</title>
		<link>http://fri13th.com/blog/archives/387</link>
		<comments>http://fri13th.com/blog/archives/387#comments</comments>
		<pubDate>Fri, 25 Dec 2009 01:00:09 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[smalltalk]]></category>
		<category><![CDATA[disconnect]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[resolv.conf]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=387</guid>
		<description><![CDATA[there was some weird problem in my ubuntu pc. the network connection is closed frequently and it was fixed by rebooting. i googled the situation and nothing found. then i check the resolv.conf and it was empty and there was a message #Generated by NetworkManager. WTF! i googled it and found these solutions sudo chmod [...]]]></description>
			<content:encoded><![CDATA[<p>there was some weird problem in my ubuntu pc. the network connection is closed frequently and it was fixed by rebooting. i googled the situation and nothing found. then i check the resolv.conf and it was empty and there was a message #Generated by NetworkManager. WTF!</p>
<p>
i googled it and found these solutions</p>
<p></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>resolv.conf
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chattr</span> +i <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>resolv.conf</pre></div></div>

<p>
this prevents to change the resolv.conf file, but not a good idea</p>
<p>
this one is more primitive solution</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>dhcp3<span style="color: #000000; font-weight: bold;">/</span>dhclient.conf</pre></div></div>

<p>
and change this line.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prepend domain-name-servers 8.8.8.8</pre></div></div>

<p>
i don&#8217;t know which one works and which one works not. i applied all.. and got no problem now. so i wish you luck! enjoy the ubuntu life!</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/387/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selenium RC and Firefox issue in Snow Leopard</title>
		<link>http://fri13th.com/blog/archives/385</link>
		<comments>http://fri13th.com/blog/archives/385#comments</comments>
		<pubDate>Wed, 16 Dec 2009 13:22:36 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[snowleopard]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=385</guid>
		<description><![CDATA[I just surprised that selenium rc 1.0.2 can&#8217;t launch firefox in snow leopard os. these all softwares are so famous in their fields. so it must be easy to solve this issue, but nope.. the problem is complicated, and i almost blow up my macbook&#8217;s hard drive by moving sqllite library.. there are many suggestions [...]]]></description>
			<content:encoded><![CDATA[<p>I just surprised that selenium rc 1.0.2 can&#8217;t launch firefox in snow leopard os. these all softwares are so famous in their fields. so it must be easy to solve this issue, but nope..</p>
<p>
the problem is complicated, and i almost blow up my macbook&#8217;s hard drive by moving sqllite library..</p>
<p>there are many suggestions but none works. believe me, i try all. and this is the final solution that really works</p>
<p><a href="http://jira.openqa.org/browse/SRC-743">http://jira.openqa.org/browse/SRC-743</a></p>
<p>
there&#8217;s an attachment called snowleopard.patch file. you can apply it to the source of selenium-server.jar. and this can fix all the problem at once.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/385/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ie6 overflow and scroll bar bug</title>
		<link>http://fri13th.com/blog/archives/383</link>
		<comments>http://fri13th.com/blog/archives/383#comments</comments>
		<pubDate>Thu, 19 Nov 2009 09:32:05 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[overflow]]></category>
		<category><![CDATA[scrollbar]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=383</guid>
		<description><![CDATA[if some content i.e. image is bigger than contents pane i.e. div, ie6 doesn&#8217;t show it right. it just cut and show only half of image. wtf.. so i find the solution, or maybe this is also ie6&#8242;s bug? just add this to the css properties of the cropped image. position:relative; and this doesn&#8217;t solve [...]]]></description>
			<content:encoded><![CDATA[<p>if some content i.e. image is bigger than contents pane i.e. div, ie6 doesn&#8217;t show it right. it just cut and show only half of image. wtf..</p>
<p>
so i find the solution, or maybe this is also ie6&#8242;s bug?</p>
<p>just add this to the css properties of the cropped image.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span></pre></div></div>

<p>and this doesn&#8217;t solve the whole problem.</p>
<p>the scroll bar is set to show div&#8217;s width and and no scrollbar for image..</p>
<p>
so i add this line</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
zoom<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span></pre></div></div>

<p>and problem solved.. you can check the final result from my another gourmet and photo blog <a href="http://fri13th.com/ep">here</></p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/383/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft PowerShell 2.0 RC with Ruby &amp; vi</title>
		<link>http://fri13th.com/blog/archives/373</link>
		<comments>http://fri13th.com/blog/archives/373#comments</comments>
		<pubDate>Sat, 17 Oct 2009 07:23:10 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[VI]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=373</guid>
		<description><![CDATA[i didn&#8217;t notice that PowerShell which is bundled in Windows7, can also be installed in WIndows XP SP3. and i googled and knew RC version is available now. so why not give a try? you can download the rc version here https://connect.microsoft.com/windowsmanagement/Downloads after install, you need to permit script execution Set-ExecutionPolicy RemoteSigned and install ruby [...]]]></description>
			<content:encoded><![CDATA[<p>i didn&#8217;t notice that PowerShell which is bundled in Windows7, can also be installed in WIndows XP SP3. and i googled and knew RC version is available now. so why not give a try?</p>
<p>
you can download the rc version here<br />
<a href="https://connect.microsoft.com/windowsmanagement/Downloads">https://connect.microsoft.com/windowsmanagement/Downloads</a></p>
<p>after install, you need to permit script execution</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">Set-ExecutionPolicy RemoteSigned</pre></div></div>

<p>and install ruby and vi, which vendor you like <img src='http://fri13th.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <br />
i prefer this ruby distribution<br />
<a href="http://rubyinstaller.org/">http://rubyinstaller.org/</a></p>
<p>vi has many variation, so i can&#8217;t choose one. anyway gvim might be a good idea..<br />
<a href="http://www.vim.org/download.php#pc">http://www.vim.org/download.php#pc</a></p>
<p>and you need to setup the vi path.</p>
<p>modify or create below file</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;"><span style="color: #33cc33;">%</span><span style="color: #448888;">userprofile</span><span style="color: #33cc33;">%</span>¥My Documents¥WindowsPowerShell¥Microsoft.PowerShell_profile.ps1</pre></div></div>

<p>and add this line</p>
<pre>
Set-Alias vi 'path/to/vi.exe'
</pre>
<p>that&#8217;s all! you can do many convenient script jobs in Windows XP!</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/373/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unalz in mac</title>
		<link>http://fri13th.com/blog/archives/371</link>
		<comments>http://fri13th.com/blog/archives/371#comments</comments>
		<pubDate>Thu, 17 Sep 2009 03:03:04 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macports]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=371</guid>
		<description><![CDATA[alzip format alz is the most wierd compression format, widely spread in korea. it&#8217;s some kind of disaster, why i have to use alz? only one thing good is it can split big files into pieces. i usually use winrar in windows, but for alz format i have to install another one, like panzip. it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>alzip format alz is the most wierd compression format, widely spread in korea. it&#8217;s some kind of disaster, why i have to use alz? only one thing good is it can split big files into pieces.</p>
<p>
i usually use winrar in windows, but for alz format i have to install another one, like panzip. it&#8217;s the most thing i don&#8217;t like, so.. i found some good solution</p>
<p>
download unalz from this link<br />
<br />
<a href="http://www.kippler.com/win/unalz/">http://www.kippler.com/win/unalz/</a></p>
<p>
the usage is very simple</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> posix
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> unalz <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

<p>actually unalz is included in port, but not compiled well in my snow leopard</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> unalz</pre></div></div>

<p>will show some error, please someone fix this issue <img src='http://fri13th.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/371/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPorts issues in snow leopard, again</title>
		<link>http://fri13th.com/blog/archives/363</link>
		<comments>http://fri13th.com/blog/archives/363#comments</comments>
		<pubDate>Mon, 14 Sep 2009 21:52:09 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[smalltalk]]></category>
		<category><![CDATA[macports]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=363</guid>
		<description><![CDATA[i encountered the same trouble again. like this: dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib Referenced from: /opt/local/bin/svn Reason: no suitable image found. Did find: /opt/local/lib/db46/libdb-4.6.dylib: mach-o, but wrong architecture this time, i manage to fix it. it was because snow leopard doesn&#8217;t use 32bit libraries. so you need to uninstall and rebuild all products for 64bit [...]]]></description>
			<content:encoded><![CDATA[<p>i encountered the same trouble again. </p>
<p>like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dyld: Library not loaded: <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>db46<span style="color: #000000; font-weight: bold;">/</span>libdb-<span style="color: #000000;">4.6</span>.dylib
  Referenced from: <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span>
  Reason: no suitable image found.  Did <span style="color: #c20cb9; font-weight: bold;">find</span>:
        <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>db46<span style="color: #000000; font-weight: bold;">/</span>libdb-<span style="color: #000000;">4.6</span>.dylib: mach-o, but wrong architecture</pre></div></div>

<p>
this time, i manage to fix it. it was because snow leopard doesn&#8217;t use 32bit libraries. so you need to uninstall and rebuild all products for 64bit system. if you clean-install snow leopard, you don&#8217;t need to this.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">port installed <span style="color: #666666; font-style: italic;"># listing installed software</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-f</span> uninstall installed</pre></td></tr></table></div>

<p>
and install necessary program again <img src='http://fri13th.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>
for me:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> coreutils +with_default_names
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> subversion</pre></td></tr></table></div>

<p>etc&#8230; etc&#8230;</p>
<p>you may need to reinstall macports 1.8.0 for snow leopard again, after uninstalling all programs</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/363/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPorts issues in snow leopard</title>
		<link>http://fri13th.com/blog/archives/361</link>
		<comments>http://fri13th.com/blog/archives/361#comments</comments>
		<pubDate>Thu, 10 Sep 2009 11:51:15 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[snowleopard]]></category>
		<category><![CDATA[trouble]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=361</guid>
		<description><![CDATA[after upgrade to snow leopard, it became impossible to install some program using MacPorts system. the fix is very simple, just download new MacPorts from homepage and also download new xcode from ADC. this is very simple, though downloading big file like xcode took some time.. and you know, we need to update whole system [...]]]></description>
			<content:encoded><![CDATA[<p>after upgrade to snow leopard, it became impossible to install some program using MacPorts system. the fix is very simple, just download new MacPorts from homepage and also download new xcode from ADC.</p>
<p>this is very simple, though downloading big file like xcode took some time..</p>
<p>and you know, we need to update whole system</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #660033;">-v</span> selfupdate</pre></td></tr></table></div>

<p>
it looks pretty easy till now, but.. </p>
<p>
if you try this..</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port upgrade installed</pre></td></tr></table></div>

<p>
you got some error like this </p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dyld: Library not loaded: <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libintl.8.dylib
  Referenced from: <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ls</span>
  Reason: no suitable image found.  Did <span style="color: #c20cb9; font-weight: bold;">find</span>:
        <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libintl.8.dylib: mach-o, but wrong architecture
Trace<span style="color: #000000; font-weight: bold;">/</span>BPT <span style="color: #7a0874; font-weight: bold;">trap</span></pre></div></div>

<p>
what the heck! it is caused by wrong gettext, so we can solve it by this code&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port activate <span style="color: #c20cb9; font-weight: bold;">gettext</span> <span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0.17</span>_3
<span style="color: #c20cb9; font-weight: bold;">sudo</span> port uninstall <span style="color: #c20cb9; font-weight: bold;">gettext</span> <span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0.17</span>_4</pre></td></tr></table></div>

<p>
i don&#8217;t know well, but automatic update is not done right now.. nayway it doesn&#8217;t that matter now.. so i&#8217;ll wait next version</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/361/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new blog opened</title>
		<link>http://fri13th.com/blog/archives/359</link>
		<comments>http://fri13th.com/blog/archives/359#comments</comments>
		<pubDate>Sat, 25 Apr 2009 08:38:14 +0000</pubDate>
		<dc:creator>fri13th</dc:creator>
				<category><![CDATA[smalltalk]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[gourmet]]></category>

		<guid isPermaLink="false">http://fri13th.com/blog/?p=359</guid>
		<description><![CDATA[i don&#8217;t know who sees this message but i opened another blog for korean people. this blog&#8217;s theme is gourmet, and travel. it may not so fun.. http://fri13th.com/ep i&#8217;ll add some link for this blog.. and anyway.. i will setup another blog for my art works.. the name will be e.a.f.d.l.. this blog will continue [...]]]></description>
			<content:encoded><![CDATA[<p>i don&#8217;t know who sees this message but i opened another blog for korean people. this blog&#8217;s theme is gourmet, and travel. it may not so fun..</p>
<p><a href="http://fri13th.com/ep">http://fri13th.com/ep</a></p>
<p>i&#8217;ll add some link for this blog..</p>
<p>and anyway.. i will setup another blog for my art works..<br />
the name will be e.a.f.d.l..</p>
<p>this blog will continue also, i earn money by developing software..<br />
(i&#8217;m deeply suffered by ie6 in these days.. maybe there will be a chance to tell the whole story.)</p>
]]></content:encoded>
			<wfw:commentRss>http://fri13th.com/blog/archives/359/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

