I had a quick glance at this FTBFS, it seems to be a common issue when
kFreeBSD isn't recognized by upstream build system, see the configure.in
of pdnsd (1.2.8-par) source:
> if test "$target" = "autodetect" ; then
> AC_MSG_CHECKING([for autodetect build target])
> uname_sys=`uname`
> if test $? -ne 0 ; then
> AC_MSG_RESULT([failed])
> AC_MSG_ERROR([uname failed or was not found in path])
> else
> case "${uname_sys}" in
> Linux)
> AC_MSG_RESULT(Linux)
> AC_DEFINE(TARGET, TARGET_LINUX)
> target="Linux"
> ;;
> FreeBSD|NetBSD|OpenBSD|Darwin)
> AC_MSG_RESULT("${uname_sys}")
> AC_DEFINE(TARGET, TARGET_BSD)
> target="BSD"
> ;;
> CYGWIN*)
> AC_MSG_RESULT("${uname_sys}")
> AC_DEFINE(TARGET, TARGET_CYGWIN)
> target="cygwin"
> ;;
> *)
> AC_MSG_RESULT([failed])
> AC_MSG_ERROR(
> [Your system type could not be identified. Try setting it manually using
> --with-target])
> ;;
> esac
> fi
> fi
and
> dnl Checks for libraries.
> if test "$target" = "Linux"; then
> AC_CHECK_LIB(pthread, pthread_kill)
> fi
> if test "$target" = "BSD" -a `uname` != Darwin ; then
> # if test $freebsd_pthread = 4 ; then
> thread_CFLAGS="-pthread"
> AC_SUBST(thread_CFLAGS)
> # else
> # AC_CHECK_LIB(c_r, pthread_kill, ,
> # AC_MSG_ERROR([You must have libc_r installed to build/run pdnsd!]))
> # fi;
> fi
>
> if test "$target" = "Linux" -a "$threadlib" = default; then
> AC_MSG_CHECKING([if this is an NPTL-based system])
> old_LIBS="$LIBS"
> LIBS="$LIBS -lpthread"
> AC_RUN_IFELSE([
> [...]
Definitely, we need something for kFreeBSD here, to point to correct
pthread lib to it. I haven't tried to do that because I don't have
usable kFreeBSD installation (or VM) by hand.
--
Regards,
Aron Xu
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]