Rainer M. Krug wrote:
Helge Hafting wrote:
Rainer M. Krug wrote:
A frelated question:

I have octave and maxima installed, but even after a reconfigure of LyX 1.5.1, they are both disabled. Where can I enable them?
LyX must be able to find them - and I believe LyX uses the
PATH environment variable to do so.

Is octave and maxima installed in your PATH, so
that typing "octave" or "maxima" at a command
prompt actually starts the programs?

Yes, they are in the path.
Hm, this is strange.
Try starting LyX from that command line.
It is possible to have a misconfigured system so that the
window manager (and all programs it launches) have one PATH,
while command shells have a different PATH due to settings in
.bashrc or similiar.

If this has happened to you, then perhaps octave isn't in the
PATH that is effective when LyX is launched from the GUI.


If LyX can't run octave/maxima even when running from a command
line where octave/maxima runs fine, then look at the text lyx
output to that command line. LyX tend to print lots of stuff
when running from a command line, and I have seen "octave
not found" when the program was accidentally uninstalled.

Perhaps the error messages can provide some clues.


I attach the output from reconfiguring LyX from the commandline.
It does not seem to check for octave and maxima.
I think LyX checks for this when trying to run them.  All the computer
algebra sw packages is available in that menu, even those I don't have.
They are disabled only when the cursor isn't in a math region.

I compiled LyX from source - are octave and maxima enabled by default?
I think so, I never did anything specific to enable them. And you have
the menu entries...
Also, I installed them after I compiled LyX - are does LyX check for them at compile time?
I don't think so - I just reinstalled octave to run a test.

Helge Hafting

Reply via email to