[ADMB Users] RE : emacs configuration to use with ADMB
Mathieu.Desgagnes at dfo-mpo.gc.ca
Tue Jun 5 08:21:16 PDT 2012
I created a .gnomerc file with ADMB_HOME and PATH stuff in it and now emacs seems to works prefectly. Thanks!
(Although it do not like ~/... and prefer /home/myname/...)
-------- Message d'origine--------
De: Ian Taylor [mailto:ian.taylor at noaa.gov]
Date: lun. 04/06/2012 17:07
À: Desgagnés, Mathieu
Cc: users at admb-project.org
Objet : Re: [ADMB Users] emacs configuration to use with ADMB
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
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.
On Mon, Jun 4, 2012 at 1:52 PM, Desgagnés, Mathieu <
Mathieu.Desgagnes at dfo-mpo.gc.ca> wrote:
> I had no problem installing ADMB, (following instruction at
> and at http://www.admb-project.org/community/tutorials-and-e<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.
> Mathieu Desgagnés
> Ubuntu 12.04, emacs 23.3.1, admb 10.1, gcc 4.4
> Users mailing list
> Users at admb-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users