Opened 5 weeks ago

Last modified 5 weeks ago

#55280 assigned defect

ceres-solver refuses to build under 10.8

Reported by: SchmollTroll Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: mountainlion Cc:
Port: ceres-solver

Description

Hi there,

I tried to install ceres-solver as a part of the dependencies for OpenMVS. I did a "port selfupdate", "port upgrade outdated", "port clean ceres-solver" and finaly "port install ceres-solver". Since I'm not very familiar with these log files I attached it here.

Many thanks for your work!

Attachments (1)

ceres-solver.log (393.2 KB) - added by SchmollTroll 5 weeks ago.
ceres-solver build log

Download all attachments as: .zip

Change History (2)

Changed 5 weeks ago by SchmollTroll

ceres-solver build log

comment:1 Changed 5 weeks ago by ryandesign (Ryan Schmidt)

  • Owner set to mamoll
  • Status changed from new to assigned

Probably because Mountain Lion and earlier default to libstdc++. We can try to fix this, but you will have far fewer problems compiling modern software in MacPorts if you upgrade to Mavericks or later, which default to libc++.

At minimum, I find this line in the portfile suspicious and wrong:

configure.ldflags-append -lc++
Note: See TracTickets for help on using tickets.