Closed ayan4m1 closed 2 years ago
libtcd
is the "Tide Constiuent Database" file required by xtide. The source for it is available here. It looks like that file has been updated from "rev 2" to "rev 3", and the storage method has changed. Modify the CMakeLists.txt file and change libtcd-2.2.7-r2.tar.bz2
to libtcd-2.2.7-r3.tar.xz
and see if that makes a difference.
I'll take a closer look at the build file and see if there are any other changes that need to be made to get it to compile.
It looks like the source code for XTide has been updated also. Another change necessary to CMakeLists.txt is changing xtide-2.15.2.tar.bz2
to xtide-2.15.3.tar.xz
and any references to 2.15.2
to 2.15.3
So, I just tried to reproduce this on my machine, but I couldn't, as even though there are new versions of those files, the old ones are still available for download, and my CMake downloaded them and built them. Did you say your /build/libtcd-2.2.7/src
was empty? Mine contains a directory named project_libtcd
, and the source was extracted to that dir.
Note that I've only build this on Mac OS X and on a Raspberry Pi. I've not tried on any other Linux distros, so there may be issues in the build scripts.
What do you see when you type:
cmake --version
I get cmake version 3.2.1
cmake version 3.18.4
Right, I tried wget
ting the URLs in the CMakeConfig and they download / hash to the same md5sum as in the config file, but cmake doesn't actually seem to be performing those steps. I'll try to look into it a bit more on my end. Thanks for the quick response!
So, I was able to make some progress... After manually building the libtcd and xtide outside the build/
dir and copying the .libs/libtcd.a
and .libs/libxtide.so
files into the places it was expecting, I was able to get it to build when running make. The strange thing is, it seems like after I placed the missing files there, it went out and did the download/extract/compile of libtcd/xtide like I wanted from the beginning.
Closing this as my primary issue is resolved, there appears to be a bug/issue related to the cmake version I am using. Trying this install on an Pi running buster works as expected; libtcd and xtide are fetched and compiled by cmake.
I have tried everything I can think of, but I'm not very familiar with CMake so this is out of my depth...
Followed the build instructions, only difference is I used the Debian
libboost-system-dev
package to provide Boost 1.74 instead of building it from source.Running
cmake -Wno-dev ..
from thextwsd/build
directory gives me:Then running make gives:
I see a
libtcd-2.2.7/src
directory but it has no source code in it. Same for thextide-2.15.2
directory in my build dir.I can manually compile libtcd and xtide fine, are you aware of a way I could modify the build script to use those directories instead? Anything else that might help resolve the issue is appreciated.