Results 1 to 10 of 10

Thread: mkoctfile in octave

  1. #1
    Join Date
    Oct 2008
    Beans
    2

    mkoctfile in octave

    Hello,

    I have octave (version 3.0.0) in my computer and I'm trying to install several packages. But whenever I try to install a new package I get the same error realted with mkoctfile:

    octave:1> pkg install /home/julio/octcdf-1.0.7.tar.gz
    configure: WARNING: no mkoctfile found on path
    ./configure: line 2380: conftest.cc: command not found
    configure: error: Could not run
    error: the configure script returned the following error: checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for mkoctfile... no
    error: called from `pkg:configure_make' in file /usr/share/octave/3.0.0/m/pkg/pkg.m near line 1045, column 2


    I have checked that mkoctfile is in the octave path (/usr/share/octave/3.0.0/m/miscellaneus/mkoctfile.m) but I'm able to make it work. Maybe it's because I don't have administrator privileges Should I maybe change the place where is octave installed to another where I do have access?

    Thank you very much for any help

    juckou

  2. #2
    Join Date
    Oct 2008
    Beans
    2

    Re: mkoctfile in octave

    I already have it working. Just have to install octave3.0-headers as somebody said before

  3. #3
    Join Date
    Sep 2007
    Beans
    383
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: mkoctfile in octave

    Thanks, ur post is a life saver

  4. #4
    Join Date
    Feb 2009
    Beans
    53

    Re: mkoctfile in octave

    Helped me out too, thanks!

  5. #5
    Join Date
    Apr 2009
    Beans
    3

    Re: mkoctfile in octave

    thanks for the post, great help for me

  6. #6
    Join Date
    Jan 2008
    Location
    Germany
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: mkoctfile in octave

    Thanks. Helped me as well.

  7. #7
    Join Date
    Mar 2009
    Beans
    6

    Re: mkoctfile in octave

    Thanks. This continues to be helpful.

  8. #8
    Join Date
    Jun 2011
    Beans
    1

    Re: mkoctfile in octave

    Thank you man!

  9. #9
    Join Date
    Jan 2011
    Beans
    1

    Re: mkoctfile in octave

    Thank you! This helped! (Though for Ubuntu 11.10 it is actually octave3.2-headers.)

  10. #10
    Join Date
    Feb 2009
    Beans
    15

    Re: mkoctfile in octave

    Thanks!

    In my case, I'm in Natty, using the octave 3.6 package in this ppa repository:
    https://launchpad.net/~dr-graef/+archive/octave-3.6

    you could use PPA's for last distro, for example:
    https://launchpad.net/~picaso/+archive/octave

    and I install some packets, but not liboctave-dev, I was thinking, why? I'm not a developer.
    But seeing that, seems to be compiling the package of octave-forge. So I installed it and now it works!

    remember that with octave-3.6 you could install packages as:
    pkg install -forge audio
    where audio is a <package>

    take a look here
    http://octave.sourceforge.net/packages.php
    and copy&paste the title

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •