[asterisk-bugs] [JIRA] (ASTERISK-25060) configure - libxml2 not found

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Dec 19 11:53:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-25060:
-----------------------------------

    Affects Version/s:     (was: 13.3.2)
                       13.18.4

> configure - libxml2 not found
> -----------------------------
>
>                 Key: ASTERISK-25060
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25060
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 13.18.4
>         Environment: Debian 7 i386
>            Reporter: Javier Sixto
>            Severity: Critical
>         Attachments: config.log
>
>
> Basically building asterisk 13, with libxml2(mandatory now)
> cd /home/javier/src/libxml2-2.9.2
> ./configure --without-zlib --with-pic --with-python=no --prefix=/tmp/usr
> make && make install
> cd /home/javier/src/asterisk-13.3.2
> ./configure --without-pri --disable-xmldoc --with-jansson=/tmp/usr --with-libxml2=/tmp/usr
>  make makeopts main/version.c include/asterisk/version.h include/asterisk/build.h include/asterisk/buildopts.h defaults.h makeopts.embed_rules
> checking for jansson.h... yes
> checking for xml2-config... /tmp/usr/bin/xml2-config
> configure: *** The Asterisk menuselect tool requires the 'libxml2' development package.
> configure: *** Please install the 'libxml2' development package.
> (wheezy-i386)javier at aureus:~/src/asterisk-13.3.2$ vim config.log 
> from config.log:
> ...
> LIBS=''
> LIBXML2_DIR='/tmp/usr'
> LIBXML2_INCLUDE='-I/tmp/usr/tmp/usr/include/libxml2'
> LIBXML2_LIB='-L/tmp/usr/tmp/usr/lib -lxml2 -lm -ldl'
> LIBXSLT_CLEANUP_DIR=''
> ...
> libxml2-config and libxmldir are concatenated at checking cflags...
> The prepend changes comes from this :
> https://github.com/asterisk/asterisk/commit/1a6db55404907b937fc2258b46ab3a7d08b732e6



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list