<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everyone, I want to install asterisk from ports
on FreeBSD 5.4, but there is an error when it try to compile pwlib:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/usr/ports/net/asterisk<BR>BSD5# make
install<BR>===> asterisk-1.0.9_1 depends on executable: mpg123 -
found<BR>===> asterisk-1.0.9_1 depends on file: /nonexistent -
not found<BR>===> Verifying build for /nonexistent in
/usr/ports/devel/pwlib<BR>===> Building for pwlib-1.5.2,1<BR>gmake
P_SHAREDLIB=0 opt<BR>gmake[1]: Entering directory
`/usr/ports/devel/pwlib/work/pwlib'<BR>set -e; gmake -C src/ptlib/unix opt;
gmake -C tools/asnparser opt;<BR>gmake[2]: Entering directory
`/usr/ports/devel/pwlib/work/pwlib/src/ptlib/unix'<BR>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<BR>../../ptclib/http.cxx:592:
error: prototype for `void PURL::Parse(const char*, const char*)' does not match
any in class `PURL'<BR>/usr/local/include/ptclib/url.h:194: error: candidates
are: BOOL PURL::Parse(const PString&, const
char*)<BR>/usr/local/include/ptclib/url.h:189:
error:
BOOL PURL::Parse(const char*, const char*)<BR>../../ptclib/http.cxx:592: error:
`void PURL::Parse(const char*, const char*)' and `BOOL PURL::Parse(const char*,
const char*)' cannot be overloaded<BR>gmake[2]: ***
[/usr/ports/devel/pwlib/work/pwlib/lib/obj_FreeBSD_x86_r/http.o] Error
1<BR>gmake[2]: Leaving directory
`/usr/ports/devel/pwlib/work/pwlib/src/ptlib/unix'<BR>gmake[1]: *** [opt] Error
2<BR>gmake[1]: Leaving directory `/usr/ports/devel/pwlib/work/pwlib'<BR>gmake:
*** [optnoshared] Error 2<BR>*** Error code 2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Stop in /usr/ports/devel/pwlib.<BR>*** Error code
1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Stop in /usr/ports/net/asterisk.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can you help me?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Diego</FONT></DIV></BODY></HTML>