[Asterisk-bsd] asterisk port pwlib problem

Diego Valencia dvalencia at powervt.com.ar
Wed Aug 3 15:56:21 CDT 2005


Hi everyone, I want to install asterisk from ports on FreeBSD 5.4, but there is an error when it try to compile pwlib:

/usr/ports/net/asterisk
BSD5# make install
===>   asterisk-1.0.9_1 depends on executable: mpg123 - found
===>   asterisk-1.0.9_1 depends on file: /nonexistent - not found
===>    Verifying build for /nonexistent in /usr/ports/devel/pwlib
===>  Building for pwlib-1.5.2,1
gmake P_SHAREDLIB=0 opt
gmake[1]: Entering directory `/usr/ports/devel/pwlib/work/pwlib'
set -e; gmake -C src/ptlib/unix opt; gmake -C tools/asnparser opt;
gmake[2]: Entering directory `/usr/ports/devel/pwlib/work/pwlib/src/ptlib/unix'
c++ -DP_FREEBSD=504000 -D_REENTRANT -I/usr/local/include -I/usr/local/include -Wall  -DP_FREEBSD=504000 -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/usr/ports/devel/pwlib/work/pwlib/include -DNDEBUG -O -pipe  -DPTRACING=1 -x c++ -c ../../ptclib/http.cxx -o /usr/ports/devel/pwlib/work/pwlib/lib/obj_FreeBSD_x86_r/http.o
../../ptclib/http.cxx:592: error: prototype for `void PURL::Parse(const char*, const char*)' does not match any in class `PURL'
/usr/local/include/ptclib/url.h:194: error: candidates are: BOOL PURL::Parse(const PString&, const char*)
/usr/local/include/ptclib/url.h:189: error:                 BOOL PURL::Parse(const char*, const char*)
../../ptclib/http.cxx:592: error: `void PURL::Parse(const char*, const char*)' and `BOOL PURL::Parse(const char*, const char*)' cannot be overloaded
gmake[2]: *** [/usr/ports/devel/pwlib/work/pwlib/lib/obj_FreeBSD_x86_r/http.o] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/pwlib/work/pwlib/src/ptlib/unix'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/pwlib/work/pwlib'
gmake: *** [optnoshared] Error 2
*** Error code 2

Stop in /usr/ports/devel/pwlib.
*** Error code 1

Stop in /usr/ports/net/asterisk.


Can you help me?

Thanks!

Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20050803/ddbbbd7a/attachment.htm


More information about the Asterisk-BSD mailing list