Not big changes between 4.x and 5.x here other than the tag and the default base being moved to /var/db (I think it was /usr in 4.x). Change the host to your preferred one.
This is right off my gateway running asterisk and zaptel from ports on a PRI line. with just the host changed and default compress added since you are on a slow connection. *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_5_3 *default delete use-rel-suffix *default compress src-all See also /usr/share/examples/cvsup/stable-supfile -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Graham S. Jarvis Sent: Wednesday, May 04, 2005 5:18 PM To: Asterisk on BSD discussion Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory > . . . do a cvsup of the kernel source to 5.3 to make sure its > complete and up to date with the release . . . Could someone post a reasonable cvsupfile for this please so that I can compare it with the one I used (from "The Complete FreeBSD" which is for 4.x) Thanks, -Graham- ----- Original Message ----- From: "Preston Garrison" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, May 05, 2005 1:02 AM Subject: RE: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory Unless your super low on space, its always easiest to do an X+SOURCE installation of freebsd. That way you know you have everything you need :) Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -----Original Message----- From: Chris St Denis <[EMAIL PROTECTED]> To: 'Asterisk on BSD discussion' <[email protected]> Sent: Wed, 4 May 2005 15:03:49 -0700 Subject: RE: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory If you tried a source install first you may have polluted your file system with some incomplete stuff causing problems and even if not, an incomplete port install may have done so. do a make clean of the asterisk port and a make deinstall of asterisk and all of its dependencies. then try installing from ports again. and like somebody else just suggested, make sure you have the kernel source -- also, do a cvsup of the kernel source to 5.3 to make sure its complete and up to date with the release (you said you updated ports, but didn't mention world source). A complete cvsup of ports may also help (you said you only did some) dependencies chain deep. If you don't want to do a full cvsup, do a good look at the dependencies listed in the make clean and make sure each of their trees are cvsuped -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Graham S. Jarvis Sent: Wednesday, May 04, 2005 1:36 PM To: Asterisk on BSD discussion Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory Hmm. I have the feeling that I'm coming full circle . . . . I tried the ports install of asterisk and it failed during making zaptel (os.h: No such file or directory) so I need to find out what the problem is with the zaptel in the ports and then asterisk is probably going to compile. Anyone out there with ideas? Thanks, -Graham- ----- Original Message ----- From: "Chris St Denis" <[EMAIL PROTECTED]> To: "'Asterisk on BSD discussion'" <[email protected]> Sent: Wednesday, May 04, 2005 10:01 PM Subject: RE: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory If you are trying to compile asterisk from source rather than the ports, I think you need to use gmake But either way, due to BSD drivers being different from Linux ones, zaptel MUST come from ports (or other bsd specific source) not the asterisk cvs. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Graham S. Jarvis Sent: Wednesday, May 04, 2005 12:48 PM To: Asterisk on BSD discussion Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory Pretty convincing argument when you put it that way ;-) So, I gave it a try. I took the suggestions from http://www.asteriskpbx.com/index.php?menu=download and cvsup'd into /usr/src There's something I don't know (or don't know that I should know) because: # cd zaptel # make clean "Makefile", line 44: Missing dependency operator "Makefile", line 47: Need an operator "Makefile", line 48: Missing dependency operator "Makefile", line 51: Need an operator "Makefile", line 54: Missing dependency operator "Makefile", line 56: Need an operator Error expanding embedded variable. # The same sort of problem with 'make asterisk' from /usr/src/asterisk > If you need libpri and zaptel, that needs to be installed from ports. Well, my other (original) posting shows the problems that I'm having with that (see Subject:) Any pointers? Thanks, -Graham- ----- Original Message ----- From: "Preston Garrison" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, May 04, 2005 7:58 PM Subject: RE: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileor directory It also means you have to wait for someone to update the ports tree, rather then just grabbing and installing the latest yourself. If a bug pops up it could be days or weeks b efore its integrated its fix into ports, if you know how to compile it yourself, as soon as someone fixes it in asterisk, you get the fix. Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -----Original Message----- From: Chris St Denis <[EMAIL PROTECTED]> To: 'Asterisk on BSD discussion' <[email protected]> Sent: Wed, 4 May 2005 10:44:30 -0700 Subject: RE: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch file or directory Ports is still better. It keeps the system more clean because it has built in uninstall support, keeps track of version tracking of the software and its dependencies, and can integrate with portaudit to keep track of security vulnerabilities. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Preston Garrison Sent: Wednesday, May 04, 2005 1:55 AM To: [email protected] Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch file or directory Reverse the order of that, but there is really no reason to use ports. Asterisk itself compiles fine on freebsd with no need for ports. Just grab stable from the CVS. If you need libpri and zaptel, that needs to be installed from ports. Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -----Original Message----- From: Graham S. Jarvis <[EMAIL PROTECTED]> To: Asterisk on BSD discussion <[email protected]> Sent: Wed, 4 May 2005 10:51:46 +0200 Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16: os.h: Nosuch file or directory I did what I was told on http://www.voip-info.org/tiki-index.php?page=Asterisk%20FreeBSD "...it is STRONGLY suggested that you install Asterisk from the FreeBSD ports or packages collection." I just ran 'make install'. Here's the Makefile (can I attach to the list?) I 'cvsup'd the ports collection before doing the make so it should be the latest. Thanks. ----- Original Message ----- From: "Preston Garrison" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, May 04, 2005 10:19 AM Subject: Re: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16: os.h: Nosuch file or directory did you install zaptel first? Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -----Original Message----- From: Graham S. Jarvis <[EMAIL PROTECTED]> To: [email protected] Sent: Wed, 4 May 2005 10:15:49 +0200 Subject: [Asterisk-bsd] /usr/local/include/zaptel.h:37:16: os.h: No such file or directory I have a problem with an asterisk-1.0.7 make on FreeBSD xxxxxxxxxx 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The FreeBSD is a new install from the FreeBSD Mall 5.3 disc I don't have more than DSL so I didn't want to update all the ports collection, so I updated these ports-base ports-audio ports-comms ports-databases ports-devel ports-lang ports-mail ports-misc ports-net (did I forget anything?) and I started the 'make install' from /usr/ports/net/asterisk After going through all the dependencies I get /usr/local/include/zaptel.h:37:16: os.h: No such file or directory and make exits. Any ideas? _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd

