<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[GMan's Mods & Stuff — linux ;)]]></title>
	<link rel="self" href="https://gprogs.com/extern.php?action=feed&amp;tid=47&amp;type=atom" />
	<updated>2006-08-23T22:25:27Z</updated>
	<generator>PunBB</generator>
	<id>https://gprogs.com/viewtopic.php?id=47</id>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=403#p403" />
			<content type="html"><![CDATA[<p>Years later. In the 21st century. This are the voyages of the starship Macintosh...</p><p>I found it:</p><p>Import &quot;-L/usr/local/mysql/lib -lmysqlclient -lz -lsystemstubs&quot;<br />Import &quot;mysql.cpp&quot;</p><p>This will compile and link on a PowerPC Mac with MySQL 5.0.24. <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The only problem: It does not seem to work anyhow. </p><br /><p>I tried this to connect to a local MySQL server:</p><p>Local conn:ISQLDB=SetISQLDBDriver(GetMySQLDBDriver(True,&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;,&quot;mysql&quot;))<br />Local result:ISQLResult=conn.execute(&quot;SELECT * FROM db&quot;)</p><p>But result is null, even though this should return something.</p><p>Maybe I will find an answer to that as well. For today, I´m tired enough. ;-)</p><p>Greetz,<br />Winni</p>]]></content>
			<author>
				<name><![CDATA[Winni]]></name>
				<uri>https://gprogs.com/profile.php?id=43</uri>
			</author>
			<updated>2006-08-23T22:25:27Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=403#p403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=392#p392" />
			<content type="html"><![CDATA[<p>greetings Winni <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; i have a mac mini so i will try to look at this something in the next few days.&nbsp; sorry i cant be faster, but i have a busy weekend ahead.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-08-05T04:03:29Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=392#p392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=391#p391" />
			<content type="html"><![CDATA[<p>Hi guys,</p><p>First I would like to thank gman for his great work on this module - this is really helpful!</p><p>I have not yet looked thoroughly at the module for PostgreSQL (but will do it this weekend). However, I have the same problem as gavinb with _compress and _uncompress - but on Mac OS X (Intel), and importing ZLib does not fix it.</p><p>Do you have any suggestions what to do about it?</p><p>Thanks and greetings from Germany,<br />Winni</p>]]></content>
			<author>
				<name><![CDATA[Winni]]></name>
				<uri>https://gprogs.com/profile.php?id=43</uri>
			</author>
			<updated>2006-08-04T17:42:55Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=391#p391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=198#p198" />
			<content type="html"><![CDATA[<p><img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />great, thanks for the great module again, it is certainly helpw ith creating my game.&nbsp; not to mention other software</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-21T13:00:53Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=198#p198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=197#p197" />
			<content type="html"><![CDATA[<p>excellent thank you.&nbsp; when i free up some time i will add your instructions to the install.txt and merge in the Linux particular code.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-02-21T12:36:12Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=197#p197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=196#p196" />
			<content type="html"><![CDATA[<p>Right well firstly once you got the std. blitzmax install working, download the ISQLDB and mysql modules.<br />goto rpm.pbone.net and click the advanced serach option, search for mysql-devel and tick the box for your linux distro. download/install the mysql devel package that you want. in mycase it was mysql-devel-4.1.1.a.rpm<br />laucnh a console and use &#039;su&#039; to change to root. then &#039;cd /usr/lib/mysql&#039; us &#039;ls&#039; to see a list of files. int he list should be libmysqlclient.a in the console type &#039;cp libmysqlclient.a ../libmySQL.a&#039; and make sure you keep the right case for the letters.</p><p>next you&#039;ll need to edit mysql.cpp in the mysql.mod folder and comment out the #include &lt;winsock.h&gt; and save the file.</p><p>next edit the mysql.bmx in the same directory and add:</p><p>?Linux<br />Import &quot;-lz&quot;<br />?</p><p>just above:</p><p>Import &quot;-lmySQL&quot;<br />Import &quot;mysql.cpp&quot;</p><p>then save the file and compile modules.&nbsp; those are all the steps i took and it works fine</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-21T08:39:07Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=196#p196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=193#p193" />
			<content type="html"><![CDATA[]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-02-21T00:23:01Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=193#p193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=192#p192" />
			<content type="html"><![CDATA[<p>*UPDATE - it works better under linux than Windows ....lol, coz there are a few steps to it not just whats mentioned in this thread i&#039;ll write summin up tomrrow and post it for you to do as u wish</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-20T22:49:36Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=192#p192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=191#p191" />
			<content type="html"><![CDATA[<p>Import Pub.ISQLDB<br />Import BRL.Blitz</p><p>?Linux<br />Import &quot;-lz&quot;<br />?<br />Import &quot;-lmySQL&quot;<br />Import &quot;mysql.cpp&quot;</p><p>gets rid of errors, now it works A.OK, thanks dude</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-20T22:43:37Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=191#p191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=190#p190" />
			<content type="html"><![CDATA[<p>those almost look like ZLib functions.&nbsp; try adding this right above the Import &quot;-lmySQL&quot; statement:<br /></p><div class="codebox"><pre><code>?Linux
Import Pub.ZLib
?</code></pre></div><p>so the end result would look like:<br /></p><div class="codebox"><pre><code>Import Pub.ISQLDB
Import BRL.Blitz

?Linux
Import Pub.ZLib
?
Import &quot;-lmySQL&quot;
Import &quot;mysql.cpp&quot;</code></pre></div><p>if that doesnt work, try:<br /></p><div class="codebox"><pre><code>Import Pub.ISQLDB
Import BRL.Blitz

?Linux
Import &quot;-lz&quot;
?
Import &quot;-lmySQL&quot;
Import &quot;mysql.cpp&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-02-20T21:58:03Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=190#p190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=189#p189" />
			<content type="html"><![CDATA[<p>managed to get it down to this:</p><p>Building main<br />Compiling:main.bmx<br />flat assembler&nbsp; version 1.64<br />4 passes, 19935 bytes.<br />Linking:main.debug<br />/usr/lib/libmySQL.a(my_compress.o)(.text+0x66): In function `my_uncompress&#039;:<br />: undefined reference to `uncompress&#039;<br />/usr/lib/libmySQL.a(my_compress.o)(.text+0x11c): In function `my_compress_alloc&#039;:<br />: undefined reference to `compress&#039;<br />collect2: ld returned 1 exit status<br />Build Error: Failed to link /home/gavin/Desktop/game/main.debug<br />Process complete</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-20T20:56:17Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=189#p189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=188#p188" />
			<content type="html"><![CDATA[<p>hmm...where is it u link to the libmysql.a?</p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-20T20:04:44Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=188#p188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=187#p187" />
			<content type="html"><![CDATA[<p>i just saw the elive topic under the Linux forum on blitzmax.com.&nbsp; im going to give it a whirl.&nbsp; that will let me use my existing machine and not mess anything up.&nbsp; tried puppy, but this one is confirmed working.&nbsp; ill let ya know.</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-02-20T19:10:56Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=187#p187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=186#p186" />
			<content type="html"><![CDATA[<p>Welll dont worry too much, its just the .a file i think :S then its sorted. then u can stick it on here as a linux pkg <img src="https://gprogs.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[gavinb]]></name>
				<uri>https://gprogs.com/profile.php?id=24</uri>
			</author>
			<updated>2006-02-20T18:46:06Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=186#p186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: linux ;)]]></title>
			<link rel="alternate" href="https://gprogs.com/viewtopic.php?pid=183#p183" />
			<content type="html"><![CDATA[<p>hmmm.&nbsp; i may have to bump up priority on getting together a linux box...</p>]]></content>
			<author>
				<name><![CDATA[gman]]></name>
				<uri>https://gprogs.com/profile.php?id=2</uri>
			</author>
			<updated>2006-02-20T17:39:37Z</updated>
			<id>https://gprogs.com/viewtopic.php?pid=183#p183</id>
		</entry>
</feed>
