{"id":200,"date":"2007-11-11T14:31:29","date_gmt":"2007-11-11T19:31:29","guid":{"rendered":"https:\/\/dillernet.com\/apple\/2007\/11\/11\/mysql-python-driver-building-on-105\/"},"modified":"2007-11-11T16:53:01","modified_gmt":"2007-11-11T21:53:01","slug":"mysql-python-driver-building-on-105","status":"publish","type":"post","link":"https:\/\/dillernet.com\/apple\/2007\/11\/11\/mysql-python-driver-building-on-105\/","title":{"rendered":"MySQL Python driver building (breaking?) on 10.5"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2007\/11\/mysql-icon.png?resize=59%2C55&#038;ssl=1\" width=\"59\" height=\"55\" alt=\"mysql_icon.png\"\/><\/p>\n<p>Trying to get my mysql environment setup on 10.5 I ran head-long into the <a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=22307\">mysql python 1.22 drivers<\/a> breaking with xcode 3.<\/p>\n<p><code>from _mysql.c:40: \/usr\/include\/sys\/types.h:92: error: duplicate \u00e2\u20ac\u02dcunsigned\u00e2\u20ac\u2122 \/usr\/include\/sys\/types.h:92: error: two or more data types in declaration specifiers error: command 'gcc' failed with exit status 1<\/code><\/p>\n<p>\nThe fixed is coved over at <a href=\"http:\/\/www.keningle.com\/?p=11\">the Ingels 3.0<\/a>. fairly simple fix, but due to my complete lack of c programming skils, one that I couldn&#8217;t have come up with on my own. But edit a few lines and it complies fine. Thanks Ingles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trying to get my mysql environment setup on 10.5 I ran head-long into the mysql python 1.22 drivers breaking with xcode 3. from _mysql.c:40: \/usr\/include\/sys\/types.h:92: error: duplicate \u00e2\u20ac\u02dcunsigned\u00e2\u20ac\u2122 \/usr\/include\/sys\/types.h:92: error: two or more data types in declaration specifiers error: command &#8216;gcc&#8217; failed with exit status 1 The fixed is coved over at the Ingels 3.0. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,15],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-mac","category-software"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3PE01-3e","jetpack-related-posts":[{"id":256,"url":"https:\/\/dillernet.com\/apple\/2009\/01\/09\/mysql-gem-for-osx-lepard-ruby\/","url_meta":{"origin":200,"position":0},"title":"Mysql Gem for OSX Lepard Ruby","author":"dillera","date":"January 9, 2009","format":false,"excerpt":"Want to build the mysql gem for the system's Ruby and use the mysql binary you just installed from mysql.org? Easy, has wonko.com has the answer and it worked perfectly! I love Google. airbot:~ [504]$ sudo env ARCHFLAGS=\"-arch i386\" gem install mysql -- \\ > --with-mysql-dir=\/usr\/local\/mysql --with-mysql-lib=\/usr\/local\/mysql\/lib \\ > --with-mysql-include=\/usr\/local\/mysql\/include\u2026","rel":"","context":"In &quot;Coding&quot;","block_context":{"text":"Coding","link":"https:\/\/dillernet.com\/apple\/category\/coding\/"},"img":{"alt_text":"ruby_img.jpg","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2009\/01\/ruby-img.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":310,"url":"https:\/\/dillernet.com\/apple\/2010\/01\/17\/blogtk-using-in-karmic\/","url_meta":{"origin":200,"position":1},"title":"BloGTK &#8211; Using in Karmic","author":"dillera","date":"January 17, 2010","format":false,"excerpt":"A nice GTK application for blogging is BloGTK. It's written in python and it's fast and a decent replacement for MarsEdit when not on my Mac (not that there are many choices for GTK blogging apps). The 2.0 release is available on LaunchPad, but it requires a few extra python\u2026","rel":"","context":"In &quot;karmic&quot;","block_context":{"text":"karmic","link":"https:\/\/dillernet.com\/apple\/category\/karmic\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":83,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/20\/bookmark-management-on-the-nokia-770\/","url_meta":{"origin":200,"position":2},"title":"Bookmark Management on the Nokia 770","author":"admin","date":"December 20, 2005","format":false,"excerpt":"Ready to export your existing bookmarks onto the 770? Just as I wasn't willing to enter in my RSS feeds by hand, the same goes for my bookmarks. I wanted to export my perfectly good bookmark lists in Firefox and put them on the 770, since it is supposed to\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"DeerPark_bookmarks-sync.png","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/images\/DeerPark_bookmarks-sync.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":87,"url":"https:\/\/dillernet.com\/apple\/2006\/01\/01\/what-happened-in-51\/","url_meta":{"origin":200,"position":3},"title":"What Happened in .51?","author":"admin","date":"January 1, 2006","format":false,"excerpt":"Issues with 51 Ok, since I've flashed 51 onto my 770, all hell has broken loose. So far I've had these issues: News Reader won't load (and it constantly refreshes) Sporadic reboots Out of Memory errors (I never had them before) Using swapon causes immediate out of memory and or\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":183,"url":"https:\/\/dillernet.com\/apple\/2007\/07\/18\/xen-domains-rhel-and-networking\/","url_meta":{"origin":200,"position":4},"title":"Xen Domains, RHEL and Networking","author":"dillera","date":"July 18, 2007","format":false,"excerpt":"At the office I'm deploying some new servers using Xen domains running under RHEL 5.0. We use RHEL 4.4 for our systems, and so re-deploying some of them as RHEL 4.5 (the Xen-kernel enabled version) Domains saves hardware space, money and keeps the server room cooler. Many dev servers are\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/dillernet.com\/apple\/category\/linux\/"},"img":{"alt_text":"xen_image.jpeg","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2007\/07\/xen-image.jpeg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":319,"url":"https:\/\/dillernet.com\/apple\/2010\/01\/18\/flash-10-1-beta2-plugin-for-chrome-browser-in-karmic\/","url_meta":{"origin":200,"position":5},"title":"Flash 10.1 Beta2 plugin for Chrome Browser in Karmic","author":"dillera","date":"January 18, 2010","format":false,"excerpt":"So if you have the 1201N you really should have the Flash 10.1 Beta2 plugin, which supports the ION chip in your Netbook and plays back flash video content near flawlessly and with minimal CPU overhead.After you download the flash beta, you extract it and run a simple installer from\u2026","rel":"","context":"In &quot;EEE&quot;","block_context":{"text":"EEE","link":"https:\/\/dillernet.com\/apple\/category\/eee\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}