Quote:
|
Quote:
|
Quote:
Quote:
@SAJM, since you're not running 14.2, you need to ensure you're grabbing 14.1 SlackBuilds and/or have 14.1 set up as the default repository in sbopkg. That might help some of your issues. |
Quote:
|
Quote:
|
It happens to the best of us
|
For reference/inspiration, below commands worked for me to get the thing working, in a fresh test install.
I would not really recommend using it as a script, you might be able to (I hope you are on x86_64 then) but in that case note there is no error checking, no failsafes, I did not even check properly, might have made copy-paste errors here, I'm not necessarily great at this stuff etc etc. As you can see I used a few prebuilt packages to save some time, whatever you have already, no need to reinstall. If anything, it shows the trouble one can save oneself when dealing with dependency-heavy software by using tools that can process SBo stuff for you. (after adding mirror to /etc/slackpkg/mirrors) Code:
slackpkg update get some prebuilt packages Code:
mkdir /root/trustedlibs Code:
cd /root Code:
cd /root/ctemplate |
To simplify heyjann's commands by using sbopkg (and sqg), we can do the following. (Note: if you don't have jdk installed, you'd need to download the source and place it in /var/cache/sbopkg/ like I mentioned above)
Code:
sbopkg -V SBo/14.1 # Ensure we're set to the 14.1 repo Good luck! |
Quote:
Both a queuefile and a package were found with the name "mysql-workbench". The following packages cannot be found in the currently active repository (SBo/14.1) and have been skipped: ptyprocess asn1crypto packaging (Y)es to continue processing or (N)o to stop?: sbopkg: main: Unknown response: "Q". (Y)es to continue processing or (N)o to stop?: |
Sounds like it is basing the dependency list (hopefully not much else) on 14.2 info.
ptyprocess dependency on 14.2: https://slackbuilds.org/repository/1...aries/pexpect/ no ptyprocess dependency on 14.1: https://slackbuilds.org/repository/1...aries/pexpect/ I'd say try it anyway, Y to continue. Worst it can do is fail. To double-check the SBo packages you currently have installed, you can try ls /var/log/packages/*SBo Quote:
Although I mostly don't install dependency-rich stuff like this, so I am ok with the manual way. |
Quote:
Slight modification (with one less command) and you should hopefully be golden. Code:
sbopkg -V SBo/14.1 -r # Set the 14.1 repo and sync it |
Quote:
Here's the error log: Determining if files cppconn/version_info.h exist failed with the following output: Change Dir: /tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3104536626/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3104536626.dir/build.make CMakeFiles/cmTryCompileExec3104536626.dir/build gmake[1]: Entering directory `/tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3104536626.dir/CheckIncludeFiles.c.o /usr/bin/cc -O2 -march=i486 -mtune=i686 -o CMakeFiles/cmTryCompileExec3104536626.dir/CheckIncludeFiles.c.o -c /tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c /tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:34: fatal error: cppconn/version_info.h: No such file or directory #include <cppconn/version_info.h> ^ compilation terminated. gmake[1]: *** [CMakeFiles/cmTryCompileExec3104536626.dir/CheckIncludeFiles.c.o] Error 1 gmake[1]: Leaving directory `/tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec3104536626/fast] Error 2 Source: /* */ #include <cppconn/version_info.h> int main(){return 0;} |
Quote:
You could try building (and installing ;) ) mysql-connector-c++ 1.1.9 from the 14.2 repo. Since it doesn't rely on anything else, I don't think it will be a problem to have that be a newer version than the other dependencies. I tried compiling 1.1.9 and verified that file is in there, so hopefully mysql-workbench won't error out. Then try and rebuild mysql-workbench (just the package, since you shouldn't need to process the whole queue again). Hopefully that can now complete without an error. This is one downside with running an older Slackware version. SBo only maintains the latest stable release and the older versions get kinda frozen, whether they're working or not. If you're able, you might want to look into upgrading your Slackware to 14.2, as the SBo repo is active for 14.2 and any bugs found will likely be fixed quite quickly. |
Quote:
- found gnome-keyring-1, version 3.8.0 -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtold -- Looking for strtold - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for strtoimax -- Looking for strtoimax - found -- Looking for strtoumax -- Looking for strtoumax - found -- Configuring incomplete, errors occurred! See also "/tmp/SBo/mysql-workbench-community-6.2.5-src/wb-build/CMakeFiles/CMakeOutput.log". |
mysql-workbench 6.2.25 should build without error with mysql-connector-c++ 1.1.3
I have a box running Slackware 14.1 with these packages installed from sbo (sboinstall) I looked into it and see in the myslq-workbench source dir that the test for version_info.h is built from: build/cmake/Modules/FindMySQLCppConn.cmake Code:
... @SAJM Did you remove the mysql-connector packages from previous installation attempts, in each case? check with Code:
ls /var/log/packages/mysql-connector* |
All times are GMT -5. The time now is 07:47 AM. |