[ADMB Users] when translating tpl2cpp: command not found

Ian Taylor ian.taylor at noaa.gov
Fri Jun 8 12:17:52 PDT 2012


Hi Kevin,
I'm not very familiar with ADMB on the Mac. With my installation, the
tpl2cpp command doesn't work, but the admb command does (including
successfully calling tpl2cpp). Presumably a Mac user could help us
understand.

For the record, here's how I got ADMB-Mode to work on a Mac just now, with
a different installation process and I think a different version of Emacs.
This is my memory of my process (where steps 1-2 took place a while ago and
may not be remembered correctly)
1. install ADMB following instructions here:
http://www.admb-project.org/documentation/installation/admb-installation-macos-package-installer

2. install Aquamacs from  http://aquamacs.org/download.shtml
3. download core-aqua.zip (.emacs-aqua) from
http://www.admb-project.org/tools/admb-ide and copy the file inside to
~/.emacs
4. download the admb-ide-101-win32.zip and copy the emacs folder to ~/emacs
5. open ~/admb/simple/simple.tpl within Aquamacs and the "build" option in
the ADMB menu worked fine, but "translate" did not.

-Ian

On Fri, Jun 8, 2012 at 6:22 AM, Kevin Byron <kwbyron at gmail.com> wrote:

> I am trying to get emacs ADMB-Mode to work on my Mac (snow leopard). It
> took some work, but I got emacs to open in ADMB mode, but now when I
> translate the simple example, I get:
> /bin/bash: tpl2cpp: command not found
> ADMB works in terminal, and I can run the simple example. The issue only
> arises with Emacs. I have x-code, GCC, and GDP.  Although, GCC and GDP are
> older versions then what the manual links too. When I did the install of
> emacs, I ended up doing while in the downloads folder and then later moved
> it to my root directory... I'm wondering if this is the issue???
>
> Since admb worked in terminal, I have the .cpp and executable in the
> simple folder, so I tried to compile as well and got:
> /bin/bash: adcomp: command not found
>
> I can run the example though.
>
> HELP!!!  If I can get this to work, I only have to take one laptop to the
> conference next week. : )
> thank you!
> Kevin Byron
>
> Here is what I did to install Emacs:
> cd Downloads/emacs-23.4/
> ./configure
> *** We got an error suggesting to configure with options ***
> ./configure --with-ns --with-jpeg=no --with-png=no --with-gif=no
> --with-tiff=no
> make bootstrap
> make
> make install
> cp -r Emacs.app /Applications/Emacs.app
> mv core-aqua/.emacs ~/.emacs
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120608/96f14839/attachment.html>


More information about the Users mailing list