Re: [Evolution] help with flatpack install



On Fri, 2018-06-08 at 14:41 +0100, Richard wrote:
richard@richard-Inspiron-N5030 ~ $ ls -ls /usr/include/nspr
total 512
  4 drwxr-xr-x 2 root root  4096 Jun  8 14:03 md
  4 -rw-r--r-- 1 root root  1016 Oct 20  2016 nspr.h


I've tried adding that path to -DWITH_NSPR_INCLUDES=
and its not playing 

        Hi,
as long as the path is /usr/include/nspr/nspr.h, the argument to CMake
should be all directories down to the file, thus:
   -DWITH_NSPR_INCLUDES=/usr/include/nspr/
Though I'm surprised your distro doesn't provide pkg-config files for
nss/nspr. That's the easiest way to get the build flags right. To check
you've installed also the pkg-config files run:
   $ pkg-config --modversion nss
   $ pkg-config --modversion nspr
where both should return some version number. You do not need (and
should not) pass any -DWITH_NSPR_.../-DWINTH_NSS_... when
the pkg-config files are available.

I also tried this path which is from the flatpack build , 
-DWITH_NSPR_INCLUDES=/var/lib/flatpak/runtime/org.gnome.Sdk/x86_64/3.
26/e05fa500f5565addbe14c708449e4175fc4d80c8c1ed0af3e7322c79163fb9dd/f
iles/include/

Do you mean that that .../files/include/ contains nspr.h too? I mean
really that directory, not its subdirectories.
        Bye,
        Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]