Hi James ... I still have the old loch on my system. When I start it, I get this: ======= * bgee * *~ * loch It used to work, so some Fedora upgrade has hosed it. I can't tell what version it is since it won't run. xtherion is version 5.3.16, so this is whatever loch came with that. I tried your Makefile and received no errors. Unfortunately it also did not produce any executable output files. "Make install" gave me an error saying that /usr/local/bin/therion could not be written. I traced it down to the root cause - It was trying to copy a file that does not exist. So I went to try out your repository. That is VERY useful! I already have it set up for survex, so adding therion was easy. The new version of loch gives the same error on my system as on yours. One question about the package in your repository - Does it include thbook.pdf? And if it does, where does it put that file? Thanks - Bill Gee On Monday, May 1, 2017 8:41:36 AM CDT James Begley wrote:
Hi Bill,
I've managed to get therion and loch to compile on Fedora 25 - see https://copr.fedorainfracloud.org/coprs/jmbegley/therion/
The makefile that is used for loch is attached - hope this helps :)
However, whilst xtherion is happy to run, I can't actually get loch to run. I get an error message that states
"Error: glxCreateContext failed"
Which is presumably some missing graphics library on my workstation :(
Cheers, James
On Sun, 23 Apr 2017 at 15:43 Bill Gee via Therion <therion@speleo.sk> wrote:
Hello everyone -
Once again I am wrestling with the ancient problem of getting loch to compile on Fedora Linux. Below is the sequence of errors that I get. I think I can modify the Therion Makefile so that it skips loch, but I would rather not do that.
Some versions ago I figured out a set of changes to the loch Makefile that allowed it to compile. The listing below shows those changes. They do not work anymore, as seen by the compiler error.
In the second set of errors it is saying that some libraries cannot be found. I do not find any files by these exact names. They probably have some extension, perhaps .so? But I do not find any files with that extension either. vtkIO.so does not exist.
Two questions for the group:
1) Exactly what files are missing? I very likely have them, just not where the compiler is looking. If I can find them, maybe I can add something to VTKLIBPATH.
2) Is there an easier way to deal with this? Why is it that Fedora always has problems? It should Just Work.
-- Bill Gee
===== Using the providede Makefile for loch: make -C ./loch make[1]: Entering directory '/home/bgee/Installs/therion-5.4.1/loch' gcc -c -Wall -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib64/wx/include/gtk3- unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL - D__WXGTK__ -pthread -O2 -o /home/bgee/Installs/therion.bin/loch/lxR2P.o lxR2P.c gcc -c -Wall -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib64/wx/include/gtk3- unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL - D__WXGTK__ -pthread -O2 -o /home/bgee/Installs/therion.bin/loch/lxTR.o lxTR.c c++ -c -Wall -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib64/wx/include/gtk3- unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL - D__WXGTK__ -pthread -Wno-deprecated -I/usr/include/freetype2 -I/usr/local/ include/vtk-5.4 -O2 -o /home/bgee/Installs/therion.bin/loch/lxOGLFT.o lxOGLFT.cxx c++ -c -Wall -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib64/wx/include/gtk3- unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL - D__WXGTK__ -pthread -Wno-deprecated -I/usr/include/freetype2 -I/usr/local/ include/vtk-5.4 -O2 -o /home/bgee/Installs/therion.bin/loch/lxSetup.o lxSetup.cxx In file included from lxSetup.h:23:0,
from lxSetup.cxx:38: lxData.h:34:25: fatal error: vtkPolyData.h: No such file or directory
#include <vtkPolyData.h>
^
compilation terminated. Makefile:147: recipe for target '/home/bgee/Installs/therion.bin/loch/ lxSetup.o' failed make[1]: *** [/home/bgee/Installs/therion.bin/loch/lxSetup.o] Error 1 make[1]: Leaving directory '/home/bgee/Installs/therion-5.4.1/loch' Makefile:206: recipe for target 'loch/loch' failed make: *** [loch/loch] Error 2
bgee ~ Installs therion-5.4.1