LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   MySQL-workbench install dependencies gtkmm (https://www.linuxquestions.org/questions/slackware-14/mysql-workbench-install-dependencies-gtkmm-4175618757/)

SAJM 12-01-2017 09:42 AM

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!

keefaz 12-01-2017 09:50 AM

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

SAJM 12-01-2017 10:49 AM

Quote:

Originally Posted by keefaz (Post 5787433)
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

heyjann 12-01-2017 11:49 AM

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.

SAJM 12-01-2017 12:50 PM

Quote:

Originally Posted by SAJM (Post 5787452)
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.

bassmadrigal 12-01-2017 12:59 PM

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.

SAJM 12-04-2017 07:16 AM

Quote:

Originally Posted by bassmadrigal (Post 5787506)

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.

SAJM 12-04-2017 08:20 AM

Quote:

Originally Posted by SAJM (Post 5788521)
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!

heyjann 12-04-2017 09:09 AM

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)?

willysr 12-04-2017 10:14 AM

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.

bassmadrigal 12-04-2017 11:09 AM

Quote:

Originally Posted by SAJM (Post 5788521)
Unfortunately I could not find MySQL-workbench

Quote:

Originally Posted by SAJM (Post 5788567)
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 (Post 5788567)
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).

SAJM 12-05-2017 07:15 AM

Quote:

Originally Posted by heyjann (Post 5788591)
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.

bassmadrigal 12-05-2017 07:45 AM

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.

:)

SAJM 12-05-2017 08:40 AM

Quote:

Originally Posted by bassmadrigal (Post 5788656)
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.

bassmadrigal 12-05-2017 09:22 AM

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.


All times are GMT -5. The time now is 01:54 PM.