<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom's 2nd paragraph raise some interesting questions. Or rather,
questions that are interesting for the small subset of people on
this list who use emacs and really boring for everyone else. <br>
<br>
Arni has made great strides in adapting emacs for folks who've never
used it or ADMB before. I've seen students install the ADMB-IDE and
be happily editing and compiling TPL files within minutes. However,
for people who already use emacs, Tom's suggestion of copying
ADMB-specific code into one's own configuration file is likely
preferable. That's what I did. Yet most of us who already use emacs
will have no trouble with the few steps required for manual
installation so we're not the target audience. <br>
<br>
Assuming the day will come where we have ADMB as a .deb package, as
GCC and Emacs already are, then it seems possible that installing
the IDE for some linux users would just require configuring Emacs to
utilize these tools correctly.<br>
<br>
By the way, Arni, you might do <a
href="http://groups.google.com/group/admb-users/browse_thread/thread/dd66a64677138e9e/57a313b714581f72?lnk=gst&q=mac+virtual+box#57a313b714581f72">what
Dave Fournier did</a>, which was setup Mac OS X using Virtual Box
for $29.<br>
-Ian<br>
<br>
On 2/18/2011 9:34 AM, Tom Wainwright wrote:
<blockquote cite="mid:4D5EADC3.2070405@noaa.gov" type="cite">Arni,
<br>
<br>
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.)
<br>
<br>
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.
<br>
<br>
Good luck!
<br>
<br>
Tom Wainwright
<br>
<br>
On 02/18/2011 01:38 AM, Arni Magnusson wrote:
<br>
<blockquote type="cite">As I have tagged admb-ide-450-1.zip as a
package for all operating systems, I'm
<br>
wondering if anyone knows how ADMB-IDE could be properly
packaged for Linux and
<br>
Mac OS.
<br>
<br>
---
<br>
<br>
The setup procedure for ADMB-IDE in Linux and Mac OS is very
simple:
<br>
<br>
1. Require ADMB, Emacs, GCC, GDB.
<br>
<br>
2. Copy .emacs
(<a class="moz-txt-link-freetext" href="http://admb-project.org/community/editing-tools/admb-ide/core">http://admb-project.org/community/editing-tools/admb-ide/core</a>)
<br>
to the HOME directory.
<br>
<br>
3. Copy admb.el
(<a class="moz-txt-link-freetext" href="http://admb-project.org/community/editing-tools/emacs/admb.el">http://admb-project.org/community/editing-tools/emacs/admb.el</a>)
<br>
to some directory where Emacs can find it.
<br>
<br>
That's it, really. Things that users might appreciate include:
<br>
<br>
4. Copy the manuals
<br>
(<a class="moz-txt-link-freetext" href="http://admb-project.org/documentation/manuals/admb-user-manuals">http://admb-project.org/documentation/manuals/admb-user-manuals</a>)
and NEWS
<br>
(<a class="moz-txt-link-freetext" href="http://admb-project.googlecode.com/files/admb-ide-450-1.zip">http://admb-project.googlecode.com/files/admb-ide-450-1.zip</a>) to
some directory
<br>
where the user can find them.
<br>
<br>
5. Create desktop or menu shortcut to start ADMB-IDE using the
green ADMB icon
<br>
(<a class="moz-txt-link-freetext" href="http://admb-project.googlecode.com/files/admb-ide-450-1.zip">http://admb-project.googlecode.com/files/admb-ide-450-1.zip</a>).
Maybe also
<br>
shortcuts to the manuals.
<br>
<br>
6. Associate ADMB files (cor, ctl, dat, par, pin, psv, rep, std,
tpl) so that
<br>
they open in ADMB-IDE when double-clicked in a file manager.
<br>
<br>
---
<br>
<br>
These are all relatively simple tasks, but I think many Linux
and Mac OS users
<br>
would appreciate some automated way. Call it a package,
installer, script,
<br>
whatever. The crucial steps are 2 and 3, the rest are optional.
<br>
<br>
Any ideas?
<br>
<br>
Arni
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
<br>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>