All pastes #2015142 Raw Edit

building torsocks fails

public text v1 · immutable
#2015142 ·published 2010-12-09 22:07 UTC
rendered paste body
$ git clone git://git.torproject.org/git/torsocks
Cloning into torsocks...
remote: Counting objects: 657, done.
remote: Compressing objects: 100% (173/173), done.
remote: Total 657 (delta 519), reused 600 (delta 481)
Receiving objects: 100% (657/657), 685.52 KiB | 83 KiB/s, done.
Resolving deltas: 100% (519/519), done.
[f@localhost ~]$ cd torsocks/
[f@localhost torsocks]$ make -f Makefile.cvs
aclocal
autoheader
automake
autoconf

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking if the C compiler accepts -Wall... 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 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for unistd.h... (cached) yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strtol... yes
checking for mmap... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strtol... (cached) yes
checking for connect in -l"c"... yes
checking for socket... yes
checking for inet_aton... yes
checking for gethostbyname... yes
checking for dlsym in -ldl... yes
checking for res_query... no
checking for res_query in -lresolv... no
checking for res_query in -lresolv (alternate version)... yes
checking for RTLD_NEXT from dlfcn.h... no
checking for RTLD_NEXT from dlfcn.h with _GNU_SOURCE... yes
checking for correct select prototype... select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
checking for correct connect prototype... connect(int __fd, const struct sockaddr * __addr, socklen_t __len)
checking for correct close prototype... close(int fd)
checking for correct res_querydomain prototype... res_querydomain(const char *name, const char *domain, int class, int type, unsigned char *answer, int anslen)
checking for correct res_send prototype... res_send(const unsigned char *msg, int msglen, unsigned char *answer, int anslen)
checking for correct res_search prototype... res_search(const char *dname, int class, int type, unsigned char *answer, int anslen)
checking for correct res_query prototype... res_query(const char *dname, int class, int type, unsigned char *answer, int anslen)
checking for correct getpeername prototype... getpeername(int __fd, struct sockaddr * __name, socklen_t *__namelen)
checking for correct poll prototype... poll(struct pollfd *ufds, unsigned long nfds, int timeout)
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating ./config.status
config.status: creating src/usewithtor
config.status: creating src/torsocks
config.status: creating src/torsocks.conf.5
config.status: creating src/torsocks.8
config.status: creating src/usewithtor.1
config.status: creating src/torsocks.1
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[f@localhost torsocks]$ su -c "make install " 
Password: 
Making install in src
make[1]: Entering directory `/home/f/torsocks/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -MT tsocks.lo -MD -MP -MF .deps/tsocks.Tpo -c -o tsocks.lo tsocks.c
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.2.10.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make[1]: *** [tsocks.lo] Error 63
make[1]: Leaving directory `/home/f/torsocks/src'
make: *** [install-recursive] Error 1