bugGNU Octave - Bugs: bug #36303, make: mkoctfile: Command not found

 
 

bug #36303: make: mkoctfile: Command not found

Submitted by:  None
Submitted on:  Wed 25 Apr 2012 02:36:06 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: InvalidAssigned to: None
Originator Name: Rob FrohneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Apr 2012 03:22:34 PM UTC, comment #2:

Hi Jordi,

It all looked in order to me.

frohro@frohro-d830:~/Araya Classes/Power Electronics$ which octave
/usr/local/bin/octave
frohro@frohro-d830:~/Araya Classes/Power Electronics$ which mkoctfile
/usr/local/bin/mkoctfile
frohro@frohro-d830:~/Araya Classes/Power Electronics$ echo $PATH
/usr/local/qtcreator-2.4.0/bin:/usr/local/Trolltech/Qt-4.8.0/bin:/home/frohro/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/msp430-gcc-4.4.3/bin:~/sat/bin:/usr/local/arm-elf/bin:/usr/local/m68k-elf/bin:/usr/local/sh-elf/bin
frohro@frohro-d830:~/Araya Classes/Power Electronics$

But based on your note and the fact that I noted that the octave from the repositories ran when I thought the one from /usr/local/bin, I removed the repository versions and deleted the path modifications from Qt added in my .bashrc and now things work.

So call this fixed!

Thanks so much!

Rob

Anonymous
Wed 25 Apr 2012 02:54:05 PM UTC, comment #1:

From bash, if you type

what is the result of each invocation? Do you have a mkoctfile executable in the same location where octave is? I would guess it's in /usr/local/bin, since that is where your Octave installation seems to be.

I'm not sure this is a bug, but I doubt it.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Wed 25 Apr 2012 02:36:06 PM UTC, original submission:

On ubuntu 12.04 with octave 3.6.1 installed from source, I tried to install the latest control package and get:

octave-3.6.1:4> pkg install -forge control
make: mkoctfile: Command not found
make: Entering directory `/tmp/oct-6c4Pb7/control/src'
make: mkoctfile: Command not found
make: mkoctfile: Command not found
/bin/sh: 1: mkoctfile: not found
make: *** [slicotlibrary.a] Error 127
'make' returned the following error: tar -xzf slicot.tar.gz
mv slicot/src/*.f .
mv slicot/src_aux/*.f .
cp TG04BX.fortran TG04BX.f
mkoctfile -c *.f
make: Leaving directory `/tmp/oct-6c4Pb7/control/src'
error: called from `pkg>configure_make' in file /usr/local/share/octave/3.6.1/m/pkg/pkg.m near line 1385, column 9
error: called from:
error: /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 827, column 5
error: /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
octave-3.6.1:4> pkg install -forge control
ar: creating slicotlibrary.a
warning: gen_doc_cache: unusable help text found in file 'control_slicot_functions'
For information about changes from previous versions of the control package, run 'news ("control")'.
octave-3.6.1:5>

Any suggestions?

Rob

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Apr 2012 03:26:20 PM UTCjordighStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1