[ADMB Users] emacs configuration to use with ADMB
Ian Taylor
ian.taylor at noaa.gov
Mon Jun 4 14:07:37 PDT 2012
Hi Mathieu,
I'm glad at least some of the installation process went smoothly.
The PATH that Emacs is seeing seems to be different than what is being seen
by BASH.
In my case, I defined ADMB_HOME and appended the PATH in .gnomerc, which
seems to be run at login. If you put that stuff in .bashrc, I think it
doesn't get run by Emacs, only when opening a terminal. So, assuming you
define those things in .bashrc, try copying them into a new file
~/.gnomerc, or appending them to that file if it exists already. Then
logout and login and see Emacs find the tpl2cpp.
-Ian
On Mon, Jun 4, 2012 at 1:52 PM, Desgagnés, Mathieu <
Mathieu.Desgagnes at dfo-mpo.gc.ca> wrote:
> **
>
>
> Hi,
>
> I had no problem installing ADMB, (following instruction at
> http://www.admb-project.org/documentation/installation/admb-installation-linux,
> and at http://www.admb-project.org/community/tutorials-and-e<http://www.admb-project.org/community/tutorials-and-examples/using-admb-on-linux>
> *Mathieu*xamples/using-admb-on-linux<http://www.admb-project.org/community/tutorials-and-examples/using-admb-on-linux>)
> and it works perfectly with command line (BASH). Thanks!
>
>
> To use it with emacs, I installed Arni Magnusson 'admb.el' and modified
> .emacs file as mentioned.
>
> But when I try to run the 'simple.tpl' example, I obtain:
>
>
> tpl2cpp simple
> /bin/bash: tpl2cpp : commande introuvable
>
> Compilation exited abnormally with code 127 at ...
>
> (where 'commande introuvable' translates to 'command not found')
>
>
> As I said, I can compute 'simple.tpl' exemple using the BASH. What I
> should do is probably simple, but out of my current knowledge.
>
>
> Thanks,
>
> Mathieu Desgagnés
>
> Ubuntu 12.04, emacs 23.3.1, admb 10.1, gcc 4.4
>
> _______________________________________________
> 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/20120604/db2975b0/attachment.html>
More information about the Users
mailing list