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

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

[Octave-bug-tracker] [bug #41574] Current build approach causes mkoctfil


From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41574] Current build approach causes mkoctfile to link to too many libraries on the Mac (patch supplied)
Date: Thu, 13 Feb 2014 00:07:23 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

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

                 Summary: Current build approach causes mkoctfile to link to
too many libraries on the Mac (patch supplied)
                 Project: GNU Octave
            Submitted by: mcgrant
            Submitted on: Thu 13 Feb 2014 12:07:22 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Michael C. Grant
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

Earlier I submitted a patch for bug #41236 that allowed the Mac to properly
link octave-gui to Qt when made available as a non-system framework.
Effectively, my patch required turning on the "---enable-link-all-deps"
whenever this scenario is encountered.

Unfortunately, this had the consequence that mkoctfile would link MEX/OCT
files to every Octave dependency. This makes distributing binary OCT/MEX files
difficult. On octave-maintainers, JWE agreed this should be fixed, so I have
sought a solution.

What I've done is create a new Automake variable AMCOND_LINK_GUI_DEPS that,
nominally, obtains the same value as AMCOND_LINK_ALL_DEPS. However, whenever
the above Qt scenario is encountered on a Mac, it is set to "true", even if
AMCOND_LINK_ALL_DEPS is "false". The downstream Makefiles related to the GUI
have been adjusted to include the GUI dependencies in the link list for
octave-gui if this scenario is encountered.

This is a much gentler solution to the previous problem, then. I've
successfully compiled on the Mac with this patch.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 13 Feb 2014 12:07:22 AM GMT  Name: macgui.diff  Size: 2kB   By:
mcgrant

<http://savannah.gnu.org/bugs/download.php?file_id=30530>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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