Archive

Posts Tagged ‘Mac’

MySQL++ on Mac using MAMP

March 11th, 2009 No comments

Typical install… like there is such a thing!  I sat down eager to take MySQL++ for a test-drive, so I opened up a few Safari tabs, shuttling between the MySQL and MySQL++ sites (the library has been taken over by a caring individual), and sipped my large glass of water.  Everything went along smashingly until configure complained that it couldn’t find the MySQL library and include files.  Oh yeah, I’m using MAMP, so I don’t have any!  This was the solution:

  1. Download MySQL++ from here.
  2. Unarchive MySQL++.
  3. Download closest compatible MySQL version (5.0.77 at time of writing) here.
  4. Unarchive MySQL
  5. Open a terminal window
  6. cd /path/to/MySQL++
  7. ./configure ./configure –with-mysql-lib=/path-to-wherever-you-unarchived-mysql/lib –with-mysql-include=/path-to-wherever-you-unarchived-mysql/include –prefix=/path/where/you/want/mysql++/installed
  8. make
  9. sudo make install
  10. Revel in installation success

Update: when I tried to build and run one of the sample programs in xcode, I got a “Signal 10″ bus error – but only in debug builds (release were fine)!  After an hour lost in the www woods, I started manually flipping all the target settings that were different and found that the preprocessor macro “-D_GLIBCXX_DEBUG=1″ was the problem.  Of course, once I knew what I was looking for, I found it in two seconds on the web.  You can read a more detailed description of the problem here.  Once I removed the macro, all was well.

Update #2: the library tries to find the mySQL server in the default location, not wherever MAMP’s mySQL server is.  One solution, which I found here, is to put a symbolic link in the place where the library looks, which points to the real file in MAMP.

Categories: Mac, Programming, Web Development Tags: , ,

Gnu Cgicc Library compiles on Mac OS X 10.5.6!

March 9th, 2009 No comments

Although not officially tested for the Mac, I got version 3.2.7 to compile (3.2.8 had compiler errors).  Here’s what I did:

  1. Remove “#pragma interface” and “#pramga implementation” from all source files
  2. In Terminal, change to the cgicc directory
  3. ./configure –prefix=/Path/where/you/want/to/install
  4. sudo make install
Categories: Mac Tags: , ,

Showing Hidden Files in Finder

March 2nd, 2009 No comments

If you do any work with hidden files on your mac (like local web development .htaccess files), this script will save your behind.

http://forums.macworld.com/thread/72863

Just set a shortcut to it with FastScripts – one of my favorite Mac apps – and your ready to rock!

p.s. I edited the script by moving the “Finder” quit line to the start of the script changing the delay to .02 (after a bit of experimentation) – so far so good!

Categories: Mac Tags: , ,

windows 7 product key

windows 7 product key

windows 7 key generator

windows 7 key generator

free winrar download

free winrar download

winzip activation code

winzip activation code

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

winrar download free

winrar download free

winzip free download full version

winzip free download full version

windows 7 activation crack

windows7 activation crack

windows 7 crack

windows 7 crack

free winzip

free winzip
\n