[MacPorts] #35434: octave-devel @3.4.3 build failure in Mac OSX 10.8

MacPorts noreply at macports.org
Mon Jul 30 10:33:18 PDT 2012


#35434: octave-devel @3.4.3 build failure in Mac OSX 10.8
-----------------------------+----------------------------------------------
 Reporter:  vic@…            |       Owner:  michaelld@…           
     Type:  defect           |      Status:  new                   
 Priority:  Normal           |   Milestone:                        
Component:  ports            |     Version:  2.1.2                 
 Keywords:  mountainlion     |        Port:  octave-devel          
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * keywords:  => mountainlion
  * owner:  macports-tickets@… => michaelld@…
  * port:  => octave-devel


Old description:

> All the prerequisites for octave-devel are compiled in my MacPorts
> system, but octave-devel will not compile. It fails in the build stage
> with the first error indication
> {{{
> :info:build display.cc:73:46: error: 'CGDisplayBitsPerPixel' was not
> declared in this scope
> :info:build make[3]: *** [liboctinterp_la-display.lo] Error 1
> }}}
>
> The suggested Xcode fixes
> {{{
> sudo port install octave-devel configure.compiler=llvm-gcc-4.2
> }}}
> and
> {{{
> sudo port install apple-gcc42
> sudo port install octave-devel configure.compiler=apple-gcc-4.2
> configure.cxx=g++-apple-4.2
> }}}
> do not help. They never make it past the configure stage.
>
> This is a Mac OSX 10.8 problem. I had no trouble building octave-devel
> @3.4.3 under OSX 10.7. However my McPorts system has been completely
> reinstalled under OSX 10.8. I now have 168 active ports. The only ports I
> have not been able to build are fltk-devel @1.3.x-r9327 and octave-devel
> @3.4.3.
>
> I am attaching the main log for my octave-devel build attempt.

New description:

 All the prerequisites for octave-devel are compiled in my MacPorts system,
 but octave-devel will not compile. It fails in the build stage with the
 first error indication
 {{{
 :info:build display.cc:73:46: error: 'CGDisplayBitsPerPixel' was not
 declared in this scope
 :info:build make[3]: *** [liboctinterp_la-display.lo] Error 1
 }}}

 The suggested Xcode fixes
 {{{
 sudo port install octave-devel configure.compiler=llvm-gcc-4.2
 }}}
 and
 {{{
 sudo port install apple-gcc42
 sudo port install octave-devel configure.compiler=apple-gcc-4.2
 configure.cxx=g++-apple-4.2
 }}}
 do not help. They never make it past the configure stage.

 This is a Mac OSX 10.8 problem. I had no trouble building octave-devel
 @3.4.3 under OSX 10.7. However my McPorts system has been completely
 reinstalled under OSX 10.8. I now have 168 active ports. The only ports I
 have not been able to build are fltk-devel @1.3.x-!r9327 and octave-devel
 @3.4.3.

 I am attaching the main log for my octave-devel build attempt.

--

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


More information about the macports-tickets mailing list