Spoke to soon.<br>
<br>
Installing from the port seemed to work fine. But I then would up in an endless loop:<br>
<br>
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl:419: warning: right-hand operand of comma has no effect<br>
<br>
So I tried your advice. (with a -v so I could get more info):<br>
<br>
patrick# pkg_add -rv asterisk<br>
looking up <a href="http://ftp.freebsd.org">ftp.freebsd.org</a><br>
connecting to <a href="http://ftp.freebsd.org:21">ftp.freebsd.org:21</a><br>
setting passive mode<br>
opening data connection<br>
initiating transfer<br>
Error: FTP Unable to get
<a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/asterisk.tbz">ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/asterisk.tbz</a>:
File unavailable (e.g., file not found, no access)<br>
pkg_add: unable to fetch '<a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/asterisk.tbz">ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/asterisk.tbz</a>' by URL<br>
pkg_add: 1 package addition(s) failed<br>
patrick# <br>
<br>
Not sure where to go from here???<br>
<br>
help!<br>
<br>
<br>
bb<br>
<br>
<br>
<br>
<div><span class="gmail_quote">On 12/3/05, <b class="gmail_sendername">William Lloyd</b> <<a href="mailto:wlloyd@slap.net">wlloyd@slap.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>If you are having trouble with the ports why don;t you just try the<br>binary package. guaranteed to work.<br><br>pkg_add -r asterisk<br><br>-bill<br><br>On 3-Dec-05, at 10:41 PM, webmasterb wrote:<br><br>> Yea tried it with three different versions also,
1.0.6, 1.0.9, and<br>> 1.0.10<br>><br>> Don't go to sleep I have coffee right here! The good stuff too!<br>> Chock Full 'o Nuts!<br>><br>> It's the heavenly coffee!<br>><br>> Tried re-dling the 1.0.6
version, and things seem to be working .....<br>><br>> Until it tries to access mysql-4.0.24<br>><br>> So I manually fetched that file also!<br>><br>> Wham Bam! moves past that hurdle, and we're compiling away!
<br>><br>> Not finished yet but the current signs are quite encouraging. Not<br>> exactly sure why second attempt to install version 1.0.6 seems to<br>> work, but the first try would not.<br>><br>><br>> One to cup #4
<br>><br>> bb<br>><br>><br>> On 12/3/05, Bradley W. Dutton <<a href="mailto:brad-asteriskbsd@duttonbros.com">brad-asteriskbsd@duttonbros.com</a>><br>> wrote: > I'm NOT using FreeBSD 6.0!<br>> > I originally tried the install on
6.0 b4 I came across that info.<br>> > I am now tryin to install on FreeBSD 5.4-RELEASE.<br>><br>> Uh oops, I think I need some sleep.<br>><br>> ><br>> > As to my issue with installing from the ports collection, it
<br>> seems as<br>> > though<br>> > I can not retrieve the proper file. I guess I don't understand this<br>> > phrase correctly:<br>> ><br>> > Couldn't fetch it - please try to retrieve this
<br>> > port manually into /usr/ports/distfiles/ and try again.<br>> ><br>> > Which I interpreted as dl the file manually and place it in<br>> > /usr/ports/distfiles. Which I did. Then moved back to the
<br>> > /usr/ports/net/asterisk directory and proceded to make && make<br>> install<br>> > with<br>> > the same results as earlier -> Error Code 1<br>> ><br>> > (ugh)<br>> >
<br>> > What exactly does "port manually" mean to do???<br>><br>> Installing manually means exactly what you did, download the file,<br>> then<br>> put it into the /usr/ports/distfiles/ directory. Does the file you
<br>> downloaded have the same name, i.e. is it named asterisk-1.0.6.tar.gz?<br>><br>><br>> ><br>> ><br>> > On 12/3/05, Bradley W. Dutton < <a href="mailto:brad-asteriskbsd@duttonbros.com">brad-asteriskbsd@duttonbros.com
</a>><br>> wrote:<br>> >><br>> >><br>> >> In the "Warning" section on<br>> >> <a href="ttp://www.voip-info.org/wiki/index.php?page=FreeBSD+zaptel">ttp://www.voip-info.org/wiki/index.php?page=FreeBSD+zaptel
</a> it<br>> states<br>> >> FreeBSD 6 isn't supported yet. I'm eagerly waiting for 6.x<br>> support as<br>> >> well, I'd like to get my VOIP conference line running again.<br>> >><br>> >> And yes the port makes it much easier to install Asterisk on
<br>> FreeBSD:<br>> >> cd /usr/ports/net/asterisk; make && make install<br>> >><br>> >> If your ports only have Asterisk version 1.0.6 you should read the<br>> >> FreeBSD<br>
> >> handbook on how to update your ports files.<br>> >><br>> >><br>> >> > This page leads me to think they are supported for FreeBSD.<br>> >> ><br>> >> > <a href="http://www.voip-info.org/wiki/index.php?page=FreeBSD+zaptel">
http://www.voip-info.org/wiki/index.php?page=FreeBSD+zaptel</a><br>> >> ><br>> >> > But in doing further reading I found this sliver:<br>> >> ><br>> >> > <a href="http://www.voip-info.org/wiki-Asterisk+FreeBSD">
http://www.voip-info.org/wiki-Asterisk+FreeBSD</a><br>> >> ><br>> >> > "Asterisk 1.0.9 <<a href="http://www.freshports.org/net/asterisk/">http://www.freshports.org/net/asterisk/</a>> is now
<br>> >> available<br>> >> > via the ports or packages. The FreeBSD port automatically<br>> includes the<br>> >> > Zaptel driver, and H323 support. If you build the port from<br>> source,
<br>> >> you<br>> >> > can<br>> >> > use the WITHOUT_H323 and WITHOUT_ZAPTEL knobs to disable these<br>> >> things."<br>> >> ><br>> >> > Leading me to think maybe all I need to do is install asterisk
<br>> from<br>> >> the<br>> >> > ports collection?<br>> >> ><br>> >> > But when I initially tried that I could not fetch it correctly:<br>> >> ><br>> >> > patrick# make && make install
<br>> >> > ===> Vulnerability check disabled, database not found<br>> >> > => asterisk-1.0.6.tar.gz doesn't seem to exist in<br>> >> /usr/ports/distfiles/.<br>> >> > => Attempting to fetch from
<br>> >> > <a href="ftp://ftp.asterisk.org/pub/telephony/asterisk/">ftp://ftp.asterisk.org/pub/telephony/asterisk/</a>.<br>> >> > fetch:<br>> >> > <a href="ftp://ftp.asterisk.org/pub/telephony/asterisk/">
ftp://ftp.asterisk.org/pub/telephony/asterisk/</a><br>> asterisk-1.0.6.tar.gz:<br>> >> > No address record<br>> >> > => Attempting to fetch from<br>> >> > <a href="ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/">
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/</a>.<br>> >> > fetch:<br>> >> ><br>> >> <a href="ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/">ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
</a><br>> asterisk-1.0.6.tar.gz<br>> >> :<br>> >> > No address record<br>> >> > => Attempting to fetch from<br>> >> > <a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/">
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/</a>.<br>> >> > fetch:<br>> >> > <a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/">ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/</a>
<br>> asterisk-1.0.6.tar.gz :<br>> >> > File unavailable (e.g., file not found, no access)<br>> >> > => Couldn't fetch it - please try to retrieve this<br>> >> > => port manually into /usr/ports/distfiles/ and try again.
<br>> >> > *** Error code 1<br>> >> ><br>> >> > Stop in /usr/ports/net/asterisk.<br>> >> ><br>> >> > Ok let's try and use pkg_add:<br>> >> ><br>> >> > patrick# pkg_add -rv asterisk
<br>> >> > looking up <a href="http://ftp.freebsd.org">ftp.freebsd.org</a><br>> >> > connecting to <a href="http://ftp.freebsd.org:21">ftp.freebsd.org:21</a><br>> >> > setting passive mode
<br>> >> > opening data connection<br>> >> > initiating transfer<br>> >> > Error: FTP Unable to get<br>> >> ><br>> >> <a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-">
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-</a><br>> release/Latest/asterisk.tbz<br>> >> :<br>> >> > File unavailable (e.g., file not found, no access)<br>> >> > pkg_add: unable to fetch '
<br>> >> ><br>> >> <a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-">ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-</a><br>> release/Latest/asterisk.tbz'<br>> >> > by URL
<br>> >> > pkg_add: 1 package addition(s) failed<br>> >> ><br>> >> > Tried this to make sure pkg_add is not the problem:<br>> >> ><br>> >> > patrick# pkg_add -rv apache
<br>> >> ><br>> >> > Sure enough that worked ok and installed apache.<br>> >> ><br>> >> > I did notice that it seems to try and fetch an older version<br>> ( 1.0.6)<br>> >> than
<br>> >> > the one I tried to install from source (1.0.9). Maybe that has<br>> >> something<br>> >> > to<br>> >> > do with my issue? Possibly someone besides Alex will chime in.
<br>> >> ><br>> >> > I'll put on a pot of coffee.<br>> >> ><br>> >> > bb<br>> >> ><br>> >> ><br>> >> > On 12/3/05, Alex Ayala <<a href="mailto:alex@ayalanetworks.com">
alex@ayalanetworks.com</a> > wrote:<br>> >> >><br>> >> >> I believe there is not support for zaptel drivers on freebsd<br>> just<br>> >> yet.<br>> >> >> Maybe I'm wrong.
<br>> >> >><br>> >> >><br>> >> >> On 12/3/05 1:16 PM, "webmasterb" <<a href="mailto:webmasterb@gmail.com">webmasterb@gmail.com</a>> wrote:<br>> >> >>
<br>> >> >><br>> >> >> Hello fellow asteriskers (can i say that?)<br>> >> >><br>> >> >> My name is Brian. I'm looking to setup asterisk on a 1.1GB<br>> machine
<br>> >> with<br>> >> >> 256MB of RAM Using an X100P wildcard (clone? i ordered the<br>> devices on<br>> >> >> EBay).<br>> >> >> When up and running I would like to use this machine with my
<br>> Vonage<br>> >> VOIP<br>> >> >> connection. To support my young educational non-profit org -><br>> >> shameless<br>> >> >> plug<br>> >> >> <a href="http://www.parkday.org">
www.parkday.org</a> <<a href="http://www.parkday.org/">http://www.parkday.org/</a>> <http://<br>> <a href="http://www.parkday.org/">www.parkday.org/</a> > .<br>> >> >><br>> >> >> I have been reading about asterisk for about one month now. I
<br>> have<br>> >> >> purchased the O'reilly Book "Asterisk: The Future of<br>> Telephony" and<br>> >> have<br>> >> >> read about half of it.<br>> >> >>
<br>> >> >> First attempt at running asterisk on FreeBSD 6.0 RELEASE<br>> resulted in<br>> >> a<br>> >> >> core dump anytime I tried to run asterisk from the cmd line.<br>> Poking
<br>> >> >> around I<br>> >> >> read somewhere?? that asterisk is not quite ready for 6.0<br>> RELEASE<br>> >> just<br>> >> >> yet. Upon reading this I went and re-installed the OS with
<br>> version<br>> >> >> 5.4RELEASE.<br>> >> >><br>> >> >> First thing I did after re-installing my OS is re-copiled my<br>> kernel<br>> >> to<br>> >> >> remove all extraneous devices, everything is ok so far.
<br>> >> >><br>> >> >> Now I downloaded all the asterisk (main sounds addons) source<br>> code<br>> >> from<br>> >> >> digium ftp site placed them in /usr/src.<br>> >> >>
<br>> >> >> Then I went into the /usr/ports and installed bison gmake and<br>> libpri.<br>> >> >><br>> >> >> >From there went to the zaptel ports directory to install the
<br>> zaptel<br>> >> >> drivers from there... Here's where things start to get sticky?<br>> >> >><br>> >> >> patrick# make clean && make && make install<br>
> >> >><br>> >> >> install seemed to be completed ok<br>> >> >><br>> >> >> patrick# /usr/local/etc/rc.d/zaptel.sh start<br>> >> >> kldload: can't load %%PREFIX%%/lib/zaptel/zaptel
<br>> >> >> .ko: No such file or directory<br>> >> >><br>> >> >> Here's where I'm lost? On my first attempt using 6.0-RELEASE<br>> zaptel<br>> >> >> started up fine at boot time and even recognized both X100P
<br>> cards?<br>> >> >><br>> >> >> So I wondered . . . Do I need to install asterisk before I<br>> tried to<br>> >> run<br>> >> >> the zaptel drivers? So I went into /usr/src/asterisk-
1.0.10<br>> and ran:<br>> >> >><br>> >> >> patrick# gmake clean && gmake && gmake install<br>> >> >><br>> >> >> All seemed to go well there, So I ran:
<br>> >> >><br>> >> >> patrick# /usr/local/etc/rc.d/zaptel.sh start<br>> >> >><br>> >> >> Which resulted in the same error as before. So now I'm really<br>> >> stumped!
<br>> >> >><br>> >> >><br>> >> >> Any assistance with my conundrum would be greatly appreciated.<br>> >> >><br>> >> >><br>> >> >><br>
> >> >> Thanx<br>> >> >><br>> >> >> bb<br>> >> >><br>> >> >><br>> >> >> #-#-#-#-#<br>> >> >><br>> >> >>
<br>> >> >> ------------------------------<br>> >> >> _______________________________________________<br>> >> >> Asterisk-BSD mailing list<br>> >> >> <a href="mailto:Asterisk-BSD@lists.digium.com">
Asterisk-BSD@lists.digium.com</a><br>> >> >> <a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br>> >> >><br>> >> >>
<br>> >> >><br>> >> >> _______________________________________________<br>> >> >> Asterisk-BSD mailing list<br>> >> >> <a href="mailto:Asterisk-BSD@lists.digium.com">
Asterisk-BSD@lists.digium.com</a><br>> >> >> <a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br>> >> >><br>> >> >>
<br>> >> >><br>> >> ><br>> >> ><br>> >> > --<br>> >> > #-#-#-#-#<br>> >> ><br>> >> > <a href="mailto:webmasterb@gmail.com">webmasterb@gmail.com
</a><br>> >> > _______________________________________________<br>> >> > Asterisk-BSD mailing list<br>> >> > <a href="mailto:Asterisk-BSD@lists.digium.com">Asterisk-BSD@lists.digium.com
</a><br>> >> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br>> >> ><br>> >><br>> >><br>> >> _______________________________________________
<br>> >> Asterisk-BSD mailing list<br>> >> <a href="mailto:Asterisk-BSD@lists.digium.com">Asterisk-BSD@lists.digium.com</a><br>> >> <a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">
http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br>> >><br>> ><br>> ><br>> ><br>> > --<br>> > #-#-#-#-#<br>> ><br>> > <a href="mailto:webmasterb@gmail.com">webmasterb@gmail.com
</a><br>> ><br>><br>><br>> _______________________________________________<br>> Asterisk-BSD mailing list<br>> <a href="mailto:Asterisk-BSD@lists.digium.com">Asterisk-BSD@lists.digium.com</a><br>>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br>><br>><br>><br>> --<br>> #-#-#-#-#<br>><br>> <a href="mailto:webmasterb@gmail.com">
webmasterb@gmail.com</a><br>> _______________________________________________<br>> Asterisk-BSD mailing list<br>> <a href="mailto:Asterisk-BSD@lists.digium.com">Asterisk-BSD@lists.digium.com</a><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">
http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br><br>_______________________________________________<br>Asterisk-BSD mailing list<br><a href="mailto:Asterisk-BSD@lists.digium.com">Asterisk-BSD@lists.digium.com
</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-bsd">http://lists.digium.com/mailman/listinfo/asterisk-bsd</a><br></blockquote></div><br><br clear="all"><br>-- <br>#-#-#-#-#<br><br><a href="mailto:webmasterb@gmail.com">
webmasterb@gmail.com</a>