[ADMB Users] ADMB-IDE for Linux and Mac OS

Tom Wainwright Thomas.Wainwright at noaa.gov
Fri Feb 18 09:34:59 PST 2011


Arni,

The standard way to install source packages in Linux (and other unixen, 
including the MacOS shell) is the 'configure'-'make' combination, which allows a 
user to do three steps:  unpack the archive, run 'configure' (which checks 
dependencies, sets paths, etc.) from the package directory, then (after 
installing any missing dependencies and iterating a few times) run 'make'. 
However, 'configure' is a bit of a pain to get working right for multiple OS 
versions, so a 'bash' install script might be easier.  (Sorry, but I don't use 
ADMB enough these days to justify the time to help with writing and testing 
this, hopefully, somebody else on the list is knowlegeable in *nix programming.)

One warning about your instructions:  Step 2 (copy .emacs file) could be 
considered rude, as most Linux programmers already have their own localized 
.emacs file, and would complain loudly if an installer overwrites it.  Need to 
check if a .emacs file exists, and if so add the ADMB-specific code to the end 
of it, with appropriate comments about where the lines came from.  Also need to 
be sure that your code doesn't change any standard emacs settings, to make sure 
it plays nicely with a regular emacs user's keybindings, etc.

Good luck!

	Tom Wainwright

On 02/18/2011 01:38 AM, Arni Magnusson wrote:
> As I have tagged admb-ide-450-1.zip as a package for all operating systems, I'm
> wondering if anyone knows how ADMB-IDE could be properly packaged for Linux and
> Mac OS.
>
> ---
>
> The setup procedure for ADMB-IDE in Linux and Mac OS is very simple:
>
> 1. Require ADMB, Emacs, GCC, GDB.
>
> 2. Copy .emacs (http://admb-project.org/community/editing-tools/admb-ide/core)
> to the HOME directory.
>
> 3. Copy admb.el (http://admb-project.org/community/editing-tools/emacs/admb.el)
> to some directory where Emacs can find it.
>
> That's it, really. Things that users might appreciate include:
>
> 4. Copy the manuals
> (http://admb-project.org/documentation/manuals/admb-user-manuals) and NEWS
> (http://admb-project.googlecode.com/files/admb-ide-450-1.zip) to some directory
> where the user can find them.
>
> 5. Create desktop or menu shortcut to start ADMB-IDE using the green ADMB icon
> (http://admb-project.googlecode.com/files/admb-ide-450-1.zip). Maybe also
> shortcuts to the manuals.
>
> 6. Associate ADMB files (cor, ctl, dat, par, pin, psv, rep, std, tpl) so that
> they open in ADMB-IDE when double-clicked in a file manager.
>
> ---
>
> These are all relatively simple tasks, but I think many Linux and Mac OS users
> would appreciate some automated way. Call it a package, installer, script,
> whatever. The crucial steps are 2 and 3, the rest are optional.
>
> Any ideas?
>
> Arni
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>

-- 
Tom Wainwright
NOAA Northwest Fisheries Science Center
Newport, Oregon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The contents of this message are mine personally and do not necessarily
reflect any position of the Government or the National Oceanic and
Atmospheric Administration.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Users mailing list