<?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>Sarawut Ninsawat &#187; x3d</title>
	<atom:link href="https://www.ninsawat.com/?cat=9&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://www.ninsawat.com</link>
	<description>A Personal Blog but not private</description>
	<lastBuildDate>Sat, 02 Aug 2025 08:02:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>O3dg Install</title>
		<link>https://www.ninsawat.com/?p=16&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=o3dg-install</link>
		<comments>https://www.ninsawat.com/?p=16#comments</comments>
		<pubDate>Fri, 18 Aug 2006 20:04:00 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[x3d]]></category>

		<guid isPermaLink="false">http://www.ninsawat.com/?p=16</guid>
		<description><![CDATA[มาเริ่มกันเลยดีกว่านะครับ prerequire ก็มีหลายตัวเช่น-qhull,qhull-devel, Delny , postgresql ,postgis ,python,python-dev,python-numeric,python-pg เป็นต้นนะครับ แต่เนื่องด้วยมีัปัญหานิดหน่อยสำหรับ python ที่ไม่มีการ complile ให้ใช้ ucs4 สำหรับ encodind จึงต้องทำการ recomplied ใหม่แล้วถอนตัวเก่าออกสะ (ทำให้ยุ่งยากมาก) กระบวนการก็มีดังนี้- remove python และ libpython ให้เกลี้ยง (ถึงแม้มันจะบอกว่าต้องถอนบางโปรแกรมออกด้วยก็ต้องยอม)- install new python,pyhton-base,python-doc,tkinter,libpython,libpython-dev- install หรือ reinstall ชุด foss4g- install libqhull , libqhull-dev, python-numeric, python-numeric-dev, python-pg- install Delaunay- python fixsyspath.py และทำการ update /etc/profile- install html ของ o3dg และ&#8230;]]></description>
				<content:encoded><![CDATA[<p>มาเริ่มกันเลยดีกว่านะครับ</p>
<p>prerequire  ก็มีหลายตัวเช่น<br />-qhull,qhull-devel, Delny , postgresql ,postgis ,python,python-dev,python-numeric,python-pg เป็นต้นนะครับ</p>
<p>แต่เนื่องด้วยมีัปัญหานิดหน่อยสำหรับ python ที่ไม่มีการ complile ให้ใช้ ucs4 สำหรับ encodind จึงต้องทำการ recomplied ใหม่แล้วถอนตัวเก่าออกสะ (ทำให้ยุ่งยากมาก)</p>
<p>กระบวนการก็มีดังนี้<br />- remove python และ libpython ให้เกลี้ยง (ถึงแม้มันจะบอกว่าต้องถอนบางโปรแกรมออกด้วยก็ต้องยอม)<br />- install new python,pyhton-base,python-doc,tkinter,libpython,libpython-dev<br />- install หรือ reinstall ชุด foss4g<br />- install libqhull , libqhull-dev, python-numeric, python-numeric-dev, python-pg<br />- install Delaunay<br />- python fixsyspath.py และทำการ update /etc/profile<br />- install html ของ o3dg และ cgi-bin ไฟล<br />- ติดตั้ง DB โดยมีการเพิ่มสร้าง   createlang plpythonu o3dgdb มาด้วยจากนั้นก็สร้าง function ด้วย o3dg_postgis.sql<br />- นำเข้า shp ให้อยู่ในรูป 3D table<br />- ดำเนินการ แก้ไข path ต่างให้เรียบร้อย<br />- แก้ไขค่า /etc/httpd/conf/httpd.conf<br /># Add Handler for X3D,VRML file<br />        AddType model/x3d+xml .x3d<br />        AddType model/x3d+vrml .x3dv<br />        AddType model/x3d+binary .x3db<br />        AddEncoding gzip .x3dvz<br />        AddEncoding gzip .x3dbz</p>
<p>ปล การแก้ไข python ให้ support ucs4 โดยการเพิ่ม &#8211;enable-unicode=ucs4</p>
<p>%configure2_5x &#8211;with-threads &#8211;with-cycle-gc &#8211;with-cxx=g++ &#8211;without-libdb &#8211;enable-ipv6 &#8211;enable-shared &#8211;enable-unicode=ucs4<br />และต้อง install package ดังนี้ด้วย blt,blt-scripts,libblt2,libdb2,libdb2-dev,libdb4.2-dev,libdbcxx4.2,libdbtcl,libgmp</p>
]]></content:encoded>
			<wfw:commentRss>https://www.ninsawat.com/?feed=rss2&#038;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
