[Rpm-maint] nss3/nss.h build issue
Tomas Mraz
tmraz at redhat.com
Thu Dec 6 18:24:39 UTC 2007
On Thu, 2007-12-06 at 18:49 +0100, Pixel wrote:
> on Mandriva, i need to do:
>
> --- rpm-org/configure.ac.pix 2007-12-06 17:16:27.000000000 +0100
> +++ rpm-org/configure.ac 2007-12-06 17:17:38.000000000 +0100
> @@ -372,14 +372,14 @@ else
> fi
> save_CPPFLAGS="$CPPFLAGS"
> CPPFLAGS="$save_CPPFLAGS $addcppflags"
> -AC_CHECK_HEADER([nss3/nss.h], [
> +AC_CHECK_HEADER([nss/nss.h], [
> AC_CHECK_LIB(nss3, NSS_NoDB_Init, [
> AC_DEFINE(HAVE_LIBNSS, 1, [Define to 1 if you have the 'NSS' library (-lnss3).])
> WITH_NSS_INCLUDE="$addcppflags"
> WITH_NSS_LIB="$addlib"
> ])
> ],[
> - AC_MSG_ERROR([missing required header nss3/nss.h])
> + AC_MSG_ERROR([missing required header nss/nss.h])
> ])
> CPPFLAGS="$save_CPPFLAGS"
> AC_SUBST(WITH_NSS_INCLUDE)
Actually you can completely drop the path. So nss.h should be enough if
pkg-config works fine for NSS on Mandriva. Of course the defaults for
the compilation without pkg-config are wrong for your case.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
More information about the Rpm-maint
mailing list