Fedora 14.
emma-0.6.tar.gz
Trying to compile emma frontend for MySQL but I get Error below and I don't see a python2.4 in Fedora
# ./setup.py /usr/bin/env: python2.4: No such file or directory
# cat setup.py
#!/usr/bin/env python2.4 import os import os.path import sys from glob import glob from distutils.core import setup
from emmalib import version
icon_data = glob('icons/*.png') glade_data = ['emmalib/emma.glade', 'emmalib/plugins/table_editor/table_editor.glade'] theme_data = ["theme/README.html"] theme_gtk_data = glob("theme/gtk-2.0/*") other_data = ['changelog']
setup(name="emma", version=version, description="emma is the extendable mysql managing assistant", author="Florian Schmidt", author_email="flo@fastflo.de", url="http://emma.sourceforge.net", scripts=['emma'], package_dir={'emmalib': 'emmalib'}, packages=[ 'emmalib', 'emmalib.plugins.table_editor', 'emmalib.plugins.pretty_format' ], data_files=[ ("share/emma/icons", icon_data), ("share/emma/glade", glade_data), ("share/emma/theme", theme_data), ("share/emma/theme/gtk-2.0", theme_gtk_data), ("share/emma", other_data), ], license="GPL", long_description=""" Emma is a graphical toolkit for MySQL database developers and administrators It provides dialogs to create or modify mysql databases, tables and associated indexes. it has a built-in syntax highlighting sql editor with table- and fieldname tab-completion and automatic sql statement formatting. the results of an executed query are displayed in a resultset where the record- data can be edited by the user, if the sql statemant allows for it. the sql editor and resultset-view are grouped in tabs. results can be exported to csv files. multiple simultanios opend mysql connections are possible. Emma is the successor of yamysqlfront. """ )
Also ,
#python setup.py no gtk. you will not be able to start emma
# rpm -qa | grep gtk authconfig-gtk-6.1.11-1.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 gtkmm24-2.22.0-1.fc14.i686 usermode-gtk-1.106.1-1.fc14.1.i686 gtk2-2.22.0-1.fc14.1.i686 qtcurve-gtk2-1.8.1-1.fc14.i686 gtk2-engines-2.20.1-2.fc14.i686 gtk+-1.2.10-70.fc13.i686 kcm-gtk-0.5.3-5.fc14.i686 pygtk2-2.17.0-7.fc14.i686 gtkglext-libs-1.2.0-10.fc12.i686 pygtk2-libglade-2.17.0-7.fc14.i686 gtkimageview-1.6.4-2.fc14.i686 gtkhtml2-2.11.1-8.fc14.i686 webkitgtk-1.3.6-1.fc14.i686 gtkhtml3-3.32.1-1.fc14.i686 gnome-python2-gtkhtml2-2.25.3-26.fc14.1.i686 python-slip-gtk-0.2.13-1.fc14.noarch report-gtk-0.20-1.fc14.i686
On Fri, 31 Dec 2010 13:12:18 -0500, Jim wrote:
Fedora 14.
emma-0.6.tar.gz
Trying to compile emma frontend for MySQL but I get Error below and I don't see a python2.4 in Fedora
# ./setup.py /usr/bin/env: python2.4: No such file or directory
Edit the files and change python2.4 to python. Fedora 14 comes with 2.7
Also ,
#python setup.py no gtk. you will not be able to start emma
Looks like you may be missing some dependencies. The actual message is a bit misleading.
From __init__.py in emmalib:
try: import gtk from gtk import keysyms import gobject import gtk.gdk import gtk.glade if __name__ != "__main__": from emmalib import __file__ as emmalib_file from emmalib.mysql_host import * from emmalib.mysql_query_tab import * else: emmalib_file = __file__ from mysql_host import * from mysql_query_tab import * except: print "no gtk. you will not be able to start emma."
So, make sure you have the following installed as well:
pygobject2-2.21.5-3.fc14.i686
And any of its dependencies of course.
That being said, this installs software in /usr/share/emma (!), uses some deprecated calls, and the author's web site seems to be no longer available.
Have you looked at other graphical tools for MySQL, such as:
mysql-workbench (available as an RPM from mysql.com) SQuirrel (available from squirrel-sql.sourceforge.net)
I use both of the above packages and like both (for different tasks).
. . . . just my two cents
/mde/
On 12/31/2010 05:36 PM, Mark Eggers wrote:
On Fri, 31 Dec 2010 13:12:18 -0500, Jim wrote:
Fedora 14.
emma-0.6.tar.gz
Trying to compile emma frontend for MySQL but I get Error below and I don't see a python2.4 in Fedora
# ./setup.py /usr/bin/env: python2.4: No such file or directory
Edit the files and change python2.4 to python. Fedora 14 comes with 2.7
Also ,
#python setup.py no gtk. you will not be able to start emma
Looks like you may be missing some dependencies. The actual message is a bit misleading.
From __init__.py in emmalib:
try: import gtk from gtk import keysyms import gobject import gtk.gdk import gtk.glade if __name__ != "__main__": from emmalib import __file__ as emmalib_file from emmalib.mysql_host import * from emmalib.mysql_query_tab import * else: emmalib_file = __file__ from mysql_host import * from mysql_query_tab import * except: print "no gtk. you will not be able to start emma."
So, make sure you have the following installed as well:
pygobject2-2.21.5-3.fc14.i686
And any of its dependencies of course.
That being said, this installs software in /usr/share/emma (!), uses some deprecated calls, and the author's web site seems to be no longer available.
Have you looked at other graphical tools for MySQL, such as:
mysql-workbench (available as an RPM from mysql.com) SQuirrel (available from squirrel-sql.sourceforge.net)
I use both of the above packages and like both (for different tasks).
. . . . just my two cents
/md
pygobject2-2.21.5-3.fc14.i686 is already installed .
On Sat, 01 Jan 2011 00:13:52 -0500, Jim wrote:
pygobject2-2.21.5-3.fc14.i686 is already installed .
OK, that was just a quick guess based on what I thought you had installed from your first post.
Here's a list of the rpms you gave from an earlier post:
# rpm -qa | grep gtk authconfig-gtk-6.1.11-1.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 gtkmm24-2.22.0-1.fc14.i686 usermode-gtk-1.106.1-1.fc14.1.i686 gtk2-2.22.0-1.fc14.1.i686 qtcurve-gtk2-1.8.1-1.fc14.i686 gtk2-engines-2.20.1-2.fc14.i686 gtk+-1.2.10-70.fc13.i686 kcm-gtk-0.5.3-5.fc14.i686 pygtk2-2.17.0-7.fc14.i686 gtkglext-libs-1.2.0-10.fc12.i686 pygtk2-libglade-2.17.0-7.fc14.i686 gtkimageview-1.6.4-2.fc14.i686 gtkhtml2-2.11.1-8.fc14.i686 webkitgtk-1.3.6-1.fc14.i686 gtkhtml3-3.32.1-1.fc14.i686 gnome-python2-gtkhtml2-2.25.3-26.fc14.1.i686 python-slip-gtk-0.2.13-1.fc14.noarch report-gtk-0.20-1.fc14.i686
I didn't see pygobject2-2.21.5-3.fc14.i686 listed, which is why I mentioned it.
I went through each of the imports in the try / except block and here's what I found. I'm not much of a python person (C, Perl, Java mostly), so I may have missed some dependencies or made some errors.
python gtk: pygtk2-2.17.0-7.fc14.i686 python keysyms: pygtk2-2.17.0-7.fc14.i686 python gobject: pygobject2-2.21.5-3.fc14.i686 python gdk.gl: pygtkglext-1.1.0-9.fc14.i686 python glade: pygtk2-libglade-2.17.0-7.fc14.i686
In the list you posted, I don't see pyobject (which you say you have installed) and pygtkglext.
I came up with these dependencies by going through /usr/lib/python2.7/site-packages and searching for the imports in the try / except block.
More than than that, once I changed the line from python2.4 to python, the program started up and did connect to a MySQL database. I didn't explore the program more than that since I'm happy with my tools (SQuirreL, MySQL-Workbench, NetBeans).
Since you're already installing third party packages, I suggest you give MySQL-Workbench a test drive. It's available from mysql.com as an unsigned rpm, so you'll have to install it with:
yum install mysql-workbench-gpl-5.2.31a-2fc14.i386.rpm --nogpgcheck
It's a bit of a resource hog, but the functionality is much more than emma, the documentation in the program is reasonable, and there are some demos / white papers online.
. . . . just my two cents.
/mde/
On 01/01/2011 01:28 PM, Mark Eggers wrote:
On Sat, 01 Jan 2011 00:13:52 -0500, Jim wrote:
pygobject2-2.21.5-3.fc14.i686 is already installed .
OK, that was just a quick guess based on what I thought you had installed from your first post.
Here's a list of the rpms you gave from an earlier post:
# rpm -qa | grep gtk authconfig-gtk-6.1.11-1.fc14.i686 libcanberra-gtk2-0.25-4.fc14.i686 gtkmm24-2.22.0-1.fc14.i686 usermode-gtk-1.106.1-1.fc14.1.i686 gtk2-2.22.0-1.fc14.1.i686 qtcurve-gtk2-1.8.1-1.fc14.i686 gtk2-engines-2.20.1-2.fc14.i686 gtk+-1.2.10-70.fc13.i686 kcm-gtk-0.5.3-5.fc14.i686 pygtk2-2.17.0-7.fc14.i686 gtkglext-libs-1.2.0-10.fc12.i686 pygtk2-libglade-2.17.0-7.fc14.i686 gtkimageview-1.6.4-2.fc14.i686 gtkhtml2-2.11.1-8.fc14.i686 webkitgtk-1.3.6-1.fc14.i686 gtkhtml3-3.32.1-1.fc14.i686 gnome-python2-gtkhtml2-2.25.3-26.fc14.1.i686 python-slip-gtk-0.2.13-1.fc14.noarch report-gtk-0.20-1.fc14.i686
I didn't see pygobject2-2.21.5-3.fc14.i686 listed, which is why I mentioned it.
I went through each of the imports in the try / except block and here's what I found. I'm not much of a python person (C, Perl, Java mostly), so I may have missed some dependencies or made some errors.
python gtk: pygtk2-2.17.0-7.fc14.i686 python keysyms: pygtk2-2.17.0-7.fc14.i686 python gobject: pygobject2-2.21.5-3.fc14.i686 python gdk.gl: pygtkglext-1.1.0-9.fc14.i686 python glade: pygtk2-libglade-2.17.0-7.fc14.i686
In the list you posted, I don't see pyobject (which you say you have installed) and pygtkglext.
I came up with these dependencies by going through /usr/lib/python2.7/site-packages and searching for the imports in the try / except block.
More than than that, once I changed the line from python2.4 to python, the program started up and did connect to a MySQL database. I didn't explore the program more than that since I'm happy with my tools (SQuirreL, MySQL-Workbench, NetBeans).
Since you're already installing third party packages, I suggest you give MySQL-Workbench a test drive. It's available from mysql.com as an unsigned rpm, so you'll have to install it with:
yum install mysql-workbench-gpl-5.2.31a-2fc14.i386.rpm --nogpgcheck
It's a bit of a resource hog, but the functionality is much more than emma, the documentation in the program is reasonable, and there are some demos / white papers online.
. . . . just my two cents.
/mde/
I will give those other frontends a try , thanks.