[MacPorts] #28198: LyX fails to build

MacPorts noreply at macports.org
Sat Jan 29 12:30:31 PST 2011


#28198: LyX fails to build
--------------------------------+-------------------------------------------
 Reporter:  carsomyr@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.2                                
 Keywords:  haspatch            |        Port:  LyX                                  
--------------------------------+-------------------------------------------
 I recently tried to build LyX and ended up with a failure recorded by the
 attached main.log file.  In short, the final linking step failed.  After
 digging around, I traced, the error to the recent ugprade of pkgconfig:

 {{{
 r75297

 pkgconfig: remove --enable-indirect-deps (#25345, maintainer timeout)
 }}}

 This in turn caused the configure script in LyX to not detect linkages
 that it previously did.  In the old version:

 {{{
 >> pkg-config  --libs-only-other QtGui

 -framework Carbon -framework AppKit
 }}}

 In the new version (pkgconfig no longer has "--enable-indirect-deps"):

 {{{
 >> pkg-config  --libs-only-other QtGui
 }}}

 Thankfully, adding a "--static" in there fixes the problem, which is what
 the attached patch.tgz does.

 Thanks for your time!

-- 
Ticket URL: <https://trac.macports.org/ticket/28198>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list