Rebootstrapping to build static library
(1) By Daudi (DaudiM) on 2022-03-26 21:25:53 [link] [source]
I have successfully used mysqlpp on my local server (running ArchLinux) using dynamic linkage. For shared webhosting I am trying to "rebuild" the library for static linkage. I have followed the instructions in README-Unix.txt: found "HACKERS.txt", installed bakefile ..etc. Currently I get an error about about missing "bakefile.m4" when I run bootstrap. Using my favorite search engine I have found discussions on potentially related issues on the mysql forums page. However, it appears that one cannot find the full versions on the website (anymore?). I would be most grateful to know if the instructions I am reading are still up-to-date and/or for links to recent discussions on this topic. If I am actually on the write track, I will gladly give more details of the errors and the steps leading up to it. Thank you very much in advance.
(2) By Warren Young (tangent) on 2022-03-27 00:53:31 in reply to 1 [source]
installed bakefile
The legacy version 0.2 that MySQL++ actually works with, or one of the incompatible follow-on 1.x versions?
one cannot find the full versions on the website
Full versions of what, on which web site? MySQL? MySQL++? Bakefile?
I would be most grateful to know if the instructions I am reading are still up-to-date
One of my key platforms doesn't allow static linkage any more, so the instructions you're trying to follow could well be outdated. The actual text in question hasn't been touched since 2013.
Assuming the licensing allows what you're trying to do, it might be simpler to just put the MySQL++ source files into your project.
(3) By Daudi (DaudiM) on 2022-03-27 10:32:18 in reply to 2 [link] [source]
Many thanks. That information has potentially saved me a lot of time. I will check out the licensing and attempt to use the source files.