Le 2017-01-18 00:48, William Pentney a écrit :
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,
Bill

You seems to be missing the X11 headers. On a debian (or related system) they are provided by the libx11-dev package.

Hope that helps.
Olivier


Reply via email to