Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-31-2011, 08:59 AM
|
#1
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Rep:
|
Cannot compile mysql-workbench
Hi,
I'm using Slackware 13.37 x64 (upgraded to slackware-current) and I have trouble compiling mysql workbench 5.2.34.
The error is:
Code:
scintilla-marshal.c:2:25: fatal error: glib-object.h: No such file or directory
But I have that glib-object.h file:
Code:
$ locate glib-object.h
/usr/include/glib-2.0/glib-object.h
This is when I try to compile version 5.2.27:
Code:
./PlatGTK.cxx:13:21: fatal error: gdk/gdk.h: No such file or directory
Code:
$ locate gdk.h
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdk.h
Any suggestion?
Thanks!
|
|
|
|
05-31-2011, 09:46 AM
|
#2
|
|
Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,295
|
Try
Quote:
|
grep -n include /path/to/scintilla-marshal.c
|
That should show you exactly what it's looking for. As for the 5.2.27 error, gtk-1.2.x & gtk-2.x are not compatible and you may need both. gtk-2.x is certainly taking over.
|
|
|
|
05-31-2011, 10:32 AM
|
#3
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Original Poster
Rep:
|
The grep command gives me:
Code:
2:#include <glib-object.h>
If I replace that with:
Code:
#include </usr/include/glib-2.0/glib-object.h>
Then I get:
Code:
In file included from scintilla-marshal.c:2:0:
/usr/include/glib-2.0/glib-object.h:25:37: fatal error: gobject/gbinding.h: No such file or directory
Code:
$ locate gbinding.h
/usr/include/glib-2.0/gobject/gbinding.h
|
|
|
|
06-01-2011, 03:04 AM
|
#4
|
|
Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,295
|
I've never done anything with mysql, but I'm guessing you probably need gtk-2.x. It doesn't seem to like glib headers. Try reading up on compile time dependencies (different from run-time dependencies often) and make sure you have not configured it --with-something-you-haven't-got
|
|
|
|
06-01-2011, 08:55 AM
|
#5
|
|
Member
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 89
Rep:
|
I have a feeling I had this same problem and traced it to having AlienBob's Multilib GCC installed, I "upgraded" these back to the originals and then the compilation completed, once the package was installed I re-installed the multilib compilers. The package works fine, if you need I can upload a copy somewhere
|
|
|
|
06-01-2011, 10:07 AM
|
#6
|
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,441
|
Are you using the SlackBuilds.org?
Or, if not, maybe one of these might be missing?
Code:
From SlackBuilds.org http://slackbuilds.org/repository/13...workbench-gpl/
This requires libsigc++, glibmm, cairomm, pangomm, gtkmm, libglademm,
ORBit2, GConf, libbonobo, gnome-mime-data, gnome-vfs, libgnome, wxGTK
or wxPython, lua.
Hope this helps some.
|
|
|
|
06-01-2011, 11:30 PM
|
#7
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Original Poster
Rep:
|
Yes, I always use the script from slackbuild.org. Actually, I had some similar problem compiling the libglademm, but then I downloaded the tgz package and installed it successfully.
I also have the multilib gccs from AliebBob installed. Will try later today without them to see how it goes.
|
|
|
|
06-02-2011, 07:29 AM
|
#8
|
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,441
|
I'm not sure exactly when the light popped on in my head but I finally noticed that "This requires blah, blah, blah" in SlackBuilds.org packages are in the order that you need to build and install them (I'd been building things in alphabetic order -- just because -- and kept having problems that got fixed by simply doing them in the order presented). Yeah, there's probably some note somewhere that tells you that but I have a bad habit of just jumping in and going for it that's been difficult for me to break.
I'd been thinking of trying MySQL Workbench for some time and your post triggered me to finally jump in and build the package and, step-by-step, I did that with no problems. I did choose wxGTK rather than wxPython (you have to choose one or the other; there's a note about interference between the two). This in straight-stock Slackware 13.37 64-bit (and sometime today I'm going to build in Slackware 13.37 32-bit on the machine I mainly use as a MySQL -- and PostgreSQL, too -- data base server). When I say straight-stock I mean a full install and the only thing I add is jdk from the extra directory on the DVD and any patches as they become available; the rest is, oh, src2pkg, VirtualBox, a few SlackBuilds here and there, LibreOffice.org (now, instead of OpenOffice.org) and that's pretty much that.
Anyway, this worked for me.
Hope this helps some.
|
|
|
|
06-02-2011, 10:18 AM
|
#9
|
|
Member
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 191
Rep:
|
@zeroberto
Are you using multilib by any chance ?
Regards
Lawrence
|
|
|
|
06-03-2011, 12:14 AM
|
#10
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Original Poster
Rep:
|
Yes, I'm using multilib. Yesterday I installed back the gcc from DVD, but I got the same errors. Then I installed the multilib gcc again, and I was able to compile the libglademm, but I got some different error at building the mysql workbench packages. I don't remeber exactly, but it was something about libstdc++. Then I uninstalled all the compat32 packages, and I managed to brake the whole OS, so I had to reinstall it. Then on the newly installed Slackware64 (without the multilib and any other installed packages) I installed the required libraries that I built earlier but I got the same gdk error when I tried to compile the mysql workbench.
|
|
|
|
06-03-2011, 04:35 AM
|
#11
|
|
Member
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 89
Rep:
|
Oh dear, doesn't sound like you're having much fun with this. I remember having similar problems but managed to compile it somehow, anyway heres a link to the slackpkg I used. If you have all the requirements installed you should be able to just install this pkg and then it will work (hopefully) if not it's simple to uninstall. Good luck.
http://dl.dropbox.com/u/31226650/mys...6_64-2_SBo.tgz
|
|
|
|
06-03-2011, 06:01 AM
|
#12
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Original Poster
Rep:
|
Thanks tdos20, it works! It was complaining about missing libatkmm, but I installed it and it's ok now.
|
|
|
|
06-03-2011, 06:13 AM
|
#13
|
|
Member
Registered: Aug 2006
Location: London
Distribution: Slackware
Posts: 89
Rep:
|
No problem, it's quite a handy app to have if you use MySQL, can be a little buggy though so watch out.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:58 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|