[MacPorts] #40806: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope

MacPorts noreply at macports.org
Fri Nov 1 21:49:20 PDT 2013


#40806: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope
---------------------------+-------------------------
  Reporter:  ram@…         |      Owner:  michaelld@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:  mavericks
      Port:  octave-devel  |
---------------------------+-------------------------

Comment (by roberthuston@…):

 Replying to [comment:40 michaelld@…]:
 > Sorry; I needed to push my changed Portfile, which I just did in
 r112810.  At least for me on 10.9, octave-devel now works with
 [GraphicsMagick/octave-devel] compiled with clang/clang or gcc/gcc; I have
 not tried combining.  Meaning: putting configure.compiler=macports-gcc-4.8
 after the port command. The +gcc48 is for Fortran only now in octave-
 devel.  This change should be live by ~5:10 PM/US/ET, if not sooner.
 You'll need to do:
 > {{{
 > sudo port clean octave-devel
 > sudo port selfupdate
 > sudo port install octave-devel
 > }}}
 > or whatever your special sauce is, and hopefully octave-devel will work
 now on 10.9 (as well as continue to work on 10.8 or older).  I'm leaving
 this ticket open until either I hear confirmation or a week has passed
 without a peep.

 I still get failures in building octave-devel even after performing the
 above steps. I uninstalled (and cleaned) GraphicsMagick, and then all of
 my octave packages, and finally octave-revel itself. I then did a
 selfupdate, updated my outdated ports (there were a few) and then did a
 "sudo port install octave-devel +atlas +gcc48." I ended up rebuilding both
 GraphicsMagick and octave-devel with the "configure.compiler=macports-
 gcc4.8" option to get things to work again.

-- 
Ticket URL: <https://trac.macports.org/ticket/40806#comment:41>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list