Your comment on

Name: 

Notify email: 

Comment:

  
       

 | Page 1 of 3 total pages | Next

Montag, 21 April 2008


mysql-python on leopard (OSX 10.5)

Tagged as: , , ,

In order to use my mysql db with trac I needed to compile the msql python egg, which first failed.


I found the following tip on the web:


get:


http://dfn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz


unstuff and patch the file _mysql.c

by just removing the following lines:


#ifndef uint
#define uint unsigned int
#endif

It compiled and installed Ok, then with the usual

sudo python setup.py install


Nonetheless it refuses to work with 64-bit mod_python and mod_wsgi, which doesn't surprise.


It seems like I need to wait for a 64-bit version of the Mysql server, so all these components can play nicely together again.


Until then I think, I'll need to stick with mod_fastcgi, which comes with Leopard already as 64-bit compiled, if I want to stay with mysql + trac + apache 64-bit. Unfortunately I do not get mod_fcgid to work with trac on leopard, although I was able to compile a 64-bit version of mod_fcgid. Fcgid is what I used before and what worked vers well for me in terms of speed, although it has a problem with rendering huge pages (e.g. huge scripts in the repository browser)


UPDATE: I was able to get mod_fcgid to work on Leopard meanwhile. Here is how

Add comment | /Dokumente/trac | permanent link



Farbflash trac projects

Search

Tag cloud

Category
Show articles per page

RSS Feed

Links
  • 3DPI
    - Property Inspector to edit and explore all properties of a director #shockwave3d member. Without the 3DPI the whole 3-D stuff would be nearly undoable!
  • ULLALA
    Excellent examples and tutorials
  • DOUG
    Director online -- First place to look for Director related info
  • JAMES NEWTON
    another bunch of excellent demos and source code
  • MEKKA MEDIALIGHT LINGOWORKSHOP
    lots of excellent demos and source code from Luke Wigley
  • VALENTIN SCHMIDT
    lots of excellent xtras and source code. Home of the indispensable Shell Xtra!
  • XONKO
    Mark Hills site. Very good tutorials and other director and 3-D related stuff
  • INLUDO
    Barry Swans director demos and tutorials
  • Deans Director resources
    Dean Utians huge collection of resources and tutorials related to everything Director
  • THE HENDRIK DORGATHEN SITE
    not at all related to director, but one of my favorite graphic design art sites
  • SALINAS
    the site, of our local resistance against nuclear garbage (german)
  • TIMKID
    furniture for children (with some shockwave3d pieces)

Contact

Disclaimer

Donate
If one of the open source examples on this page helped you to get a paid job delivered, you might want to contribute and support my work by donating via PayPal...

Private
Login:
Passwort:

  
design and code by Alex da Franca