Click the box titles below to expand:
How to's
XSLT
GOOGLE MAPS API
PHP
- PHP & Web Services — using SOAP to get meteorological data for a location
- PHP and Flickr accessing online photos through the phpFlickr class
Antelope
- Github, Git & contrib
- Antelope & Using amakelocal
- Antelope & Matlab time conversion
- Create an Antelope Mail Archive
- Adding new projects to the Antelope contrib area using CVS
Perl
Document Object Model (DOM)
UNIX
- Convert GE KML files for use with GMT
- Various snippets that make my life easier
- Using Subversion to version control web sites
Generic Mapping Tools (GMT)
Miscellaneous
Projects
Courses Taught
Latest Favorites
- Best of Vim tips
- Make your pages load faster by combining and compressing javascript and css files
- Creating Liquid Faux Columns
- Setting up SSL under Apache 2 on SuSE
- PHP editing with ViM
- Getting equal-height columns in a three-column layout
- Star html Selector Bug
- Reset MySQL root account permissions
- How to write UNIX man pages
- Son of Suckerfish Dropdowns
- Aidan's PHP Repository
- Adium IM client
- ShapeShifter
- Install wiki on an iBook
- Quirksmode
- PHP
- GD
- JpGraph
- Vim Text Editor
- Generic Mapping Tools (GMT)
Mac OS X
Web Development
Beta
How To :: Antelope – The abridged amakelocal guide
This is the hacked guide to getting amakelocal configured on your Mac to allow you to compile the PHP and Python extensions for Antelope.
If you have tried to make install some contributed code and got errors like the following:
amakelocal: *********** Required macro 'PYTHONINCLUDE' is undefined. Cancelling compilation in current subdirectory '/path/to/sandbox/contrib/data/python/datascope' Use amakelocal(1) to configure your local system. ***********
then this guide is for you!
Keywords Antelope Datascope Orb stock Matlab PHP Python Make install
- Make sure you have your Antelope environment sourced
- Go to the default parameter file directory and copy amakelocal_proto.pf to amakelocal.pf
- Modify the variables in amakelocal.pf for the parameters on your system
- Run amakelocal on your system to create the antelope make file. It shouldn't matter where you run this – it will put the make file in the correct location ($ANTELOPE/include/antelopemake.local) provided you have your $ANTELOPE variable defined.
- Go to the contributed directory that you want to build the software for and make clean, make Include (the uppercase 'I' is important), then make install.
- That's it! Test it out by checking a man page from some of the software you just installed:
echo $ANTELOPE /opt/antelope/4.11
cp amakelocal_proto.pf amakelocal.pf
antelope &env(ANTELOPE)
dest &antelope/include
output_file antelopemake.local
elements &Arr{
XMOTIFLIB &Arr{
Darwin
}
XMOTIFINCLUDE &Arr{
Darwin
}
PYTHONINCLUDE &Arr{
Darwin /usr/include/python2.5
}
PHP_INC &Arr{
Darwin /usr/include/php
}
}
header &Literal{
# DO NOT MODIFY -- Automatically generated file -- DO NOT MODIFY
#
# This file has been automatically generated by the amakelocal(1) program
# from the amakelocal.pf parameter file (or the default amakelocal_proto.pf
# parameter file if the former is not present). Customize amakelocal.pf for
# your location and re-run amakelocal(1) to regenerate antelopemake.local
# if necessary. See the amakelocal(1) man page for further details.
}
pf_revision_time 1226952887
amakelocal -i
cd /path/to/sandbox/contrib/data/python make clean make Include make install
man pythondb
Thanks to Geoff Davis for walking me through this.