Unable to install "net/libexosip2"

Jerry jerry at seibercom.net
Wed Jun 4 12:07:09 UTC 2014


On Wed, 4 Jun 2014 16:53:25 +0600, Muhammad Moinur Rahman stated:

> Hi,
> 
> Can you please try deinstalling net/libosip2 and starting it from scratch
> again.
> 
> BR,
> Muhammad
 It failed. This is the output:

/usr/ports/net/libexosip2 # make deinstall && make reinstall && make clean 
===>  Deinstalling for net/libexosip2
===>   Deinstalling 
pkg-static: You are trying to delete package(s) which has dependencies that are still required:
net/libexosip2: net/linphone-base
... delete these packages anyway in forced mode
Deinstallation has been requested for the following 1 packages:

        libeXosip2-3.6.0

The deinstallation will free 613 KB
[1/1] Deleting libeXosip2-3.6.0...
libeXosip2-3.6.0 is required by: linphone-base-3.2.1_3,1, deleting anyway
 done
===>  License GPLv2 accepted by the user
===>   libeXosip2-4.1.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libeXosip2-4.1.0 for building
===>  Extracting for libeXosip2-4.1.0
=> SHA256 Checksum OK for libeXosip2-4.1.0.tar.gz.
===>  Patching for libeXosip2-4.1.0
===>   libeXosip2-4.1.0 depends on shared library: libosip2.so - found (/usr/local/lib/libosip2.so.9)
===>  Configuring for libeXosip2-4.1.0
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/libexosip2/work/libeXosip2-4.1.0/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/libexosip2/work/libeXosip2-4.1.0/aclocal.m4
configure: loading site script /usr/ports/Templates/config.site
configure: eXosip2                 The Extended Open SIP library.
configure: Copyright (C) 2002-2012 Aymeric MOIZARD - <amoizard at antisip.com>
Configuring libeXosip2 4.1.0
Building Package on freebsd
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.0 file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.0 ld.so
checking how to hardcode library paths into programs... immediate
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
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sem_open in -lposix4... no
checking for nis_add in -lnsl... no
checking for sendto in -lsocket... no
checking for clock_gettime in -lrt... yes
checking for res_query in -lresolv... no
checking for __res_query in -lresolv... no
checking for ares_init in -lcares... no
configure: WARNING: c-ares library is not installed
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OSIP... yes
checking whether -Wall works... yes
checking whether -Wcast-align works... yes
checking whether -Wchar-subscripts works... yes
checking whether -Wformat works... yes
checking whether -Winline works... yes
checking whether -Wmissing-declarations works... yes
checking whether -Wmissing-prototypes works... yes
checking whether -Wnested-externs works... yes
checking whether -Wpointer-arith works... yes
checking for ANSI C header files... (cached) yes
checking for ctype.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for sys/time.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for signal.h... (cached) yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking for malloc.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for fcntl.h... (cached) yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for netdb.h... (cached) yes
checking nameser8_compat.h usability... no
checking nameser8_compat.h presence... no
checking for nameser8_compat.h... no
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for resolv.h... (cached) yes
checking for getifaddrs... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_CTX_new in -lssl... yes
checking for X509_get_issuer_name in -lcrypto... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/Makefile
config.status: creating platform/Makefile
config.status: creating platform/vsnet/Makefile
config.status: creating include/Makefile
config.status: creating include/eXosip2/Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating help/Makefile
config.status: creating help/doxygen/Makefile
config.status: creating help/doxygen/doxygen.dox
config.status: creating exosip-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===>  Building for libeXosip2-4.1.0
/usr/bin/make  all-recursive
Making all in scripts
Making all in platform
Making all in vsnet
Making all in src
/bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I/usr/local/include -DOSIP_MT   -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -DSRV_RECORD -DENABLE_DEBUG -g -DENABLE_TRACE  -pipe -march=athlon64 -I/usr/local/include -L/usr/local/lib -fno-strict-aliasing  -D_THREAD_SAFE -pthread -pipe -march=athlon64 -I/usr/local/include -L/usr/local/lib -fno-strict-aliasing -MT eXosip.lo -MD -MP -MF .deps/eXosip.Tpo -c -o eXosip.lo eXosip.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I/usr/local/include -DOSIP_MT -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -DSRV_RECORD -DENABLE_DEBUG -g -DENABLE_TRACE -pipe -march=athlon64 -I/usr/local/include -L/usr/local/lib -fno-strict-aliasing -D_THREAD_SAFE -pthread -pipe -march=athlon64 -I/usr/local/include -L/usr/local/lib -fno-strict-aliasing -MT eXosip.lo -MD -MP -MF .deps/eXosip.Tpo -c eXosip.c  -fPIC -DPIC -o .libs/eXosip.o
cc: warning: argument unused during compilation: '-L/usr/local/lib'
cc: warning: argument unused during compilation: '-L/usr/local/lib'
In file included from eXosip.c:33:
In file included from ./eXosip2.h:144:
In file included from /usr/local/include/osip2/osip.h:37:
In file included from /usr/local/include/osipparser2/osip_parser.h:24:
In file included from /usr/local/include/osipparser2/osip_message.h:25:
In file included from /usr/local/include/osipparser2/osip_headers.h:25:
/usr/local/include/osipparser2/osip_port.h:93:10: fatal error: 'config.h' file not found
#include <config.h>
         ^
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/net/libexosip2/work/libeXosip2-4.1.0/src
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/net/libexosip2/work/libeXosip2-4.1.0
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/net/libexosip2/work/libeXosip2-4.1.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/libexosip2
*** Error code 1

-- 
jerry


More information about the freebsd-ports mailing list