I have  MacBook, and although it was a challenge to get everything up  
and running, I ended up using darwinports to install apache 2, mysql  
5 and python 2.4.

Everything is working really well now

Corey Oordt

On Jun 6, 2006, at 9:36 PM, Greg Harman wrote:

>
>
> Oliver Kiessler wrote:
>
>> ---
>>
>> I also tried MysqlDB which compiles fine but throws a runtime error:
>>
>> macbookpro:~/mysite oliver$ python manage.py runserverValidating  
>> models...
>> Unhandled exception in thread started by <function inner_run at  
>> 0x77b930>
>> Traceback (most recent call last):
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/core/ 
>> management.py",
>> line 757, in inner_run
>>     validate()
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/core/ 
>> management.py",
>> line 741, in validate
>>     num_errors = get_validation_errors(outfile)
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/core/ 
>> management.py",
>> line 634, in get_validation_errors
>>     import django.models
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/models/ 
>> __init__.py",
>> line 1, in ?
>>     from django.core import meta
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/ 
>> __init__.py",
>> line 3, in ?
>>     from django.core import db
>>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
>> python2.4/site-packages/Django-0.91-py2.4.egg/django/core/db/ 
>> __init__.py",
>> line 23, in ?
>>     raise ImproperlyConfigured, "Could not load database backend: %s.
>> Is your DATABASE_ENGINE setting (currently, %r) spelled correctly?
>> Available options are: %s" % \
>> django.core.exceptions.ImproperlyConfigured: Could not load database
>> backend: Failure linking new module:
>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> site-packages/_mysql.so:
>> Symbol not found: _uncompress
>>   Referenced from:
>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> site-packages/_mysql.so
>>   Expected in: dynamic lookup
>> . Is your DATABASE_ENGINE setting (currently, 'mysql') spelled
>> correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql',
>> 'sqlite3'
>
> I'm fighting the same problem now trying to use MySQL with my Intel
> Mac.  This particular error is because
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
> site-packages/_mysql.so
> was compiled for the PPC chipset.
>
> I've tried compiling from source for the i386 architecture, but am
> having no luck. :-(
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to