#337 Debian dependency is missing libpcre3-dev

1.6.x
closed-fixed
packaging (10)
5
2011-01-04
2011-01-02
Alex Massover
No

Hi,

"make deb" compilation fails in regex module if libpcre3-dev is not installed, but it's not listed in dependencies.

Discussion

  • Hi Alex,

    with 1.6.4, the dialplan module is not compiled and added to the "opensips" main deb package (see Makefile, the exclude_module list).

    Also, for the opensips-dialplan module, the libpcre is added as dep (see packages/debian/control file):

    Package: opensips-dialplan-module
    Architecture: any
    Depends: ${shlibs:Depends}, opensips (= ${binary:Version}), libpcre3-dev

    Could you upload the full output of "make deb" ?

    Regards,
    Bogdan

     
    • assigned_to: nobody --> bogdan_iancu
     
  • Alex Massover
    Alex Massover
    2011-01-03

    make deb output

     
    Attachments
  • Alex Massover
    Alex Massover
    2011-01-03

    It's inside regex module:

    Compiling regex_mod.c
    gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"regex"' -DNAME='"opensips"' -DVERSION='"1.6.4-notls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.4.5"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/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 -I/usr/include -I/usr/sfw/include -I/usr/local/include -I/opt/csw/include -I/usr/local/include -c regex_mod.c -o regex_mod.o
    regex_mod.c:41:18: error: pcre.h: No such file or directory

     
    • status: open --> closed-fixed
     
  • Hi Alex,

    the problem was fixed by Marc LEURENT's patch (id 3150424).

    Best regards,
    Bogdan