[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41574] Current build approach causes mkoctfil
Michael C. Grant
[Octave-bug-tracker] [bug #41574] Current build approach causes mkoctfile to link to too many libraries on the Mac (patch supplied)
Thu, 13 Feb 2014 00:07:23 +0000
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
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
Assigned to: None
Originator Name: Michael C. Grant
Discussion Lock: Any
Operating System: Mac OS
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.
Date: Thu 13 Feb 2014 12:07:22 AM GMT Name: macgui.diff Size: 2kB By:
Reply to this item at:
Message sent via/by Savannah
- [Octave-bug-tracker] [bug #41574] Current build approach causes mkoctfile to link to too many libraries on the Mac (patch supplied),
Michael C. Grant <=