Hi
I have Problem:
When I try to Build libdect:
root@debian:~/dect/libdect# ~~~~~~~~~~ bash: ~~~~~~~~~~: command not found root@debian:~/dect/libdect# ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed configure: Documentation build disabled checking for nl_socket_alloc in -lnl... yes checking for nl_dect_cluster_alloc in -lnl-dect... yes checking for event_init in -lev... yes checking for bfd_init in -lbfd... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether to enable assertions... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for linux/dect.h... yes checking for linux/dect_netlink.h... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking checking whether event.h is compatible with libev... configure: error: incompatible event.h header for libev root@debian:~/dect/libdect#
On Thu, 20 Sep 2012, Blago Blagoev wrote:
Hi
I have Problem:
When I try to Build libdect:
root@debian:~/dect/libdect# ~~~~~~~~~~ bash: ~~~~~~~~~~: command not found root@debian:~/dect/libdect# ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed configure: Documentation build disabled checking for nl_socket_alloc in -lnl... yes checking for nl_dect_cluster_alloc in -lnl-dect... yes checking for event_init in -lev... yes checking for bfd_init in -lbfd... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether to enable assertions... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for linux/dect.h... yes checking for linux/dect_netlink.h... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking checking whether event.h is compatible with libev... configure: error: incompatible event.h header for libev root@debian:~/dect/libdect#
IIRC this means you have either libev but the libevent headers installed or the other way around, not sure anymore. Please check which of the libev* packages you have installed.
2012/9/20 Patrick McHardy kaber@trash.net
On Thu, 20 Sep 2012, Blago Blagoev wrote:
Hi
I have Problem:
When I try to Build libdect:
root@debian:~/dect/libdect# ~~~~~~~~~~ bash: ~~~~~~~~~~: command not found root@debian:~/dect/libdect# ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed configure: Documentation build disabled checking for nl_socket_alloc in -lnl... yes checking for nl_dect_cluster_alloc in -lnl-dect... yes checking for event_init in -lev... yes checking for bfd_init in -lbfd... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether to enable assertions... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for linux/dect.h... yes checking for linux/dect_netlink.h... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking checking whether event.h is compatible with libev... configure: error: incompatible event.h header for libev root@debian:~/dect/libdect#
IIRC this means you have either libev but the libevent headers installed or the other way around, not sure anymore. Please check which of the libev* packages you have installed.
root@debian:~/dect/libdect# dpkg --get-selections | grep libev libev-dev install libev3 install libevent-1.4-2 install libevent-core-1.4-2 install libevent-dev install libevent-extra-1.4-2 install root@debian:~/dect/libdect#
IIRC this means you have either libev but the libevent headers installed
or the other way around, not sure anymore. Please check which of the
libev* packages you have installed.
root@debian:~/dect/libdect# dpkg --get-selections | grep libev libev-dev install libev3 install libevent-1.4-2 install libevent-core-1.4-2 install libevent-dev install libevent-extra-1.4-2 install root@debian:~/dect/libdect#
Fixed by install libev-libevent-dev package