On Tue, Jan 17, 2017 at 3:48 PM, William Pentney <[email protected]> wrote:
> I've tried to install NTK on both a Raspberry Pi 3 and an Ubuntu 16.04 > distro, so as to install Non, and both times it fails with > > Checking for 'gcc' (C compiler) : /usr/bin/gcc > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking for program 'pkg-config' : > ['/usr/bin/pkg-config'] > Checking for 'x11' : not found > The configuration failed > (complete log in /home/pentney/ntk/build/config.log) > > It seems to be looking for a x11.pc file that isn't there - from > build/config.log: > > Checking for 'x11' > ['/usr/bin/pkg-config', '--cflags', '--libs', 'x11'] > err: Package x11 was not found in the pkg-config search path. > Perhaps you should add the directory containing `x11.pc' > to the PKG_CONFIG_PATH environment variable > > There is no x11.pc file on either the Raspbian or the Ubuntu systems I > tried this in, both of which are plain out-of-the-box installations that > definitely have X11 and pkg-config installed and working. It doesn't appear > to be in /usr/local/lib/pkgconfig or any alternative site, either. I don't > see how the NTK package would ever install on many conventional Linux > distributions. > > Am I missing something? > > Thanks, > Billl > Quite. In order to compile software, you need to install not just the runtime dependencies, but the build dependencies, which in this case is (at least) the package libx11-dev. apt-get build-dep libfltk1.3 will get you started.
