Mysql-gui-tools-5.0r9 compile
I have been playing with a LAMP setup under Slack 11, kernel 2.6.17 and have more or less got everything working. I would like to try out the MySql-gui front end to MySql but haven't had much success and so have been trying to compile MySql-gui-tools from source. The tools depend on the gtk libraries and have fell over at compile time due to undefined references to the gtk libs. This has led me back to recompiling the gtk libs and it's dependencies. I have now reached a brick wall with the compilation of gtkmm-2.4.8 as the make stage of building bombs out with a string of errors the first of which is
Code:
/usr/local/lib/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_title' Anyway - all I want to do is get a nice GUI fron end to MySql local databases for development purposes and mysql-gui-tools looks promising - if it would work!! Anyone any ideas ?? |
Well, for one, post more output, post everything past and including the first error message, these are likely to be important.
|
Sorry - I thought this might be something obvious or something someone had seen before. Anyway - I have posted ny config.log and the results of make (it errors out) to here :
http://slackware.pastebin.com/873594 If some kind soul could have a look and give me some ideas I would much appreciate it. Cheers.. |
What version of GTK+2 are you using? Also, I noticed that you rebuilt alot, if not all, of the "G libs"... I'll assume you did a removepkg on the stock ones before installing to /usr/local... Looks like you have a version mismatch, hence all the undefined symbols.
It's whining mostly about the new print functions from GTK+2.10.x so I'm going to say that you have 2.10.x installed.... If you built GTK+2.10 then you should be using a newer version of gtkmm than 2.4.x.... That's pretty old; 2 years. try here: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/ Make sure your mm libraries match the major version of it's companion libraries. Same for glib et. all.. Using Glib-2.12.x? Then use glibmm-2.12.x.... Same story if you plan on building the python bindings... pygtk-2.4.x isn't going to like GTK+2.10.x.... That would be my guess as to what's going on. configure's check for greater than but don't check for less than because the developer can't predict api changes in the future that will break their software. That 2 year old gtkmm is having a hissy over the new GTK+2 functions and doesn't know what to do with them. |
I have to admit to being no expert in the wonderful world of ./configure, make, make install but I thought the linker was given a dependency chain in a makefile which specified which libraries to link against. I.E. that mysql-administrator link process was specifically looking for libgtkmm-2.4.so . I admit I think it is a mismatched version issue but as I said, I'm no expert. I have posted a copy of my /lib, /usr/lib and /usr/local/lib dirs at
http://slackware.pastebin.com/874644 I apologize for the length of this pastebin but the browser's search function should jump to any relevant bits. Should I be deleting, rebuilding any GTK stuff to sort out my build environment ? Sorry for throwing this at you but I really would like to know more about this and get mysqlgui_tools working. Thanks again... |
Have you tried to build the new gtkmm from the link above as I suggested? I thought it was fairly clear... Not sure what anyone is supposed to do with a listing of your lib directories. If anything, list the contents of /var/log/packages... Altho, if your not making packages with everything you've been recompiling, then that will do no good.
It seems to be a versioning problem, plain and simple. List the package names and versions of everything you've recompiled in your endeavor to get the mysql gui to work. |
Well i have built the new gtkmm for your link OK. Now compiling mysql-administrator gives new link errors, this time it seems pango is causing it grief. Here is the tail of the messages - from when errors appear.
Code:
g++ -g -O2 -o mysql-administrator-bin MGUserBrowserList.o MInstanceInfo.o MDataInterface.o MDynamicInterface.o MAdministrator.o MAPanel.o MAPreferences.o MAPreferencesEditor.o util.o main.o MAServerInformationPanel.o MAServiceControlPanel.o MAUserAdministrationPanel.o MAStartupParametersPanel.o MAServerConnectionsPanel.o MAHealthPanel.o MAServerLogsPanel.o MABackupPanel.o MARestorePanel.o MAReplicationStatusPanel.o MACatalogsPanel.o MADummyPanel.o ../../library/source/libadmin.a ../../../mysql-gui-common/source/linux/libmacommongui.a ../../../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a ../../../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a ../../../mysql-gui-common/library/utilities/source/.libs/libguiutil.a -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lssl -lcrypto -L/usr/local/lib -lglade-2.0 -lxml2 -lz -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lutil -L/usr/lib -lpcre Code:
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `g_type_register_static_simple' Code:
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_quantize_line_geometry' Thanks again for your time.. |
Quote:
http://www.linuxquestions.org/questi...d.php?t=521692 |
All times are GMT -5. The time now is 12:32 AM. |