[OpenSIPS-Users] Problems Compiling Opensips 1.6.3

Ross Beer beer.ross at googlemail.com
Tue Aug 3 11:32:39 CEST 2010


Hi All,

Thank you for your fast responses, it is much appreciated.

apt-get install libpcre3-dev

Solved the problem! Thank you Benis Putyato!

Ross

On 3 August 2010 10:11, Denis Putyato <denis7979 at mail.ru> wrote:
> apt-get install libpcre3-dev will help you
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Ross Beer
> Sent: Tuesday, August 03, 2010 1:01 PM
> To: users at lists.opensips.org
> Subject: [OpenSIPS-Users] Problems Compiling Opensips 1.6.3
>
> Hi All,
>
> I've been trying to install OpenSIPS 1.6.3 and it fails with an error
> in the  dialplan module. I'm installing it on Debian and previous
> versions have installed without issue.
>
> The error below looks like a code issue. Can anyone offer any assistance here?
>
> ----------------------------------------------------------------------------
> make[1]: Entering directory `/root/OpenSIPS/opensips-1.6.3-tls/modules/dialplan'
> Compiling dialplan.c
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
> -DMOD_NAME='"dialplan"'    -DNAME='"opensips"'
> -DVERSION='"1.6.3-notls"' -DARCH='"x86_64"' -DOS='"linux"'
> -DCOMPILER='"gcc 4.4.4"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes
> -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM
> -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
> -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
> -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
> -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
> -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c dialplan.c
> -o dialplan.o
> In file included from dialplan.c:44:
> dialplan.h:35:18: error: pcre.h: No such file or directory
> In file included from dialplan.c:44:
> dialplan.h:46: error: expected specifier-qualifier-list before 'pcre'
> dialplan.h:91: error: expected declaration specifiers or '...' before 'pcre'
> dialplan.h:101: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> dialplan.h:102: error: expected ')' before '*' token
> dialplan.c:630: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> dialplan.c:658: error: expected ')' before '*' token
> make[1]: *** [dialplan.o] Error 1
> make[1]: Leaving directory `/root/OpenSIPS/opensips-1.6.3-tls/modules/dialplan'
> make: *** [modules] Error 2
> ----------------------------------------------------------------------------
>
> Thanks,
>
> Ross
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list