<?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>S i X h E a D { ? } &#187; command line</title>
	<atom:link href="http://sixhead.com/tag/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixhead.com</link>
	<description>เมื่อความรู้มีไว้แบ่งปัน</description>
	<lastBuildDate>Mon, 27 Feb 2012 06:23:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install zint-2.1.2 on FreeBSD 6.2</title>
		<link>http://sixhead.com/2009/05/06/install-zint-212-on-freebsd-62/</link>
		<comments>http://sixhead.com/2009/05/06/install-zint-212-on-freebsd-62/#comments</comments>
		<pubDate>Wed, 06 May 2009 11:26:32 +0000</pubDate>
		<dc:creator>Pipo</dc:creator>
				<category><![CDATA[FreeBSD & Linux]]></category>
		<category><![CDATA[barcode]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[libqrencode]]></category>
		<category><![CDATA[QR]]></category>

		<guid isPermaLink="false">http://sixhead.com/?p=395</guid>
		<description><![CDATA[zint เป็นโปรแกรม Open source แบบ command line สำหรับสร้าง barcode ครับ support ถึง 50 รูปแบบเลย ซึ่งสุดยอดมากๆ ไม่มีเจ้าใดเทียบได้อีกแล้ว เขียนด้วยภาษา C จำเป็นต้อง compile ที่เครื่องก่อน ได้เฉพาะฝั่ง Linux นะครับ All POSIX (Linux/BSD/UNIX-like OSes) วิธีใช้หนะไม่ยากเพราะสั่งแค่บรรทัดเดียวก็สร้าง barcode ได้แล้ว แต่ตอนลงพอดีมันติด compile อยู่มั่วไปมั่วมาจนสำเร็จ เลยมาบันทึกไว้เผื่อใครติดปัญหาเหมือนกัน I try to install zint 2.1.2 on my FreeBSD but it have some problem when compile. This is my way [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zint.org.uk/zintSite/">zint</a> เป็นโปรแกรม Open source แบบ command line สำหรับสร้าง barcode ครับ support ถึง 50 รูปแบบเลย ซึ่งสุดยอดมากๆ ไม่มีเจ้าใดเทียบได้อีกแล้ว<br />
เขียนด้วยภาษา C จำเป็นต้อง compile ที่เครื่องก่อน ได้เฉพาะฝั่ง Linux นะครับ All POSIX (Linux/BSD/UNIX-like OSes)<br />
วิธีใช้หนะไม่ยากเพราะสั่งแค่บรรทัดเดียวก็สร้าง barcode ได้แล้ว แต่ตอนลงพอดีมันติด compile อยู่มั่วไปมั่วมาจนสำเร็จ<br />
เลยมาบันทึกไว้เผื่อใครติดปัญหาเหมือนกัน</p>
<p>I try to install zint 2.1.2 on my FreeBSD but it have some problem when compile.<br />
This is my way to fix it.</p>
<p><span id="more-395"></span>{smartads}<br />
If you need QR Code please install libqrencode-3.0.3 first</p>
<pre>edit
backend/qr.c line 27
from:
#include &amp;lt;qrencode.h&amp;gt;
&nbsp;
to:
#include &quot;qrencode.h&quot;</pre>
<p>Copy header file<br />
cp /usr/local/include/qrencode.h /YOUR.SOURCE.PATH/backend/<br />
cp /usr/local/include/png.h /YOUR.SOURCE.PATH/backend/<br />
cp /usr/local/include/pngconf.h /YOUR.SOURCE.PATH/backend/</p>
<pre>edit
backend/Makefile line 53
from:
install -D -p --mode=0644 zint.h $(DESTDIR)$(includedir)/zint.h
&nbsp;
to:
install -p -m 0644 zint.h $(DESTDIR)$(includedir)/zint.h
&nbsp;
edit
frontend/Makefile line 28
from:
install -D -p  zint $(DESTDIR)$(bindir)/zint
&nbsp;
to:
install -p  zint $(DESTDIR)$(bindir)/zint
&nbsp;
cd /YOUR.SOURCE.PATH/
make
make install
&nbsp;
or
gmake
gmake install</pre>
<p><map name='google_ad_map_395_f21c57aff87a446f'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/395?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_395_f21c57aff87a446f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=395&amp;url= http%3A%2F%2Fsixhead.com%2F2009%2F05%2F06%2Finstall-zint-212-on-freebsd-62%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://sixhead.com/2009/05/06/install-zint-212-on-freebsd-62/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

