Problems building Subsurface on Ubuntu and Fedora
Miika Turkia
miika.turkia at gmail.com
Sat Sep 5 09:35:55 PDT 2015
On Sat, Sep 5, 2015 at 6:15 PM, Willem Ferguson
<willemferguson at zoology.up.ac.za> wrote:
> Dirk, Miika,
>
> I cannot build the latest version (downloaded around 09h00 WCT, I assume it
> is SHA f9c32a58). I have identical symptoms on two independent machines
> (Fedora and Ubuntu).
>
> I could build Subsurface reliably on Ubuntu at least until SHA 2c4ae23ccc5d
> but it appears that something has changed, either with respect to
> dependencies or with respect to the cmake make file. Presently I get:
>
> Linking CXX executable subsurface
> /usr/bin/ld: cannot find -lGrantlee5::Templates
> collect2: error: ld returned 1 exit status
> CMakeFiles/subsurface.dir/build.make:285: recipe for target 'subsurface'
> failed
> make[2]: *** [subsurface] Error 1
> CMakeFiles/Makefile2:710: recipe for target 'CMakeFiles/subsurface.dir/all'
> failed
> make[1]: *** [CMakeFiles/subsurface.dir/all] Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Here are the grantlee shared objects in src/install-root/lib:
>
> drwxr-xr-x 3 root root 4096 Sep 5 16:24 grantlee
> lrwxrwxrwx 1 root root 26 Sep 5 16:24 libGrantlee_Templates.so ->
> libGrantlee_Templates.so.5
> lrwxrwxrwx 1 root root 30 Sep 5 16:24 libGrantlee_Templates.so.5 ->
> libGrantlee_Templates.so.5.0.0
> -rw-r--r-- 1 root root 606320 Sep 5 16:53 libGrantlee_Templates.so.5.0.0
> lrwxrwxrwx 1 root root 29 Sep 5 16:24 libGrantlee_TextDocument.so ->
> libGrantlee_TextDocument.so.5
> lrwxrwxrwx 1 root root 33 Sep 5 16:24 libGrantlee_TextDocument.so.5 ->
> libGrantlee_TextDocument.so.5.0.0
> -rw-r--r-- 1 root root 184184 Sep 5 16:24
> libGrantlee_TextDocument.so.5.0.0
>
> and in src/install-root/lib/grantlee/5.0:
>
> -rw-r--r-- 1 root root 216968 Sep 5 16:53 grantlee_defaultfilters.so
> -rw-r--r-- 1 root root 293696 Sep 5 16:53 grantlee_defaulttags.so
> -rw-r--r-- 1 root root 147952 Sep 5 16:53 grantlee_i18ntags.so
> -rw-r--r-- 1 root root 103008 Sep 5 16:53 grantlee_loadertags.so
>
> Miika, are you building normally?
Yep, builds just fine for me.
> I deleted the grantlee folder to have this rebuilt by build.sh, but this had
> no effect. :-(((
>
> The same resulted when performing a totally complete and new build from
> scratch in src.
>
> Any ideas?
cd subsurface/build
ccmake .
Make sure the Grantlee5_DIR variable points to correct locaiton. I
suppose LIBGRANTLEE_FROM_PKGCONFIG should also be OFF (or at least it
is on my build).
miika
More information about the subsurface
mailing list