Download Bison 1.75 - Download link Open a new shell window in Terminal Assuming your bison package was downloaded and extracted to a folder named Downloads inside your home folder, do the following... cd ~/Downloads/bison-1.75 ./configure (or "./configure --prefix=/usr" ... see below) make sudo make install Verify the installation with the following command ... bison --version it should show something like "bison (GNU Bison) 1.75" If you dont get the right version, it means that your path probably includes /usr/bin before /usr/local/bin, and you are getting the (older) version that is in /usr/bin. You can avoid this by using the "--prefix" option to configure (above) and it will replace your older version of bison in /usr/bin/bison. You are now ready to build Asterisk following the instructions on the Asterisk download page. This no longer goes anywhere pertinent, someone needs to fix it.
In the meantime, I found these:
There are two methods through which software can be started automatically during system startup:
Startup Items (available on MacOS X versions 10.2, 10.3 and 10.4) Launchd Service (available on MacOS X version 10.4 only)
When using the Asterisk build and/or Asterisk Launcher from Sunrise Ltd., a startup item for Asterisk will automatically be installed and it can be enabled and disabled using Asterisk Launcher. Since these tools are meant to work at least on the current and the previous MacOS X version, launchd will not be used before the release of MacOS X 10.5.
On Mac OS X 10.4 and later, you may manually install a launchd service to start Asterisk. To do this, put the text below in a file called /Library/LaunchDaemons/org.asterisk.asterisk.plist, create a user and group called asterisk (if you don't do this, Asterisk is running as root; this is undesirable because a bug in Asterisk could then provide hackers with root access to your machine), then do the following $ sudo launchctl launchd% load /Library/LaunchDaemons launchd% start org.asterisk.asteriskat a Terminal prompt.
It it also sometimes useful to configure things so that the Asterisk console is redirected using screen; to do that, create a file called screenrc in some directory on your system (in this example, we put it in /usr/local/asterisk/etc/screenrc, but you can put it in any convenient location). Then in the file, write the following:
## screenrc file used for Asterisk console## Screen sizeheight 60 80# Enable multi-user modemultiuser on# List all the users who should have access to the console hereacladd barneyacladd jeffacladd joeNext, alter the asterisk.plist file by changing the ProgramArguments section to read
No comments:
Post a Comment