LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2017, 09:42 AM   #1
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Rep: Reputation: Disabled
MySQL-workbench install dependencies gtkmm


I am trying to install MySQL-workbench but have stalled on the dependencies.

Here is what I have:
Dell Latitude E4300 Laptop
Slackware 14.1

I went to https://slackbuilds.org/repository/1...sql-workbench/ downloaded the software and did an install which failed, alerting me to the dependencies.

At gtkmm the install failed because of yet more dependencies. I installed mm-common OK but atkmm failed because glibmm-2.4 could not be found.

I tried glib-2.32.1 but that failed because sigc++-2.0 could not be found.
I found 3 versions of sigc++ (but not ver 2.0) and installed them all but glib insists on ver 2.0.

I have now hit a brick wall. Short of going into the source code and changing the dependencies version number (can I do that?) I have nowhere to go.

Help!
 
Old 12-01-2017, 09:50 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Maybe you should upgrade some packages in your system
Do you use slackpkg to maintain system up to date?
glib2 version should be at least 2.36

You should use sboinstall from sbotools, it's much easier with software install that has lot of dependencies
 
Old 12-01-2017, 10:49 AM   #3
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keefaz View Post
Maybe you should upgrade some packages in your system
Do you use slackpkg to maintain system up to date?
I don't, but am doing it now. Thanks
 
Old 12-01-2017, 11:49 AM   #4
heyjann
Member
 
Registered: Dec 2015
Posts: 72

Rep: Reputation: Disabled
Any specific reason to go with, or stay on (more likely), 14.1? It's still a fine distribution, but it is old enough that you will need specific, older versions of some software.

Possibly worth having a look at, to get mm packages for 14.1 from a trusted source: https://rlworkman.net/pkgs/14.1/

After that, 12 more dependencies needed if I counted correctly. If that is a lot to do 1 by 1, probably best to look into keefaz's sboinstall suggestion instead - I don't know the tool myself.
 
Old 12-01-2017, 12:50 PM   #5
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
I don't, but am doing it now. Thanks
I did a big fat update and tried the dependencies again. A few more went through OK but:

glibmm-2.36.2 still failed because sigc++-2.0 could not be found. sigc++-2.0 is not listed as a dependency at;

https://slackbuilds.org/repository/1...raries/glibmm/

and I did download and run all the files listed.
 
Old 12-01-2017, 12:59 PM   #6
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,533

Rep: Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486
I'm seeing libsigc++ as a dependency of glibmm for 14.1 using the link you provided. That should provide your sigc++-2.0 dependency.

It might be worth looking into a more automated tool. Two popular ones are sbopkg and sboinstall. I don't have experience with the latter, but sbopkg includes a companion script called sqg (slackbuild queue generator) that will walk all the dependencies and dependencies of dependencies and will add them to an sqf (slackbuild queue file), which will display the proper order to build and install all packages to allow the final package to be built. Then you use sbopkg to build that queue and let it do its thing.
 
1 members found this post helpful.
Old 12-04-2017, 07:16 AM   #7
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post

It might be worth looking into a more automated tool. Two popular ones are sbopkg and sboinstall. I don't have experience with the latter, but sbopkg includes a companion script called sqg (slackbuild queue generator) that will walk all the dependencies and dependencies of dependencies and will add them to an sqf (slackbuild queue file), which will display the proper order to build and install all packages to allow the final package to be built. Then you use sbopkg to build that queue and let it do its thing.
I installed sbopkg and did use it to load lots of utilities I found and wanted. Unfortunately I could not find MySQL-workbench but did find another GUI database which I'm now using. I hate to be beaten but hey ho!

Thanks for all the help.
 
Old 12-04-2017, 08:20 AM   #8
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
I installed sbopkg and did use it to load lots of utilities I found and wanted. Unfortunately I could not find MySQL-workbench but did find another GUI database which I'm now using. I hate to be beaten but hey ho!

Thanks for all the help.
I eventually found mysql workbench and installed it through sbopkg. It gave exactly the same errors as when I tried manually, missing dependencies, including some I have previously installed. I am well and truly beaten!
 
Old 12-04-2017, 09:09 AM   #9
heyjann
Member
 
Registered: Dec 2015
Posts: 72

Rep: Reputation: Disabled
If you still may need additional help, I'm afraid you'll need to be more specific.
Which package is failing to build, just mysql-workbench at the end? and what is the error message exactly (copy-paste a chunk of text from the terminal please so that info about the problem gets shown)?
 
Old 12-04-2017, 10:14 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Please note that the deps listed are first level of dependency. Some deps may require second level or even third level of packages installed first. The list is quite long for mysql-workbench.

Last edited by willysr; 12-04-2017 at 10:16 AM.
 
Old 12-04-2017, 11:09 AM   #11
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,533

Rep: Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486
Quote:
Originally Posted by SAJM View Post
Unfortunately I could not find MySQL-workbench
Quote:
Originally Posted by SAJM View Post
I eventually found mysql workbench and installed it through sbopkg.
Yeah, sbopkg doesn't support keywords and has to be the exact name and case used in the package name. I always look on SBo first, if I'm unsure what the name might be.

Quote:
Originally Posted by SAJM View Post
It gave exactly the same errors as when I tried manually, missing dependencies, including some I have previously installed. I am well and truly beaten!
Did you run sqg -p mysql-workbench first? This should generate the queue file needed to install all the required dependencies before trying to build mysql-workbench. It will work through each of those dependencies, adding them as needed. Then, you can run sbopkg -i mysql-workbench and then when asked, press "q" to select the queue file rather than just the package.

NOTE: I did notice that jdk is listed as a dependency. Unfortunately, Oracle requires you to agree to their license before downloading, so it requires you to download the tarball manually using a browser. You can then either place the source in /var/cache/sbopkg, which will allow sbopkg to use it without downloading it. Or you can run the SlackBuild manually and ensure the resulting package is installed before you start (and when sbopkg complains it can't download it, tell it to continue processing the queue).
 
1 members found this post helpful.
Old 12-05-2017, 07:15 AM   #12
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by heyjann View Post
If you still may need additional help, I'm afraid you'll need to be more specific.
Which package is failing to build, just mysql-workbench at the end? and what is the error message exactly (copy-paste a chunk of text from the terminal please so that info about the problem gets shown)?
Here is the dump from the install. It is the same for both a manual install and that using sbopkg. I used the sbopkg menu to start that install.

- Found X11: /usr/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Could NOT find CTEMPLATE (missing: CTEMPLATE_LIBRARY CTEMPLATE_INCLUDE_DIR)
-- Could NOT find MYSQLCPPCONN (missing: MYSQLCPPCONN_LIBRARY MYSQLCPPCONN_INCLUDE_DIR)
-- Could NOT find VSQLITE (missing: VSQLITE_LIBRARY VSQLITE_INCLUDE_DIR)
-- Could NOT find TINYXML (missing: TINYXML_LIBRARY TINYXML_INCLUDE_DIR)
-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeOutput.log".

To the best of my knowledge the missing dependencies have been installed.
 
Old 12-05-2017, 07:45 AM   #13
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,533

Rep: Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486
That's saying those dependencies haven't been installed. Did you just run the SlackBuild of them and not manually install the resulting package? SlackBuilds only create the packages and don't install them (although, sbopkg can do install them if you tell it to). Check your /tmp/ folder for any txz/tgz packages and ensure they're installed.

Quote:
-- Could NOT find CTEMPLATE (missing: CTEMPLATE_LIBRARY CTEMPLATE_INCLUDE_DIR)
Handled by the ctemplate package.

Quote:
-- Could NOT find MYSQLCPPCONN (missing: MYSQLCPPCONN_LIBRARY MYSQLCPPCONN_INCLUDE_DIR)
Handled by the mysql-connector-c++ package.

Quote:
-- Could NOT find VSQLITE (missing: VSQLITE_LIBRARY VSQLITE_INCLUDE_DIR)
Handled by the vsqlite++ package.

Quote:
-- Could NOT find TINYXML (missing: TINYXML_LIBRARY TINYXML_INCLUDE_DIR)
Handled by the tinyxml package.

 
1 members found this post helpful.
Old 12-05-2017, 08:40 AM   #14
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Yeah, sbopkg doesn't support keywords and has to be the exact name and case used in the package name. I always look on SBo first, if I'm unsure what the name might be.



Did you run sqg -p mysql-workbench first? This should generate the queue file needed to install all the required dependencies before trying to build mysql-workbench. It will work through each of those dependencies, adding them as needed. Then, you can run sbopkg -i mysql-workbench and then when asked, press "q" to select the queue file rather than just the package.

NOTE: I did notice that jdk is listed as a dependency. Unfortunately, Oracle requires you to agree to their license before downloading, so it requires you to download the tarball manually using a browser. You can then either place the source in /var/cache/sbopkg, which will allow sbopkg to use it without downloading it. Or you can run the SlackBuild manually and ensure the resulting package is installed before you start (and when sbopkg complains it can't download it, tell it to continue processing the queue).
I did as directed above but kept getting an error in setup.py and no module named setuptools. Initially I clicked yes to carry on but this error came up again and again and again.
 
Old 12-05-2017, 09:22 AM   #15
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,533

Rep: Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486Reputation: 2486
Can you paste the contents of the file /var/lib/sbopkg/queues/mysql-workbench.sqf? This should provide the build order of mysql-workbench. On mine, it contains 26 different packages that needs to be installed before you can run the SlackBuild for mysql-workbench. Of note, unixDOC has a flag that tells the user to read the README (which should be done anyway before installing a package) stating it conflicts with libiodbc in Slackware. I don't know if you need to remove libiodbc before running it or you only need to reinstall it if you remove unixDOC (although, I speculate it's the latter since it isn't spelled out that libiodbc needs to be removed).

Once that is done, can you provide the output of the error message? If one crops up and it asks if you want to continue processing the queue, it's very possible it won't be able to finish the queue because that required program will now be missing.

We'd need to know at a minimum what package it's trying to build and the error messages provided to hopefully help you out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install and Use MySQL Workbench As Your Database GUI LXer Syndicated Linux News 0 04-16-2017 08:38 PM
[SOLVED] Unable to fix MySQL Workbench install gvaught Ubuntu 6 08-14-2015 06:10 AM
[SOLVED] Slackware - MySQL Workbench (5.2.43) - gtkmm and libcairomm-1.0.so fail juju Slackware 16 03-01-2013 12:14 PM
help installing dependencies for mysql-workbench on RedHat 5 Desktop asaint Linux - Newbie 11 04-14-2012 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration