Opened 9 years ago

Closed 9 years ago

#47949 closed defect (fixed)

gringo 4.4 does not compile: no usable C++ compiler found

Reported by: damien.pous@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gringo

Description

:info:build Checking for re2c... yes
:info:build Checking whether the C++ compiler works... no
:info:build error: no usable C++ compiler found
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_ma
cports_sources_rsync.macports.org_release_ports_math_gringo/gringo/work/gringo-4
.4.0-source" && scons --build-dir=release gringo clingo 
:info:build Exit code: 1

Failing build log is attached. I am running Mac OS 10.6.8. Macports installed gringo without any problem on a more recent machine, but I think I did not have to compile it locally.

Attachments (1)

main.log (3.2 KB) - added by damien.pous@… 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by damien.pous@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…

In the future, please Cc the port maintainers (port info --maintainers gringo), if any.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Comments in the portfile state that the port requires a compiler that supports C++11. The port should use the cxx11 1.0 portgroup to enforce this.

The port will need to be UsingTheRightCompiler for that enforcement to take effect. The port should also be using the right -arch flags and should get a universal variant if possible.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.