Problems building Subsurface on Ubuntu and Fedora

Dirk Hohndel dirk at hohndel.org
Sun Sep 6 07:49:31 PDT 2015


On Sun, Sep 06, 2015 at 01:26:31PM +0200, Willem Ferguson wrote:
> On 05/09/2015 18:35, Miika Turkia wrote:
> >
> >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
> >
> Miika, Dirk, Tomaz,
> 
> I appreciate your time with me. Thanks. The problem was, as suggested above,
> that the Grantlee5_DIR variable was not set. Building ok now.
> 
> May I ask a very stupid question?
> The variables like Grantlee5_DIR: are they Linux environmental variables or
> cmake variables? I ask this because I had to hardcode the location of the
> Grantlee configuration file into the CMakecache.txt file. I could not get it
> from Linux so that cmake could see the environmental variable. I used
> /etc/environment to set the variable but it looked like CMakeCache.txt did
> not see this setting.

I had a patch to build.sh that sets things up so that this should all
work. But it appears that I didn't push this to master. Let me look for it
to make sure we get this all correct. My apologies for the mess.

The problem is that we are not good with incremental changes. So if you
were to start from scratch again (once I find and push that fix), it
SHOULD all work.

/D


More information about the subsurface mailing list