On Tue, Aug 13, 2013 at 1:52 PM, Carsten Meier <[email protected]> wrote:

> Hello list,
>
> I just wanted to build the latest "non" code by checking it out via git.
> "./waf configure" complains about the missing NTK and aborts. But I
> built and installed NTK before (as described in the README.build). It
> resides in /usr/local/lib.
>
> Any hints on this issue?
>
> Thanks in advance
> Carsten
>
>
First, every time you do a git pull on the non repo, you should also do git
submodule update, which will pull down any changes to NTK required by the
HEAD of Non. You must then build and install NTK before attempting to build
non. This should settle down after the 1.0 release of NTK, but for the time
being it's still necessary.

Second, in order for pkg-config to be able to find anything installed in
/usr/local, you must have /usr/local/lib/pkgconfig in your PKG_CONFIG_PATH
environment variable. Good distros will do this for you, if your distro
doesn't do this, you should file a bug report with them so they know about
the problem (this is an issue that affects all libraries compiled from
source and installed in /usr/local, and is not specific to non). In the
meantime, you can put a custom value for PKG_CONFIG_PATH in your
.bash_profile or whatever. It should look like:

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"

Reply via email to