05401, 05403, 05446, 05462, 05482, 05673, 05701, 37signals, aardman animations, ac propulsion, adium, ads, aim, airport, al franken, apple, applescript, article id, asterisk, at&t, atom, automobile, away message, backpack, badge, basecamp, bash, bernie sanders, bicycling, billboard, blacklisting, blog, blogroll, blogzot, bluetooth, blunt, book, bot-net, brad bird, btv, bug, build, bungie, bunny, burlington, camping, can-spam, cars, centralized, channel camp, classic, classic mac workshop, cms, collection, color classic, comedy, comedy central, concert, conversion, cookbook, corrosion, crashing, creature comforts, criticism, daring fireball, darwin, dashboard, dcl, derbi, design, development, digg, dilemma, discussion, disney, download, drivers, dynetk, e-mail, e3, easter, ebox, eckhart, eckhart koppen, eddie izzard, edward gorey, einstein, electric motorcycle, electric motorsport, electric vehicle, electronics research laboratory, elmo, emate, emulator, environment, environmental impact, erin mckeown, escale, exploit, express 530t, expressionengine, feature, feed, feedburner, filtering, finance, firmware, flynn center, font, ford, for sale, free, freeverse, freezing, front row, games, gears of war, gmail, google, gpr, grant hutchinson, graylisting, halo, hayao miyazaki, higher ground, highrise, hiking, hiroshi noguchi, hotspot, hulu, humor, hybrid, hybrid technologies, intel, iphone, ipod touch, isao takahata, itunes, jabber, javascript, jetblue, jfk, jon stewart, kid koala, launchd, layover, leopard, liberal, long trail, mac, macbook pro, macworld, maczot, mail, makkintosshu, marathon, marketing, matthias melcher, media, mesagepad, messagepad, microbus, microsoft, mobileme, money, monitoring, moon river, motorola, movie, movies, mrtg, music, mwsf07, mystic, nascar, ncx, nda, newton, newton press, newtontalk, newton x press, nick park, npr, openpbx, open source, operation ivy, optimization, osheaga, osx, os x, owc, paul guyot, pbx, pdf, pico card, pixar, plist, plug-in, pod jungle, politics, psp, pump-and-dump, quicksilver, racism, rack-n-roll, ratatouille, rebooting, recycling, required reading, restoration, review, roadster, room without a window, rss, scion, screencast, script, security, server, sesame street, seven days, shame, shoppinging cart, simon bell, small dog electronics, snow leopard, social, software, solution, spam, spam haus, startup item, statistics, status, stefano paris, stephen colbert, steven colbert, steven frank, studio ghibli, subethaedit, subversion, sync, syndication, sysmon, tablet, tags, tax, technorati, tesla, tesla motors, textpattern, the colbert report, the daily show, the flaming lips, the gashleycrumb tinies, times argus, titles, todd kollins, tom gage, travel, trends, troubleshooting, twitter, typography, tzero, unicel, unna, update, upgrade, url title, user interface, v710, venue, verizon wireless, vermont, victor rehorst, volkswagen, volvo 122, vpr, vw, wait wait don't tell me, wall-e, wallace & gromit, wavelan, web, web 2.0, web site, whitepaper, wifi, wwdc, wwnc, xbox 360, xbox live, ze frank, zero emission
Articles Tagged "build":
Disclaimer
This cookbook is intended for those that are atleast slightly familiar with building and configuring unix applications on Mac OS X and Mac OS X Server. No support is offered and the author is not responsible for any lost data due to following these steps or mistakes made while attempting to follow these steps.
With that in mind, these steps did work for the author and will provide a quick copy & paste solution for those that don’t want to figure out all the steps themselves (although this is a really easy one).
Caveats
Unfortunately, the CLI is currently broken on Darwin/Mac OS X in OpenPBX RC2, so that reduces its overall functionality considerably.
OpenPBX RC2 also requires editline, so you’ll have to build that as well (see instructions below). RC3 and the current trunk in Subversion will use readline and so can be linked to version of readline included with Mac OS X.
Preparing the Build Environment
cd ~/Desktop
mkdir openpbx-build
cd openpbx-build
Building & Installing LibTIFF
curl -O ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.8.2.tar.gz
tar -xzf tiff-3.8.2.tar.gz
pushd pushd tiff-3.8.2
./configure --prefix=/usr/local
make
sudo make install
popd
Building & Installing SpanDSP
curl -O http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.3pre27.tgz
tar -xzf spandsp-0.0.3pre27.tgz
pushd spandsp-0.0.3
./configure --prefix=/usr/local
make
sudo make install
popd
Building & Installing Editline Library
curl -O http://www.thrysoee.dk/editline/libedit-20061022-2.9.tar.gz
tar -xzf libedit-20061022-2.9.tar.gz
pushd libedit-20061022-2.9
./configure --prefix=/usr/local
make
sudo make install
popd
Building & Installing OpenPBX
curl -O http://www.openpbx.org/openpbx.org-1.2_rc2.tar.gz
tar -xzf openpbx.org-1.2_rc2.tar.gz
pushd openpbx.org-1.2_rc2
./configure --enable-iax-trunking=yes --enable-t38=yes --prefix=/usr/local/openpbx
make
sudo make install
popd
Allowing Communication with the Outside World
Open the following ports in the firewall (via Server Admin.app):
- “iChat – Session Initiation Protocol” (UDP port 5060)
- “iChat – audio/video RTP & RCTP” (UDP ports 16384-16403)
- “IAX – Inter-Asterisk eXchange” (UDP port 4569; you’ll need to add this one to the list)
Reference
- http://www.openpbx.org/
- http://www.voip-info.org/wiki/index.php?page=OpenPBX.org
- http://www.voip-info.org/wiki/view/OpenPBX.org+How+to+build+on+OSX%252FDarwin
- http://wiki.openpbx.org/tiki-index.php?page=BuildNotes
- http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/additionalfeatures/chapter_10_section_9.html
- http://www.remotesensing.org/libtiff/
- http://www.soft-switch.org/downloads/spandsp/
- http://www.soft-switch.org/installing-spandsp.html
- http://lists.mactelephony.net/pipermail/mac-telephony-list/2006-December/000043.html
- http://www.thrysoee.dk/editline/
Download This Cookbook as Text:
Note: This cookbook is based on building Asterisk 1.2.10 on Mac OS X 10.4 (Tiger) Server somewhere as of August 15th, 2006. It should work for Tiger client as well, but I definitely won’t guarantee it.
Disclaimer
This cookbook is intended for those that are atleast slightly familiar with building and configuring unix applications on Mac OS X and Mac OS X Server. No support is offered and the author is not responsible for any lost data due to following these steps or mistakes made while attempting to follow these steps.
With that in mind, these steps did work for the author and will provide a quick copy & paste solution for those that don’t want to figure out all the steps themselves (although this is a really easy one).
Caveats
Although Asterisk compiles cleanly and functions pretty well on Mac OS X 10.4 Tiger (Client & Server), you will have to configure and administer it from using CLI as there is no easy-to-build GUI or web interface.
Also, due to a lack of support for Zaptel (and other) drivers and hence support for hardware PCI cards, some functionality that requires timing interrupts from PCI cards will not work properly (if at all). Including:
- IAX2 “Trunking”
- Music-on-Hold
- Conferencing using MeetMe
However, if you’re running a smaller Asterisk setup and don’t need conferencing or Music-on-Hold, then you should be fine and experience few issues.
The author suggests that you keep an eye on OpenPBX, which was forked from Asterisk 1.2, as it is being developed specifically to address these types of issues and promote platform neutrality.
Preparing the Build Environment
cd ~/Desktop
mkdir asterisk-build
cd asterisk-build
Building & Installing Asterisk 1.2
curl -O http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.10.tar.gz
tar -xzf asterisk-1.2.10.tar.gz
pushd asterisk-1.2.10
make clean
sudo make install
sudo make samples
popd
Allowing Communication with the Outside World
Open the following ports in the firewall (via Server Admin.app):
- “iChat – Session Initiation Protocol” (UDP port 5060)
- “iChat – audio/video RTP & RCTP” (UDP ports 16384-16403)
- “IAX – Inter-Asterisk eXchange” (UDP port 4569; you’ll need to add this one to the list)
Starting Asterisk
If not using a Startup Item, you can manually (or using your own scripts) run the following command to start the asterisk daemon:
sudo /usr/sbin/asterisk
Stopping Asterisk
If not using a Startup Item, you can use one of the following commands to manually shut down asterisk gracefully (see asterisk help for other less-than-graceful options):
sudo /usr/sbin/asterisk -rx 'stop when convenient'
sudo /usr/sbin/asterisk -rx 'stop gracefully'
Reference
- http://www.asterisk.org/downloads
- http://www.digium.com/en/docs/asterisk_handbook/downloading_compiling.html
- http://www.digium.com/en/supportcenter/documentation/viewdocs/asterisk_handbook
- http://www.voip-info.org/wiki/index.php?page=Asterisk
- http://www.asteriskguru.com/
Download This Cookbook as Text:
Cookbook – Asterisk 1.2 on Mac OS X 10.4 (Tiger) Server.txt – 2006-12-22
Cookbook: MRTG 2.14 on Mac OS X 10.4 (Tiger) ¬
2006-10-31
Note: This cookbook is based on building MRTG 2.14.7 on Mac OS X 10.4.8 (Tiger) client as of October 31st, 2006. It should work for Tiger Server as well, but you’ll want to check to see if libpng is pre-installed or not.
Disclaimer
This cookbook is intended for those that are atleast slightly familiar with building and configuring unix applications on Mac OS X and Mac OS X Server. No support is offered and the author is not responsible for any lost data due to following these steps or mistakes made while attempting to follow these steps.
With that in mind, these steps did work for the author and will provide a quick copy & paste solution for those that don’t want to waste ten minutes figuring out that the --without-fontconfig flag needs to be set when running configure for gd.
Reference
- http://oss.oetiker.ch/mrtg/
- http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
- http://www.libpng.org/pub/png/libpng.html
- http://www.boutell.com/gd/
- http://www.stepwise.com/Articles/Workbench/2001-11-13.01.html
Setting Up the Build Environment
cd ~/Desktop/
mkdir build-mrtg2
cd build-mrtg2
Building & Installing libpng
curl -O http://superb-east.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.bz2
md5 libng-1.2.12.tar.bz2
tar -xjf libpng-1.2.12.tar.bz2
pushd libpng-1.2.12
./configure
make check
sudo make install
popd
Building & Installing gd
curl -O http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
tar -xzf gd-2.0.33.tar.gz
pushd gd-2.0.33
./configure --without-freetype --without-jpeg --without-fontconfig
make check
sudo make install
popd
Building & Installing MRTG:
curl -O http://oss.oetiker.ch/mrtg/pub/mrtg-2.14.7.tar.gz
md5 mrtg-2.14.7.tar.gz
tar -xzf mrtg-2.14.7.tar.gz
pushd mrtg-2.14.7
./configure --prefix=/usr/local/mrtg-2
make
sudo make install
popd
Closing:
That’s it, you’re done. You can delete the ~/Desktop/build-mrtg2/ directory once you’re confident that MRTG is working as intended and you won’t have to rebuild any part of it.
Download This Cookbook as Text:
Cookbook – MRTG 2.14 on Mac OS X 10.4 (Tiger).txt – 2006-10-31

