octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #33600] Erroneous installation of mkoctfile &


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #33600] Erroneous installation of mkoctfile & octave-config in octave-3.4.1
Date: Sun, 19 Jun 2011 15:34:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

URL:
  <http://savannah.gnu.org/bugs/?33600>

                 Summary: Erroneous installation of mkoctfile & octave-config
in octave-3.4.1
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sun 19 Jun 2011 05:34:08 PM CEST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: José Luis García Pallero
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

>From post in help-octave ML by José Luis García Pallero
(https://mailman.cae.wisc.edu/pipermail/help-octave/2011-June/046224.html)

<QUOTE>
...the new 3.4.1 installation puts in its bin/ folder
(/usr/local/bin in my installation) the scripts mkoctfile and
octave-config, but earlier versions as 3.4.0 puts the scripts
mkoctfile-3.4.0 and octave-config-3.4.0 and mkoctfile and
octave-config are symbolic links to it. octave-3.4.1 exists and octave is a
symbolic link to it. Is this new behavior a new issue or it is a bug? For me
causes troubles in some Octave Forge packages (as octcdf,
for example) that search mkoctfile-x.x.x scripts
</QUOTE>

In addition, octave-3.4.1's mkoctfile script itself gets confused as it refers
to a link or executable file in /usr/local/bin called mkoctfile-3.4.1.
Indeed:

address@hidden ~]$ octave-3.4.1
GNU Octave, version 3.4.1
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave-3.4.1:1> mkoctfile
sh: /usr/local/bin/mkoctfile-3.4.1: No such file or directory
warning: unable to find mkoctfile in expected location:
`/usr/local/bin/mkoctfile-3.4.1'
warning: mkoctfile exited with failure status
octave-3.4.1:2> 

octave-config no more has a version number appended to the file name. Might
this interfere with other (future) octave-versions installed in the same box?


For convenience I've copied directory listings of /usr/local/bin before and
after installation of a freshly built octave-3.4.1:

## Before building & installing octave-3.4.1
address@hidden ~]$ cd /usr/local/bin
address@hidden bin]$ ls -l
total 76
lrwxrwxrwx  1 root root    15 2011-02-12 21:24 mkoctfile -> mkoctfile-3.4.0*
-rwxr-xr-x  1 root root 13915 2010-12-12 21:31 mkoctfile-3.3.54+*
-rwxr-xr-x  1 root root 14703 2011-02-12 21:24 mkoctfile-3.4.0*
lrwxrwxrwx  1 root root    12 2011-02-12 21:21 octave -> octave-3.4.0*
-rwxr-xr-x  1 root root  8613 2010-12-12 21:28 octave-3.3.54+*
-rwxr-xr-x  1 root root  8493 2011-02-12 21:21 octave-3.4.0*
lrwxrwxrwx  1 root root    19 2011-02-12 21:24 octave-config ->
octave-config-3.4.0*
-rwxr-xr-x  1 root root  6421 2010-12-12 21:31 octave-config-3.3.54+*
-rwxr-xr-x  1 root root  6822 2011-02-12 21:24 octave-config-3.4.0*
drwxr-xr-x 15 root root  4096 2010-11-23 23:07 seamonkey/
address@hidden bin]$ 

   :
<downloading / building / installing 3.4.1>
   :

## After building & installing octave-3.4.1
address@hidden octave-3.4.1]$ ls -l /usr/local/bin
total 112
-rwxr-xr-x  1 root root 14708 2011-06-19 17:08 mkoctfile*
-rwxr-xr-x  1 root root 13915 2010-12-12 21:31 mkoctfile-3.3.54+*
-rwxr-xr-x  1 root root 14703 2011-02-12 21:24 mkoctfile-3.4.0*
lrwxrwxrwx  1 root root    12 2011-06-19 17:08 octave -> octave-3.4.1*
-rwxr-xr-x  1 root root  8613 2010-12-12 21:28 octave-3.3.54+*
-rwxr-xr-x  1 root root  8493 2011-02-12 21:21 octave-3.4.0*
-rwxr-xr-x  1 root root  8477 2011-06-19 17:08 octave-3.4.1*
-rwxr-xr-x  1 root root  6806 2011-06-19 17:08 octave-config*
-rwxr-xr-x  1 root root  6421 2010-12-12 21:31 octave-config-3.3.54+*
-rwxr-xr-x  1 root root  6822 2011-02-12 21:24 octave-config-3.4.0*
drwxr-xr-x 15 root root  4096 2010-11-23 23:07 seamonkey/
address@hidden octave-3.4.1]$ 





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33600>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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