Hi Mathieu,<div>I'm glad at least some of the installation process went smoothly.</div><div><br><div>The PATH that Emacs is seeing seems to be different than what is being seen by BASH.</div><div>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.</div>
<div>-Ian</div><div><div><br></div><div class="gmail_quote">On Mon, Jun 4, 2012 at 1:52 PM, Desgagnés, Mathieu <span dir="ltr"><<a href="mailto:Mathieu.Desgagnes@dfo-mpo.gc.ca" target="_blank">Mathieu.Desgagnes@dfo-mpo.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>






<div>

<br>
<br>

<p><font>Hi,<br>
<br>
I had no problem installing ADMB, (following instruction at <a href="http://www.admb-project.org/documentation/installation/admb-installation-linux" target="_blank">http://www.admb-project.org/documentation/installation/admb-installation-linux</a>, and at <a href="http://www.admb-project.org/community/tutorials-and-examples/using-admb-on-linux" target="_blank">http://www.admb-project.org/community/tutorials-and-e</a></font><font color="#0000ee"><u>Mathieu</u></font><a href="http://www.admb-project.org/community/tutorials-and-examples/using-admb-on-linux" target="_blank">xamples/using-admb-on-linux</a>) and it works perfectly with command line (BASH). Thanks!</p>
<p><font>
<br>
To use it with emacs, I installed Arni Magnusson 'admb.el' and modified .emacs file as mentioned.<br>
<br>
But when I try to run the 'simple.tpl' example, I obtain:<br>
<br>
<br>
tpl2cpp simple<br>
/bin/bash: tpl2cpp : commande introuvable<br>
<br>
Compilation exited abnormally with code 127 at ...<br>
<br>
(where 'commande introuvable' translates to 'command not found')<br>
<br>
<br>
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.<br>
<br>
<br>
Thanks,<br>
<br>
Mathieu Desgagnés<br>
<br>
Ubuntu 12.04, emacs 23.3.1, admb 10.1, gcc 4.4</font>
</p>

</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>