[Asterisk-bsd] /usr/local/include/zaptel.h:37:16:os.h: Nosuch fileordirectory

Preston Garrison preston at mailblocks.com
Wed May 4 18:02:45 CDT 2005


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 <chris at aebc.com>
To: 'Asterisk on BSD discussion' <asterisk-bsd at lists.digium.com>
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: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com]On 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" <chris at aebc.com>
To: "'Asterisk on BSD discussion'" <asterisk-bsd at lists.digium.com>
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: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com]On 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" <preston at mailblocks.com>
To: <asterisk-bsd at lists.digium.com>
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 <chris at aebc.com>
To: 'Asterisk on BSD discussion' <asterisk-bsd at lists.digium.com>
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: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com]On Behalf Of Preston
Garrison
Sent: Wednesday, May 04, 2005 1:55 AM
To: asterisk-bsd at lists.digium.com
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 <gsjarvis at adsoft.lu>
To: Asterisk on BSD discussion <asterisk-bsd at lists.digium.com>
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" <preston at mailblocks.com>
To: <asterisk-bsd at lists.digium.com>
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 <gsjarvis at adsoft.lu>
To: asterisk-bsd at lists.digium.com
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     root at harlow.cse.buffalo.edu:/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
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list