Tried to install mutella-0.4.3rc1. Here are my ./configure
and make:
checking build system type... i386-unknown-freebsd4.6.2
checking host system type... i386-unknown-freebsd4.6.2
checking target system type... i386-unknown-
freebsd4.6.2
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for g++... g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking for extra includes... (none)
checking for extra libs... (none)
checking how to run the C++ preprocessor... g++ -E
checking for limits... no
checking how to run the C preprocessor... gcc -E
checking for working alloca.h... no
checking for alloca... yes
checking for nanosleep... yes
checking whether time.h and sys/time.h may both be
included... yes
checking for ANSI C header files... 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... no
checking for unistd.h... yes
checking whether nanosleep() is declared... no
checking for sys/poll.h... yes
checking for poll in -lpoll... no
checking for compress in -lz... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... no
checking for pthread_create with -pthreads... no
checking for pthread_create with -pthread in CFLAGS...
yes
checking for errno.h... yes
checking for termcap.h... yes
checking for term.h... yes
checking for termios.h... yes
checking for ncurses.h... yes
checking for curses.h... yes
checking for tcgetattr... yes
checking for readline/readline.h... yes
checking for readline in readline.h... yes
checking for rl_get_screen_size... no
checking "if term_help.c links with empty"... "yes"
checking for socket in libc... yes
checking for socklen_t... yes
checking for va_copy... no
checking for __va_copy... no
checking for pthread_condattr_init... yes
checking for pthread_condattr_destroy... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mutella/Makefile
config.status: creating mutella/docs/Makefile
config.status: creating mutella/docs/en/Makefile
config.status: creating share/Makefile
config.status: creating share/remote/Makefile
config.status: creating share/remote/template/Makefile
config.status: creating
share/remote/template/modules/Makefile
config.status: creating
share/remote/template/images/Makefile
config.status: creating man1/Makefile
config.status: creating config.h
config.status: config.h is unchanged
~/mutella-0.4.3rc1> make
cd . && CONFIG_FILES=
CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
Making all in mutella
Making all in docs
Making all in en
source='sha1thread.cpp' object='sha1thread.o'
libtool=no depfile='.deps/sha1thread.Po'
tmpdepfile='.deps/sha1thread.TPo'
depmode=gcc /bin/sh ../depcomp g++ -
DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -
D_REENTRANT -D_MIT_POSIX_THREADS -fno-
exceptions -fno-check-new -pthread -g -O0 -c -o
sha1thread.o `test -f sha1thread.cpp ||
echo './'`sha1thread.cpp
In file included from sha1thread.cpp:39:
xsleep.h:69: declaration of C function `int nanosleep
(timespec *, timespec *)' conflicts with
/usr/include/time.h:155: previous declaration `int
nanosleep(const timespec *, timespec *)' here
*** Error code 1
Stop in /home/noise/mutella-0.4.3rc1/mutella.
*** Error code 1
Stop in /home/noise/mutella-0.4.3rc1/mutella.
*** Error code 1
Stop in /home/noise/mutella-0.4.3rc1.
*** Error code 1
Stop in /home/noise/mutella-0.4.3rc1.
Logged In: YES
user_id=197451
This bug can be closed as the FreeBSD port covers version 0.4.5 and
compiles fine.