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

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

[Octave-bug-tracker] [bug #38337] Fail to build Octave Forge package due


From: anonymous
Subject: [Octave-bug-tracker] [bug #38337] Fail to build Octave Forge package due to builddir not found
Date: Fri, 15 Feb 2013 08:39:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

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

                 Summary: Fail to build Octave Forge package due to builddir
not found
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 15 Feb 2013 08:39:44 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Trying to build octave-optim using the latest (HG revision 16058) fails with
this error:

error: cannot find directory <builddir>

although it actually exists. This was remedied by changing

  [builddir, status] = canonicalize_file_name (builddir);
  if (! status)
    error ("cannot find directory %s", builddir);
  endif

to

  [builddir, status] = canonicalize_file_name (builddir);
  if (status ~= 0)
    error ("cannot find directory %s", builddir);
  endif

in /usr/share/octave/3.7.2+/m/pkg/private/build.m
At least on my system, status is zero if the file exists and -1 if it doesn't.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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