[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32129] No way to choose correct mkoctfile she

From: Olaf Till
Subject: [Octave-bug-tracker] [bug #32129] No way to choose correct mkoctfile shell-script in package building
Date: Fri, 14 Jan 2011 12:34:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3)


                 Summary: No way to choose correct mkoctfile shell-script in
package building
                 Project: GNU Octave
            Submitted by: i7tiol
            Submitted on: Fri 14 Jan 2011 12:34:17 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Olaf Till
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



This applies to systems with 2 (or more) different Octave versions

While mkoctfile.m chooses the mkoctfile shell-script matching the Octave
version by calling 'fullfile (octave_config_info ("bindir"), sprintf
("mkoctfile-%s", OCTAVE_VERSION))', pkg does not use mkoctfile.m but relies on
Makefiles in packages. But there is no clean way to find out which mkoctfile
(shell-script) version to call in the packages Makefile.

I suggest that 'pkg install' exports the value of 'fullfile
(octave_config_info ("bindir"), sprintf ("mkoctfile-%s", OCTAVE_VERSION))' in
an environment variable (say 'mkoctfile') to enable calling the correct
mkoctfile version in the Makefile.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]