Opened 11 years ago

Last modified 10 years ago

#40806 closed defect

octave-devel: — at Initial Version

Reported by: skymoo (Adam Mercer) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc:
Port: octave-devel

Description

Looks like the #30737 also effects Mavericks as I'm getting the following:

:info:build libtool: compile:  /opt/local/bin/g++-mp-4.8 -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -pipe -Os -m64 -DHAVE_CONFIG_H -I/opt/local/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -Os -m64 -D_THREAD_SAFE -pthread -pipe -Os -m64 -c dynamic-ld.cc  -fno-common -DPIC -o .libs/liboctinterp_la-dynamic-ld.o
:info:build display.cc: In member function 'void display_info::init(bool)':
:info:build display.cc:75:46: error: 'CGDisplayBitsPerPixel' was not declared in this scope
:info:build            dp = CGDisplayBitsPerPixel (display);
:info:build                                               ^

Using the same fix as #30737, i.e.:

platform darwin 13 {
    # In 10.9 patch is required as above, also
    # the LANG environment variable needs to
    # be set to "C" otherwise /usr/bin/sed
    # fails with an error, if you installed gsed
    # with default name this should have no effect.

    patchfiles-append patch-src-display.cc.diff
    build.args-append LANG="C"
}

allows the build to get a little further but then it fails with:

Undefined symbols for architecture x86_64:
  "Magick::CoderInfo::CoderInfo(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      F__magick_format_list__(octave_value_list const&, int) in DLD_FUNCTIONS___magick_read___la-__magick_read__.o
ld: symbol(s) not found for architecture x86_64

Change History (1)

Changed 11 years ago by skymoo (Adam Mercer)

Attachment: main.log.bz2 added
Note: See TracTickets for help on using tickets.