Sensible Open Source

August 16, 2012

Time Left

4 years 3 months 2 days 18 hours

ESPRE-Video

Blog Status

  • 3 yrs 5 wks 6 days old
  • Updated: 1 May 2008
  • 401 entries
  • 148 comments

LinkBlogS

Creating Vidcasts

18 June 2007, Monday 7:05 P GMT-06
Tags:      

Man, Can't Microsoft Catch A Break?

16 March 2007, Friday 12:26 P GMT-06

Viacom, Google andYou Tube, Oh My!

16 March 2007, Friday 12:25 P GMT-06

Switch to digital TV to start in October

16 March 2007, Friday 7:46 A GMT-06

Is the Ice Ready? No, Its Still To Hot To Use...

16 March 2007, Friday 7:43 A GMT-06

MIT Entire Curriculum At disposal of e-learners

6 March 2007, Tuesday 11:52 A GMT-06

A cure for e-mail attention disorder?

2 March 2007, Friday 12:51 A GMT-06
Tags:  

Windows-on-Mac software gets virtualization update

1 March 2007, Thursday 5:08 A GMT-06

EnterpriseDB is/n't Open Source

1 March 2007, Thursday 3:37 A GMT-06

BitTorrent download portal debuts

27 February 2007, Tuesday 9:05 A GMT-06

$45b TXU buyout

27 February 2007, Tuesday 9:02 A GMT-06

iPhone Competitors Got The Touch

26 February 2007, Monday 3:43 A GMT-06
Tags:        

HTC - Smart Mobility

25 February 2007, Sunday 4:22 A GMT-06

Hard to find 1-800 numbers

23 February 2007, Friday 8:35 A GMT-06

Cuba Embraces Open-Source Software

21 February 2007, Wednesday 3:10 A GMT-06

Vista at the tipping point, Err Dipping Point?

11 February 2007, Sunday 11:11 A GMT-06
Tags:  

PostgreSQL Open Source And Persistence

3 February 2007, Saturday 10:32 P GMT-06

Blackboard Pledges No Patent Blocks

3 February 2007, Saturday 10:28 P GMT-06

UVU

5 January 2007, Friday 11:58 P GMT-06

Open-source IP PBX software appliance"

4 January 2007, Thursday 3:44 A GMT-06

Asterisk an under-appreciated Open Source Success Story

4 January 2007, Thursday 3:43 A GMT-06

Open Source AJAX Tooling

4 January 2007, Thursday 3:41 A GMT-06

Google MAIL API Secuirty Alert

1 January 2007, Monday 7:37 P GMT-06
Tags:    

United States Patent Application: 0060288329

26 December 2006, Tuesday 4:00 A GMT-06

LinkBlog Popular Tags

                                       







««May 2008»»
SMTWTFS
    
1
23
45678910
11121314151617
18192021222324
25262728293031

 

Total: 600,566
since: 5 Apr 2005

A Tale of Four Kernels

17 May 2008, Saturday
The FreeBSD, GNU/Linux, Solaris, and Windows operating systems have kernels that provide comparable facilities. Interestingly, their code bases share almost no common parts, while their development pr

W3C 'clarifies' HTML 5 v XHTML

17 May 2008, Saturday
Potential conflicts and overlap between the first update to HTML in a decade by the World Wide Web Consortium (W3C) and XHTML has been addressed by the standards body. The group, meanwhile, has also a

Debian fumble jeopardizes all sshd-equipped servers

17 May 2008, Saturday
As has been widely reported, the maintainers of Debian's OpenSSL packages made some errors recently that have potentially compromised the security of any sshd-equipped system used remotely by Debian u

Five Reasons Red Hat Should Ignore Consumer Linux Desktops

17 May 2008, Saturday
Are you still begging Red Hat to offer Linux on consumer PCs? Here are five reasons why that's a terrible idea, according to The VAR Guy.

Keeping your SSH connections alive with autossh

17 May 2008, Saturday
With autossh, you can monitor your SSH connections and restart them if they stop sending traffic or SSH exits abnormally. This makes autossh perfect for keeping secure port forwarding available. Some

Microsoft frees poor children from Linux struggles

17 May 2008, Saturday
Microsoft has announced an agreement with One Laptop Per Child (OLPC) that will make Windows XP available on the non-profit's low-cost laptops for third-world children. Thank goodness third world chil

New Design: Rounded_2 by jedignork

17 May 2008, Saturday
jedignork's "Rounded_2" was just added to OSWD! It is blue and white and validates XHTML 1.0 Strict.

New Design: Delicious Fruit by Dieter

17 May 2008, Saturday
Dieter's "Delicious Fruit" was just added to OSWD! It is yellow and green and validates XHTML 1.0 Strict.

New Design: Touching by timmytima

17 May 2008, Saturday
timmytima's "Touching" was just added to OSWD! It is white and black and validates XHTML 1.0 Transitional.

New Design: BlackandGreen by shipping_guy

17 May 2008, Saturday
shipping_guy's "BlackandGreen" was just added to OSWD! It is orange and green and validates XHTML 1.0 Strict.

New Design: Sundark by rotw

17 May 2008, Saturday
rotw's "Sundark" was just added to OSWD! It is black and yellow and validates XHTML 1.0 Transitional.

New Design: Cash by alexisc22

17 May 2008, Saturday
alexisc22's "Cash" was just added to OSWD! It is green and gray and validates XHTML 1.0 Transitional.

New Design: Greeny blu by heartlessg

17 May 2008, Saturday
heartlessg's "Greeny blu" was just added to OSWD! It is black and blue and validates XHTML 1.0 Transitional.

New Design: Simple Beauty by dboy

17 May 2008, Saturday
dboy's "Simple Beauty" was just added to OSWD! It is white and gray and validates XHTML 1.0 Strict.

New Design: Cloudy Water Sports by boilers

17 May 2008, Saturday
boilers's "Cloudy Water Sports" was just added to OSWD! It is gray and blue and validates XHTML 1.0 Strict.

New Design: RedTie by alexisc22

17 May 2008, Saturday
alexisc22's "RedTie" was just added to OSWD! It is white and red and validates XHTML 1.0 Transitional.

My Asus Eee PC's Linux Journey

17 May 2008, Saturday
After months of tinkering with my Asus Eee PC, I decided on eeeXbuntu (Ubuntu with XCFE). Here's a recap of my journey so far, and where I might be heading next -- potentially with Ubuntu.

Cyber Snipa Sonar 5.1 USB Headset

17 May 2008, Saturday
BIOSLEVEL.com looks at one of the latest USB 5.1 headsets in both Windows and Linux. Are the latest round of gaming headsets ready for Linux usage?

Little thin client runs Linux

16 May 2008, Friday
The Italian firm CompuMaster has introduced a compact thin client that runs Linux. The "Praim Ino" can be mounted on the back of a monitor, draws just six Watts, and comes with a variety of client sof

Content Protection madness on Vista

16 May 2008, Friday
I’m a firm believer in the idea that if you pay for hardware, you should be able to make full use of it. However, DRM and content protection mechanisms are increasingly making this difficult for peopl

Please Welcome Digistan

16 May 2008, Friday
With the OOXML debacle behind us, one might ask, "Now what?" Clearly, something (or somethings) need to be done in order to be sure that the process that gave us OOXML does not repeat itself. One answ

RSS Add-Me








Google Related Links

Sudo Gem Install Mysql - On OS X With Proper Parameters

posted 27 March 2008, Thursday

I had to install, fresh, Ruby On Rails this evening.  I ran into a little road bump when issuing sudo gem install mysql on OS X.

The script prints out to the terminal:

! sudo gem install mysql
Select which gem to install for your platform (i686-darwin8.10.1)
 1. mysql 2.7.3 (mswin32)
 2. mysql 2.7.1 (mswin32)
 3. mysql 2.7 (ruby)
 4. mysql 2.6 (ruby)
 5. mysql 2.5.1 (ruby)
 6. Cancel installation

I picked 4 as a 1 & 2 are for Windows and option 3 installs the latest greatest Ruby.   I just needed Ruby 1.8 support  and therefore, I picked 4 but 5 could work, too.

My result was a failure: 

! sudo gem install mysql
Select which gem to install for your platform (i686-darwin8.10.1)
 1. mysql 2.7.3 (mswin32)
 2. mysql 2.7.1 (mswin32)
 3. mysql 2.7 (ruby)
 4. mysql 2.6 (ruby)
 5. mysql 2.5.1 (ruby)
 6. Cancel installation
> 4
Building native extensions.  This could take a while...
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/ruby
        --with-mysql-config
        --without-mysql-config
        --with-mysql-dir
        --without-mysql-dir
        --with-mysql-include
        --without-mysql-include=${mysql-dir}/include
        --with-mysql-lib
        --without-mysql-lib=${mysql-dir}/lib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-mlib
        --without-mlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-zlib
        --without-zlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-socketlib
        --without-socketlib
        --with-mysqlclientlib
        --without-mysqlclientlib
        --with-nsllib
        --without-nsllib
        --with-mysqlclientlib
        --without-mysqlclientlib

ERROR:  While executing gem ... (RuntimeError)
    ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.6 for inspection.
  

Results logged to /usr/local/lib/ruby/gems/1.8/gems/mysql-2.6/gem_make.out

  

Solution was quickly GooGleD with few wrong answers, but Hivelogic, as usual rox!!  A simple parameter was forgotten and not well documented.  So now here it is for future reference, and in stickies for my lightening fast access.  Stickies is still a great app.
 

sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config 

<Big:jes> 0 [03-28 00:10] ~/dev/vino (.007 Mb)
! sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config 
Select which gem to install for your platform (i686-darwin8.10.1)
 1. mysql 2.7.3 (mswin32)
 2. mysql 2.7.1 (mswin32)
 3. mysql 2.7 (ruby)
 4. mysql 2.6 (ruby)
 5. mysql 2.5.1 (ruby)
 6. Cancel installation
> 4
Building native extensions.  This could take a while...
mysql.c: In function 'query':
mysql.c:635: error: invalid storage class for function 'res_free'
mysql.c:637: error: 'res_free' undeclared (first use in this function)
mysql.c:637: error: (Each undeclared identifier is reported only once
mysql.c:637: error: for each function it appears in.)
make: *** [mysql.o] Error 1
mysql.c: In function 'query':
mysql.c:635: error: invalid storage class for function 'res_free'
mysql.c:637: error: 'res_free' undeclared (first use in this function)
mysql.c:637: error: (Each undeclared identifier is reported only once
mysql.c:637: error: for each function it appears in.)
make: *** [mysql.o] Error 1
ruby extconf.rb install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
checking for mysql_ssl_set()... yes
checking for mysql.h... yes
creating Makefile

make
gcc -fno-common -g -O2 -pipe -fno-common  -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H  -I/usr/local/mysql/include -Os -arch i386 -fno-common -c mysql.c

make install
mkdir -p /usr/local/lib/ruby/gems/1.8/gems/mysql-2.6/lib
gcc -fno-common -g -O2 -pipe -fno-common  -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H  -I/usr/local/mysql/include -Os -arch i386 -fno-common -c mysql.c

make clean
Successfully installed mysql-2.6

There you go! 

tags:          

links: digg this    del.icio.us    technorati    reddit