Changeset 637


Ignore:
Timestamp:
Sep 15, 2011 12:19:54 PM (12 years ago)
Author:
jemian
Message:

working solution for Ubuntu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • epd_deployment/mysqldb.txt

    r636 r637  
    7676#!#    File "/tmp/easy_install-J78LWs/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config
    7777#!#  EnvironmentError: mysql_config not found
     78
     79
     80# ---------------------------
     81# first install (Ubuntu) libmysqlclient-dev
     82#
     83# What for RHEL?
     84#
     85#  easy_install-U mysql-python should work but fails on dependencies
     86# works (Ubuntu)!
     87
     88
     89#># prjemian@regitte:~/Documents/eclipse/epd_deployment$ ~/Apps/epd/rh5-x86/bin/easy_install -U mysql-python
     90#># Searching for mysql-python
     91#># Reading http://pypi.python.org/simple/mysql-python/
     92#># Reading http://sourceforge.net/projects/mysql-python
     93#># Best match: MySQL-python 1.2.3
     94#># Downloading http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.3.tar.gz#md5=215eddb6d853f6f4be5b4afc4154292f
     95#># Processing MySQL-python-1.2.3.tar.gz
     96#># Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7Urv09/MySQL-python-1.2.3/egg-dist-tmp-P4n1Sl
     97#># warning: no files found matching 'MANIFEST'
     98#># warning: no files found matching 'ChangeLog'
     99#># warning: no files found matching 'GPL'
     100#># In file included from _mysql.c:36:0:
     101#># /usr/include/mysql/my_config.h:1069:0: warning: "HAVE_WCSCOLL" redefined
     102#># /home/prjemian/Apps/epd/rh5-x86/include/python2.7/pyconfig.h:887:0: note: this is the location of the previous definition
     103#># zip_safe flag not set; analyzing archive contents...
     104#># Adding MySQL-python 1.2.3 to easy-install.pth file
     105#>#
     106#># Installed /home/prjemian/Apps/epd/rh5-x86/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-i686.egg
     107#># Processing dependencies for mysql-python
     108#># Finished processing dependencies for mysql-python
     109#># prjemian@regitte:~/Documents/eclipse/epd_deployment$ ~/Apps/epd/rh5-x86/bin/python
     110#># Enthought Python Distribution -- www.enthought.com
     111#># Version: 7.1-2 (32-bit)
     112#>#
     113#># Python 2.7.2 |EPD 7.1-2 (32-bit)| (default, Jul  5 2011, 21:58:24)
     114#># [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
     115#># Type "packages", "demo" or "enthought" for more information.
     116#># >>> import mysqldb
     117#># Traceback (most recent call last):
     118#>#   File "<stdin>", line 1, in <module>
     119#># ImportError: No module named mysqldb
     120#># >>> import MySQLdb
     121#># >>>
Note: See TracChangeset for help on using the changeset viewer.